backend: use % for control flow and directives, <%= %> for interpolation
This commit is contained in:
parent
4f5ce1100c
commit
aaf12cb7c2
4 changed files with 11 additions and 7 deletions
|
@ -21,12 +21,16 @@
|
|||
% if (defined title) {
|
||||
<h1><%= title %></h1>
|
||||
% }
|
||||
<div class="flex-i-fullsize"><%= content %></div>
|
||||
<%= include '_pager' %>
|
||||
<div class="flex-i-fullsize">
|
||||
%= content
|
||||
</div>
|
||||
%= include "_pager"
|
||||
</div>
|
||||
</main>
|
||||
<footer class="border-top">
|
||||
<p class="viewport text-center text-small">Powered by <a href="https://www.openbsd.org">OpenBSD</a> and <a href="https://www.perl.org/">Perl</a>.</p>
|
||||
<p class="viewport text-center text-small">
|
||||
Powered by <%= link_to OpenBSD => "https://www.openbsd.org" %> and <%= link_to Perl => "https://www.perl.org/" %>.
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Reference in a new issue