{% block content %} diff --git a/templates/blog.html.tera b/templates/blog.html.tera new file mode 100644 index 0000000..20ec08e --- /dev/null +++ b/templates/blog.html.tera @@ -0,0 +1,22 @@ +{% extends "base" %} + +{% block nav_blog %}active{% endblock %} + +{% block content %} + +{% for blogpost in blogposts %} +{% include "blogpost-panel" %} +{% endfor %} + +{% endblock content %} + +{% block aside %} + + + +{% endblock aside %} diff --git a/templates/blogpost-panel.html.tera b/templates/blogpost-panel.html.tera new file mode 100644 index 0000000..b722035 --- /dev/null +++ b/templates/blogpost-panel.html.tera @@ -0,0 +1,8 @@ +
+

{{ blogpost.subject }}

+

{{ blogpost.created_at }}permalink

+
{% for tag in blogpost.tags %}{{ tag }}{% endfor %}
+
+ {{ blogpost.render }} +
+
diff --git a/templates/blogpost.html.tera b/templates/blogpost.html.tera new file mode 100644 index 0000000..b73a24b --- /dev/null +++ b/templates/blogpost.html.tera @@ -0,0 +1,7 @@ +{% extends "base" %} + +{% block content %} + +{% include "blogpost-panel" %} + +{% endblock content %} diff --git a/templates/filtertags.html.tera b/templates/filtertags.html.tera new file mode 100644 index 0000000..da001e8 --- /dev/null +++ b/templates/filtertags.html.tera @@ -0,0 +1,7 @@ +
+

filter tag

+
+ {% for tag in tags %}{{ tag }}{% endfor %} +
+
+
-- cgit