custom: Allow override of home page

This commit is contained in:
Tom Wiesing 2023-01-08 13:53:53 +01:00
parent 729b9cfb51
commit cf59bd7db7
No known key found for this signature in database
4 changed files with 45 additions and 20 deletions

View file

@ -21,8 +21,10 @@
</main>
<footer>
{{ block "footer" .BaseContext }}
<!-- no footer -->
{{ block "@custom/footer" .BaseContext }}
<div style="z-index:10000;position:fixed;top:0;left:0;width:100vh;height:100vw;background:red;text-align:center;padding:10vh 10vw;font-size:xx-large;font-weight:bold">
<code>.Custom.Template()</code> not called
</div>
{{ end }}
</footer>