aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 00:52:04 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 00:52:04 +0300
commit909b73b33fc325b82dfbe20cff2ac45a53e4fdc8 (patch)
treef1cac2cca89fb34f10035ce39dc6c0df212625d5 /_layouts
parentadd main.css that imports all others (diff)
downloadjekyll-theme-909b73b33fc325b82dfbe20cff2ac45a53e4fdc8.tar.gz
jekyll-theme-909b73b33fc325b82dfbe20cff2ac45a53e4fdc8.zip
category.html should be an include, not a layout
This is similar to posts.html.
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/category.html14
-rw-r--r--_layouts/note.html6
2 files changed, 0 insertions, 20 deletions
diff --git a/_layouts/category.html b/_layouts/category.html
deleted file mode 100644
index 5be0ddc..0000000
--- a/_layouts/category.html
+++ /dev/null
@@ -1,14 +0,0 @@
----
-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 %}
- <ul>
- {% for post in site.categories[page.category] %}
- <li><a href="{{ post.url | relative_url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
- {% endfor %}
- </ul>
-{% endif %}
-<p>For a complete list of posts grouped by category, please see <a href="{{ '/all/' | relative_url }}">this page</a>.</p>
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 }}