Remove extensions from _includes to simplify naming
This commit is contained in:
_includes
absolute-url.liquidarchive-list-singlearchive-list-single.htmlauthor-profilebase_pathbreadcrumbsbrowser-upgradedisqus-commentsfeed-footer.htmlfootergallerygroup-by-arrayheadhead.htmlnavigationnavigation.htmlscriptsseosocial-sharesocial-share.htmltoctoc.html
_layouts
_pages
category-archive.htmlcollection-archive.htmlhome.mdpage-archive.htmlportfolio-archive.htmlrecipes-archive.htmlsitemap.mdtag-archive.htmltheme-setup.mdyear-archive.html
_posts
@ -5,7 +5,7 @@ title: "Posts by Year"
|
||||
author_profile: false
|
||||
---
|
||||
|
||||
{% include absolute-url.liquid %}
|
||||
{% include base_path %}
|
||||
{% capture written_year %}'None'{% endcapture %}
|
||||
{% for post in site.posts %}
|
||||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||
@ -13,5 +13,5 @@ author_profile: false
|
||||
<h3>{{ year }}</h3>
|
||||
{% capture written_year %}{{ year }}{% endcapture %}
|
||||
{% endif %}
|
||||
{% include archive-list-single.html %}
|
||||
{% include archive-list-single %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user