templating
This commit is contained in:
22
templates/bases/directory.html
Normal file
22
templates/bases/directory.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "bases/base.html" %}
|
||||
|
||||
{% block title %}/{{ directory }} - Alfie's basement{% endblock %}
|
||||
{% block description %}server backend survivor{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
<link rel="stylesheet" href="/static/css/directory.css">
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section id="directory">
|
||||
<h1>/{{ directory }}</h1>
|
||||
<ul>
|
||||
{% for page in pages %}
|
||||
<li><a href="/{{ directory }}{{ page.split('.')[0] }}">{{ page.split('.')[0] }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user