Skip to content

Commit f63b8fe

Browse files
committed
Add file extensions back to non-helper _includes
1 parent 8d046af commit f63b8fe

33 files changed

+46
-31
lines changed
File renamed without changes.
File renamed without changes.

_includes/analytics _includes/analytics.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
{% case site.analytics.provider %}
44
{% when "google" %}
5-
{% include /analytics-providers/google %}
5+
{% include /analytics-providers/google.html %}
66
{% when "google-universal" %}
7-
{% include /analytics-providers/google-universal %}
7+
{% include /analytics-providers/google-universal.html %}
88
{% when "custom" %}
9-
{% include /analytics-providers/custom %}
9+
{% include /analytics-providers/custom.html %}
1010
{% endcase %}
1111

1212
{% endif %}
File renamed without changes.
File renamed without changes.
File renamed without changes.

_includes/browser-upgrade

-1
This file was deleted.

_includes/browser-upgrade.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!--[if lt IE 9]>
2+
<div class="notice--danger center">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
3+
<![endif]-->
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_includes/head _includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<meta charset="utf-8">
22

3-
{% include seo %}
3+
{% include seo.html %}
44

55
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
66

File renamed without changes.

_includes/page__taxonomy.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% comment %}
2+
<!-- Sort page.tags alphabetically regardless of case e.g. a B c d E -->
3+
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
4+
{% endcomment %}
5+
6+
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
7+
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
8+
9+
Filed under: <span class="post__taxonomy-wrapper" itemprop="keywords">
10+
{% for hash in tag_hashes %}
11+
{% assign keyValue = hash | split: '#' %}
12+
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
13+
{% if forloop.last %} and{% endif %} <a href="{{ site.url }}{{ tag_word | slugify | prepend: '/tag/' | append: '/' }}" class="post__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}, {% endunless %}
14+
{% endfor %}
15+
</span>
File renamed without changes.

_includes/scripts _includes/scripts.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<script>window.jQuery || document.write('<script src="{{ base_path }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
33
<script src="{{ base_path }}/assets/js/main.min.js"></script>
44

5-
{% include analytics %}
6-
{% include comments %}
5+
{% include analytics.html %}
6+
{% include comments.html %}

_includes/seo _includes/seo.html

File renamed without changes.
File renamed without changes.

_layouts/default.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<!DOCTYPE html>
88
<html lang="{{ site.locale | slice: 0,2 }}">
99
<head>
10-
{% include head %}
10+
{% include head.html %}
1111
</head>
1212

1313
<body>
1414

15-
{% include browser-upgrade %}
16-
{% include navigation %}
15+
{% include browser-upgrade.html %}
16+
{% include masthead.html %}
1717

1818
{% if page.header.image %}
1919
<div class="page__hero">
@@ -31,12 +31,12 @@
3131
{% endif %}
3232

3333
{% if site.breadcrumbs %}
34-
{% include breadcrumbs %}
34+
{% include breadcrumbs.html %}
3535
{% endif %}
3636

3737
<div id="main" role="main">
3838
<div class="sidebar sticky">
39-
{% if page.author_profile %}{% include author-profile %}{% endif %}
39+
{% if page.author_profile %}{% include author-profile.html %}{% endif %}
4040
{% if page.sidebar %}
4141
{% for s in page.sidebar %}
4242
{% if s.image %}
@@ -59,11 +59,11 @@
5959

6060
<div class="footer-wrap">
6161
<footer>
62-
{% include footer %}
62+
{% include footer.html %}
6363
</footer>
6464
</div><!-- /.footer-wrap -->
6565

66-
{% include scripts %}
66+
{% include scripts.html %}
6767

6868
</body>
6969
</html>

_layouts/single.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ <h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove
1919
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label }}</a></div>{% endif %}
2020
</section>
2121

22-
<hr />
23-
24-
<footer role="contentinfo">
25-
{% if site.share and page.share %}{% include social-share %}{% endif %}
22+
<footer>
23+
{% if site.share and page.share %}{% include social-share.html %}{% endif %}
2624
{% if page.modified %}
2725
<p class="byline"><strong>{{ site.data.ui-text[site.locale].date_label }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
2826
{% elsif page.date %}

_pages/category-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
{% assign posts = group_items[forloop.index0] %}
1313
<h2 class="archive__subtitle">{{ category }}</h2>
1414
{% for post in posts %}
15-
{% include archive-list-single %}
15+
{% include archive-list-single.html %}
1616
{% endfor %}
1717
{% endfor %}

_pages/collection-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2 class="archive__subtitle">{{ label }}</h2>
1818
{% endunless %}
1919
{% for post in collection.docs %}
2020
{% unless collection.output == false or collection.label == 'posts' %}
21-
{% include archive-list-single %}
21+
{% include archive-list-single.html %}
2222
{% endunless %}
2323
{% endfor %}
2424
{% endfor %}

_pages/page-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
{% include base_path %}
99
{% for post in site.pages %}
10-
{% include archive-list-single %}
10+
{% include archive-list-single.html %}
1111
{% endfor %}

_pages/portfolio-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
{% assign posts = group_items[forloop.index0] %}
1212
<h2 class="archive__subtitle">{{ category }}</h2>
1313
{% for post in posts %}
14-
{% include archive-list-single %}
14+
{% include archive-list-single.html %}
1515
{% endfor %}
1616
{% endfor %}

_pages/recipes-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
{% assign posts = group_items[forloop.index0] %}
1313
<h2 class="archive__subtitle">{{ category }}</h2>
1414
{% for post in posts %}
15-
{% include archive-list-single %}
15+
{% include archive-list-single.html %}
1616
{% endfor %}
1717
{% endfor %}

_pages/sitemap.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ A list of all the posts and pages found on the site. For you robots out there is
1111

1212
<h2>Pages</h2>
1313
{% for post in site.pages %}
14-
{% include archive-list-single %}
14+
{% include archive-list-single.html %}
1515
{% endfor %}
1616

1717
<h2>Posts</h2>
1818
{% for post in site.posts %}
19-
{% include archive-list-single %}
19+
{% include archive-list-single.html %}
2020
{% endfor %}
2121

2222
{% capture written_label %}'None'{% endcapture %}
@@ -31,7 +31,7 @@ A list of all the posts and pages found on the site. For you robots out there is
3131
{% endunless %}
3232
{% for post in collection.docs %}
3333
{% unless collection.output == false or collection.label == 'posts' %}
34-
{% include archive-list-single %}
34+
{% include archive-list-single.html %}
3535
{% endunless %}
3636
{% endfor %}
3737
{% endfor %}

_pages/tag-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
{% assign posts = group_items[forloop.index0] %}
1313
<h2 class="archive__subtitle">{{ tag }}</h2>
1414
{% for post in posts %}
15-
{% include archive-list-single %}
15+
{% include archive-list-single.html %}
1616
{% endfor %}
1717
{% endfor %}

_pages/year-archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
<h2 class="archive__subtitle">{{ year }}</h2>
1414
{% capture written_year %}{{ year }}{% endcapture %}
1515
{% endif %}
16-
{% include archive-list-single %}
16+
{% include archive-list-single.html %}
1717
{% endfor %}

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
{% include base_path %}
1010

11-
<h3>Recent Posts</h3>
11+
<h3 class="archive__subtitle">Recent Posts</h3>
1212

1313
{% for post in paginator.posts %}
14-
{% include archive-list-single %}
14+
{% include archive-list-single.html %}
1515
{% endfor %}
1616

17-
{% include pagination %}
17+
{% include pagination.html %}

0 commit comments

Comments
 (0)