a futile attempt to make the rendered html less gross

This commit is contained in:
Lynne Megido 2020-03-25 21:38:41 +10:00
parent 86200aac46
commit bd3e48df1d
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -1,4 +1,5 @@
<div id='hamburger'><div id='hb-icon'></div></div> <div id='hamburger'><div id='hb-icon'></div></div>
<header id='header'> <header id='header'>
<h1>Menu</h1> <h1>Menu</h1>
<span class='internal'> <span class='internal'>
@ -10,14 +11,14 @@
{%- for html_page in main_pages -%} {%- for html_page in main_pages -%}
{%- unless html_page.url == '/' -%} {%- unless html_page.url == '/' -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>{{ html_page.title }}</a> <a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>{{ html_page.title }}</a>
{%- endunless -%} {% endunless -%}
{%- endfor -%} {%- endfor -%}
<span class='more'> <span class='more'>
{%- comment -%} todo: maybe make this collapsible? {%- endcomment -%} {% comment -%} todo: maybe make this collapsible? {%- endcomment -%}
{%- for html_page in less_important -%} {%- for html_page in less_important -%}
<a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>{{ html_page.title }}</a> <a href='{{ html_page.url }}' {%- if page.title == html_page.title %} class='current'{% endif -%}>{{ html_page.title }}</a>
{%- endfor -%} {% endfor -%}
</span> </span>
</span> </span>