Hash :
c9db2d49
Author :
Thomas de Grivel
Date :
2024-10-13T11:56:12
defmodule LayoutView do
def template = EKC3.load("app/templates/layout.html.ekc3")
def template_footer = EKC3.load("app/templates/footer.html.ekc3")
def template_nav = EKC3.load("app/templates/nav.html.ekc3")
def footer = EKC3.render(template_footer)
def nav = EKC3.render(template_nav)
def render = fn (title, page) {
EKC3.render(template)
}
end