forked from tildeverse/rfcs
28 lines
721 B
HTML
28 lines
721 B
HTML
{% extends "index.html" %}
|
|
|
|
{% block title %}
|
|
{% set title = section.title %}
|
|
{{ super() }}
|
|
{% endblock %}
|
|
|
|
{% block og %}
|
|
{% set title = section.title %}
|
|
{% set url = section.permalink %}
|
|
{% endblock og %}
|
|
|
|
{% block main %}
|
|
<h1>{{ section.title }}</h1>
|
|
{% if section.pages %}
|
|
{{ rfclist::from_pages(pages=section.pages) }}
|
|
{% else %}
|
|
<p>There is no content here at the moment.</p>
|
|
{% endif %}
|
|
{% if section.path == "rfcs/" %}
|
|
{% set drafts = get_section(path="drafts/_index.md") %}
|
|
{% if draft.pages %}
|
|
<h1>{{ drafts.title }}</h1>
|
|
{{ rfclist::from_pages(pages=drafts.pages) }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|