summaryrefslogtreecommitdiff
path: root/project/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'project/templates/index.html')
-rw-r--r--project/templates/index.html14
1 files changed, 6 insertions, 8 deletions
diff --git a/project/templates/index.html b/project/templates/index.html
index 2e81d90..c0a1ed7 100644
--- a/project/templates/index.html
+++ b/project/templates/index.html
@@ -1,20 +1,19 @@
-{% extends "base.html" %}
+{%- extends "base.html" -%}
-{% block title %}Jedidiah Barber's Personal Site{% endblock %}
+{%- block title -%}Jedidiah Barber's Personal Site{%- endblock -%}
-{% block style %}
+{%- block style %}
<link href="/css/index.css" rel="stylesheet" />
-{% endblock %}
+{% endblock -%}
-{% block content %}
-
+{%- block content %}
<ul class="index">
{%- for item in articles -%}
{%- if item.updated -%}{%- set postclass = "update" -%}{%- else -%}{%- set postclass = "post" -%}{%- endif -%}
@@ -24,7 +23,6 @@
<span class="{{ postclass }}">({{ postverb }} {{ item.postdate }})</span></li>
{%- endfor %}
</ul>
-
-{% endblock %}
+{% endblock -%}