forked from tildeverse/rfcs
southerntofu
0d5b5cd42f
Rewrote as a Zola static site Do not commit session files, dammit! Add anchor links Fix anchor links Reintroduce og: tags and some of ben's style Import fork-awesome locally, make navbar without javascript ben's patch (internal links) Homepage is a dedicated Markdown file, and titles are fixed Code highlighting in markdown is enabledx Clarify submission process for RFCs restore placeholder for RFC drafts more relative urls page.html does not fail when some variables are missing Enable RSS! (only content with a date set appears in RSS feeds) Add RSS link in HTML, fix quotes Add drafts Number of RFC entries can be limited in macro, introduced latest rfcs/drafts on homepage bootstrap grid for latest content on homepage latest entries is only on homepage Drafts are not listed on homepage, empty drafts section is not rendered elsewhere RFCs now have a table of contents (ToC) base_url for personal site
9 lines
249 B
HTML
9 lines
249 B
HTML
{% macro new(headings) %}
|
|
<ol>
|
|
{%- for h in headings -%}
|
|
<li><a href="{{ h.permalink }}">{{ h.title }}</a></li>
|
|
{% if h.children %}{{ rfctoc::new(headings=h.children) }}{% endif %}
|
|
{%- endfor -%}
|
|
</ol>
|
|
{% endmacro %}
|