Branch
Hash :
4d2883c6
Author :
Thomas de Grivel
Date :
2024-10-27T14:25:53
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 (slug, title, page, url) {
nav = EKC3.render(template_nav)
EKC3.render(template)
}
def render_nav2 = fn () {
EKC3.render(template_nav2)
}
end