Add page full of text files
This commit is contained in:
@@ -38,4 +38,5 @@ BSc. Electrical Engineering from University of Calgary
|
||||
{% for article in articles_page.object_list if article.category.name == 'Writing' %}
|
||||
<a href={{ article.url }}>{{ article.title }}
|
||||
{% endfor %}
|
||||
<a href=x>[Text Files]
|
||||
{% endblock %}
|
||||
|
4
themes/lite/templates/page.html
Normal file
4
themes/lite/templates/page.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<pre>
|
||||
{{ page.content }}
|
||||
</pre>
|
||||
|
15
themes/lite/templates/text-files.html
Normal file
15
themes/lite/templates/text-files.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
{% block meta %}
|
||||
{% endblock %}
|
||||
|
||||
{% block style %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Text Files</h1>
|
||||
Here are some various text notes that I share with the public.
|
||||
<hr />
|
||||
{% for f in list_text_files() %}
|
||||
<a href="../text/{{ f }}">{{ f }}</a>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user