diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/templates/index.html b/templates/index.html index a740ef7..f16c3f8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,27 +1,5 @@ -{% extends "base.html" %} {% block body %} -<h1>Archive</h1> +{% extends "base.html" %} -{% set notes_section = get_section(path="notes/_index.md") %} -<h2>{{notes_section.title}}</h2> -{{ notes_section.content | safe}} -<ul> - {% for page in notes_section.pages %} - <li><a href="{{ page.permalink | safe }}">... {{ page.title }}</a> ({{ page.date}})</li> - {% endfor %} -</ul> - -{% set photos_section = get_section(path="photos/_index.md") %} -<h2>{{photos_section.title}}</h2> -{{ photos_section.content | safe}} -<a href="{{ photos_section.permalink | safe }}">Check it out</a> - -<h2>Links</h2> -<ul> - <li><a href="https://git.boutalas.com">Repositories</a></li> - <li><a href="https://dump.boutalas.com">File dump</a></li> -</ul> -<footer> - <hr /> - <p class="center"><small>Feedback or patch? <a href="mailto:nikolas@boutalas.com">Don't send me an email</a></small></p> -</footer> +{% block body %} +{{ section.content | safe }} {% endblock body %} |