summaryrefslogtreecommitdiff
path: root/_site_build/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_site_build/_layouts')
-rw-r--r--_site_build/_layouts/category_index.html10
-rw-r--r--_site_build/_layouts/post.html3
2 files changed, 13 insertions, 0 deletions
diff --git a/_site_build/_layouts/category_index.html b/_site_build/_layouts/category_index.html
new file mode 100644
index 0000000..729ff2e
--- /dev/null
+++ b/_site_build/_layouts/category_index.html
@@ -0,0 +1,10 @@
+---
+layout: default
+robots: follow, noindex, noodp, noydir, noarchive
+---
+<section id="category">
+ <h1>{{ page.title }}</h1>
+ {% for post in site.categories[page.category] %}
+ {% include post_excerpt.html %}
+ {% endfor %}
+</section>
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html
index e45ca24..61f0d09 100644
--- a/_site_build/_layouts/post.html
+++ b/_site_build/_layouts/post.html
@@ -5,6 +5,9 @@ layout: default
<header>
<h1>{{ page.title }}</h1>
<time datetime="{{ page.date | date: '%Y-%m-%d' }}" pubdate>{{ page.date | date: '%A' }} {{ page.date | ordinalize }} {{ page.date | date: '%B, %Y' }}</time>
+ {% if page.categories.size != 0 %}
+ <div class="categories">Posted in {{ page.categories | category_links }}</div>
+ {% endif %}
</header>
{{ content }}
<footer>