diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-07 21:17:34 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-07 21:17:34 +0100 |
commit | 4dfbb7bffbb996f69db09c7590654b04e5844c7f (patch) | |
tree | 9d6f170584f6563cd618a7001f091e74e38109dc | |
parent | mathjax: replace with "Recurring decimals" from /blog/ (diff) | |
download | jekyll-theme-4dfbb7bffbb996f69db09c7590654b04e5844c7f.tar.gz jekyll-theme-4dfbb7bffbb996f69db09c7590654b04e5844c7f.zip |
rename an include
Diffstat (limited to '')
-rw-r--r-- | _includes/jekyll-theme/categories/all.html | 4 | ||||
-rw-r--r-- | _includes/jekyll-theme/categories/category.html | 2 | ||||
-rw-r--r-- | _includes/jekyll-theme/posts/feed-entry.html (renamed from _includes/jekyll-theme/posts/header.html) | 0 | ||||
-rw-r--r-- | _includes/jekyll-theme/posts/feed.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/_includes/jekyll-theme/categories/all.html b/_includes/jekyll-theme/categories/all.html index c8d4720..9e67e3b 100644 --- a/_includes/jekyll-theme/categories/all.html +++ b/_includes/jekyll-theme/categories/all.html @@ -6,14 +6,14 @@ {% assign category_name = category[0] %} <h2>{% include jekyll-theme/categories/label.html link=true category=category_name monospace=true %}</h2> {% for post in category[1] %} - {% include jekyll-theme/posts/header.html url=post.url title=post.title date=post.date %} + {% include jekyll-theme/posts/feed-entry.html url=post.url title=post.title date=post.date %} {% endfor %} {% endfor %} {% assign uncategorized = site.posts | where_exp: "post","post.categories.size == 0" %} {% if uncategorized.size != 0 %} <h2>{% include jekyll-theme/categories/label.html category="Other" monospace=true %}</h2> {% for post in uncategorized %} - {% include jekyll-theme/posts/header.html url=post.url title=post.title date=post.date %} + {% include jekyll-theme/posts/feed-entry.html url=post.url title=post.title date=post.date %} {% endfor %} {% endif %} {% endif %} diff --git a/_includes/jekyll-theme/categories/category.html b/_includes/jekyll-theme/categories/category.html index e14a981..a9b6f28 100644 --- a/_includes/jekyll-theme/categories/category.html +++ b/_includes/jekyll-theme/categories/category.html @@ -1,7 +1,7 @@ <h1>{% include jekyll-theme/categories/label.html category=include.category monospace=true %}</h1> {% if site.categories[include.category].size > 0 %} {% for post in site.categories[include.category] %} - {% include jekyll-theme/posts/header.html url=post.url title=post.title date=post.date %} + {% include jekyll-theme/posts/feed-entry.html url=post.url title=post.title date=post.date %} {% endfor %} {% endif %} {% if include.archive_link %} diff --git a/_includes/jekyll-theme/posts/header.html b/_includes/jekyll-theme/posts/feed-entry.html index 4d648e7..4d648e7 100644 --- a/_includes/jekyll-theme/posts/header.html +++ b/_includes/jekyll-theme/posts/feed-entry.html diff --git a/_includes/jekyll-theme/posts/feed.html b/_includes/jekyll-theme/posts/feed.html index 5d45cd3..b1a54c8 100644 --- a/_includes/jekyll-theme/posts/feed.html +++ b/_includes/jekyll-theme/posts/feed.html @@ -2,7 +2,7 @@ <p class="h3">Sorry, no posts have been added yet.</p> {% else %} {% for post in paginator.posts %} - {% include jekyll-theme/posts/header.html url=post.url date=post.date title=post.title category=post.category %} + {% include jekyll-theme/posts/feed-entry.html url=post.url date=post.date title=post.title category=post.category %} {% endfor %} {% include jekyll-theme/posts/paginator.html %} {% endif %} |