diff -r 751216807683 -r 118ab361da29 example/tmpl/page.template --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/tmpl/page.template Tue Jan 16 17:13:40 2018 +0000 @@ -0,0 +1,56 @@ + + + + + + + + + + + lgen test page – <%= page.meta.title %> + + + <% + --require('plugin.breadcrumb') + local main_url = (base_url=="" and "./" or base_url) + %> + +
+ + +
+ + + + +
+ <% if page.meta.blogpost then %> +
+ <%= page.meta.created_at %> + +
+ <% end %> + + <% if page.meta.h1_title then %> +

<%= page.meta.h1_title %>

+ <% else %> +

<%= page.meta.title %>

+ <% end %> + <%= content %> +
+ + + +