aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_includes/categories/category.html (renamed from _layouts/category.html)11
-rw-r--r--_layouts/note.html6
2 files changed, 3 insertions, 14 deletions
diff --git a/_layouts/category.html b/_includes/categories/category.html
index 5be0ddc..78d5aa0 100644
--- a/_layouts/category.html
+++ b/_includes/categories/category.html
@@ -1,12 +1,7 @@
----
-layout: default
----
-<h1>{{ page.title }}</h1>
-<hr/>
-<p>This is a list of posts in category "{{ page.category }}".</p>
-{% if site.categories[page.category].size > 0 %}
+<p>This is a list of posts in category "{{ include.category }}".</p>
+{% if site.categories[include.category].size > 0 %}
<ul>
- {% for post in site.categories[page.category] %}
+ {% for post in site.categories[include.category] %}
<li><a href="{{ post.url | relative_url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
{% endfor %}
</ul>
diff --git a/_layouts/note.html b/_layouts/note.html
deleted file mode 100644
index 090100f..0000000
--- a/_layouts/note.html
+++ /dev/null
@@ -1,6 +0,0 @@
----
-layout: default
----
-<h1>{{ page.title }}</h1>
-<hr/>
-{{ content }}