Hash :
2744066b
Author :
Thomas de Grivel
Date :
2024-10-15T21:32:56
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 template_nav2 = EKC3.load("app/templates/fx/nav2.html.ekc3")
def footer = EKC3.render(template_footer)
def render = fn (title, page, url) {
nav = EKC3.render(template_nav)
EKC3.render(template)
}
def render_nav2 = fn () {
EKC3.render(template_nav2)
}
end