~xdavidwu/xdavidwu.link

f63b8fe294a85a0e82c2bc67d2fef35cf7f6124b — Michael Rose 9 years ago 8d046af
Add file extensions back to non-helper _includes
33 files changed, 46 insertions(+), 31 deletions(-)

R _includes/analytics-providers/{custom => custom.html}
R _includes/analytics-providers/{google-universal => google-universal.html}
R _includes/analytics-providers/{google => google.html}
R _includes/{analytics => analytics.html}
R _includes/{archive-list-single => archive-list-single.html}
R _includes/{author-profile => author-profile.html}
R _includes/{breadcrumbs => breadcrumbs.html}
D _includes/browser-upgrade
A _includes/browser-upgrade.html
R _includes/comments-providers/{custom => custom.html}
R _includes/comments-providers/{disqus => disqus.html}
R _includes/comments-providers/{facebook => facebook.html}
R _includes/comments-providers/{google-plus => google-plus.html}
R _includes/{comments => comments.html}
R _includes/{footer => footer.html}
R _includes/{head => head.html}
R _includes/{navigation => masthead.html}
A _includes/page__taxonomy.html
R _includes/{pagination => pagination.html}
R _includes/{scripts => scripts.html}
R _includes/{seo => seo.html}
R _includes/{social-share => social-share.html}
M _layouts/default.html
M _layouts/single.html
M _pages/category-archive.html
M _pages/collection-archive.html
M _pages/page-archive.html
M _pages/portfolio-archive.html
M _pages/recipes-archive.html
M _pages/sitemap.md
M _pages/tag-archive.html
M _pages/year-archive.html
M index.html
R _includes/analytics-providers/custom => _includes/analytics-providers/custom.html +0 -0
R _includes/analytics-providers/google-universal => _includes/analytics-providers/google-universal.html +0 -0
R _includes/analytics-providers/google => _includes/analytics-providers/google.html +0 -0
R _includes/analytics => _includes/analytics.html +3 -3
@@ 2,11 2,11 @@

{% case site.analytics.provider %}
{% when "google" %}
  {% include /analytics-providers/google %}
  {% include /analytics-providers/google.html %}
{% when "google-universal" %}
  {% include /analytics-providers/google-universal %}
  {% include /analytics-providers/google-universal.html %}
{% when "custom" %}
  {% include /analytics-providers/custom %}
  {% include /analytics-providers/custom.html %}
{% endcase %}

{% endif %}
\ No newline at end of file

R _includes/archive-list-single => _includes/archive-list-single.html +0 -0
R _includes/author-profile => _includes/author-profile.html +0 -0
R _includes/breadcrumbs => _includes/breadcrumbs.html +0 -0
D _includes/browser-upgrade => _includes/browser-upgrade +0 -1
@@ 1,1 0,0 @@
<!--[if lt IE 9]><div class="browser-upgrade alert alert-info">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div><![endif]-->
\ No newline at end of file

A _includes/browser-upgrade.html => _includes/browser-upgrade.html +3 -0
@@ 0,0 1,3 @@
<!--[if lt IE 9]>
<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>
<![endif]-->
\ No newline at end of file

R _includes/comments-providers/custom => _includes/comments-providers/custom.html +0 -0
R _includes/comments-providers/disqus => _includes/comments-providers/disqus.html +0 -0
R _includes/comments-providers/facebook => _includes/comments-providers/facebook.html +0 -0
R _includes/comments-providers/google-plus => _includes/comments-providers/google-plus.html +0 -0
R _includes/comments => _includes/comments.html +0 -0
R _includes/footer => _includes/footer.html +0 -0
R _includes/head => _includes/head.html +1 -1
@@ 1,6 1,6 @@
<meta charset="utf-8">

{% include seo %}
{% include seo.html %}

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


R _includes/navigation => _includes/masthead.html +0 -0
A _includes/page__taxonomy.html => _includes/page__taxonomy.html +15 -0
@@ 0,0 1,15 @@
{% comment %}
  <!-- Sort page.tags alphabetically regardless of case e.g. a B c d E -->
  <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
{% endcomment %}

{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}

Filed under: <span class="post__taxonomy-wrapper" itemprop="keywords">
{% for hash in tag_hashes %}
  {% assign keyValue = hash | split: '#' %}
  {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
    {% 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 %}
{% endfor %}
</span>
\ No newline at end of file

R _includes/pagination => _includes/pagination.html +0 -0
R _includes/scripts => _includes/scripts.html +2 -2
@@ 2,5 2,5 @@
<script>window.jQuery || document.write('<script src="{{ base_path }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="{{ base_path }}/assets/js/main.min.js"></script>

{% include analytics %}
{% include comments %}
{% include analytics.html %}
{% include comments.html %}

R _includes/seo => _includes/seo.html +0 -0
R _includes/social-share => _includes/social-share.html +0 -0
M _layouts/default.html => _layouts/default.html +7 -7
@@ 7,13 7,13 @@ layout: compress
<!DOCTYPE html>
<html lang="{{ site.locale | slice: 0,2 }}">
  <head>
  {% include head %}
  {% include head.html %}
  </head>

  <body>

  {% include browser-upgrade %}
  {% include navigation %}
  {% include browser-upgrade.html %}
  {% include masthead.html %}

  {% if page.header.image %}
    <div class="page__hero">


@@ 31,12 31,12 @@ layout: compress
  {% endif %}

  {% if site.breadcrumbs %}
    {% include breadcrumbs %}
    {% include breadcrumbs.html %}
  {% endif %}

  <div id="main" role="main">
    <div class="sidebar sticky">
      {% if page.author_profile %}{% include author-profile %}{% endif %}
      {% if page.author_profile %}{% include author-profile.html %}{% endif %}
      {% if page.sidebar %}
        {% for s in page.sidebar %}
          {% if s.image %}


@@ 59,11 59,11 @@ layout: compress

  <div class="footer-wrap">
    <footer>
      {% include footer %}
      {% include footer.html %}
    </footer>
  </div><!-- /.footer-wrap -->

  {% include scripts %}
  {% include scripts.html %}

  </body>
</html>

M _layouts/single.html => _layouts/single.html +2 -4
@@ 19,10 19,8 @@ layout: default
      {% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label }}</a></div>{% endif %}
    </section>

    <hr />

    <footer role="contentinfo">
      {% if site.share and page.share %}{% include social-share %}{% endif %}
    <footer>
      {% if site.share and page.share %}{% include social-share.html %}{% endif %}
      {% if page.modified %}
        <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>
      {% elsif page.date %}

M _pages/category-archive.html => _pages/category-archive.html +1 -1
@@ 12,6 12,6 @@ author_profile: false
  {% assign posts = group_items[forloop.index0] %}
  <h2 class="archive__subtitle">{{ category }}</h2>
  {% for post in posts %}
    {% include archive-list-single %}
    {% include archive-list-single.html %}
  {% endfor %}
{% endfor %}
\ No newline at end of file

M _pages/collection-archive.html => _pages/collection-archive.html +1 -1
@@ 18,7 18,7 @@ author_profile: false
  {% endunless %}
  {% for post in collection.docs %}
    {% unless collection.output == false or collection.label == 'posts' %}
      {% include archive-list-single %}
      {% include archive-list-single.html %}
    {% endunless %}
  {% endfor %}
{% endfor %}
\ No newline at end of file

M _pages/page-archive.html => _pages/page-archive.html +1 -1
@@ 7,5 7,5 @@ author_profile: false

{% include base_path %}
{% for post in site.pages %}
  {% include archive-list-single %}
  {% include archive-list-single.html %}
{% endfor %}
\ No newline at end of file

M _pages/portfolio-archive.html => _pages/portfolio-archive.html +1 -1
@@ 11,6 11,6 @@ permalink: /portfolio/
  {% assign posts = group_items[forloop.index0] %}
  <h2 class="archive__subtitle">{{ category }}</h2>
  {% for post in posts %}
    {% include archive-list-single %}
    {% include archive-list-single.html %}
  {% endfor %}
{% endfor %}
\ No newline at end of file

M _pages/recipes-archive.html => _pages/recipes-archive.html +1 -1
@@ 12,6 12,6 @@ author_profile: false
  {% assign posts = group_items[forloop.index0] %}
  <h2 class="archive__subtitle">{{ category }}</h2>
  {% for post in posts %}
    {% include archive-list-single %}
    {% include archive-list-single.html %}
  {% endfor %}
{% endfor %}
\ No newline at end of file

M _pages/sitemap.md => _pages/sitemap.md +3 -3
@@ 11,12 11,12 @@ A list of all the posts and pages found on the site. For you robots out there is

<h2>Pages</h2>
{% for post in site.pages %}
  {% include archive-list-single %}
  {% include archive-list-single.html %}
{% endfor %}

<h2>Posts</h2>
{% for post in site.posts %}
  {% include archive-list-single %}
  {% include archive-list-single.html %}
{% endfor %}

{% 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
{% endunless %}
{% for post in collection.docs %}
  {% unless collection.output == false or collection.label == 'posts' %}
  {% include archive-list-single %}
  {% include archive-list-single.html %}
  {% endunless %}
{% endfor %}
{% endfor %}
\ No newline at end of file

M _pages/tag-archive.html => _pages/tag-archive.html +1 -1
@@ 12,6 12,6 @@ author_profile: false
  {% assign posts = group_items[forloop.index0] %}
  <h2 class="archive__subtitle">{{ tag }}</h2>
  {% for post in posts %}
    {% include archive-list-single %}
    {% include archive-list-single.html %}
  {% endfor %}
{% endfor %}
\ No newline at end of file

M _pages/year-archive.html => _pages/year-archive.html +1 -1
@@ 13,5 13,5 @@ author_profile: false
    <h2 class="archive__subtitle">{{ year }}</h2>
    {% capture written_year %}{{ year }}{% endcapture %}
  {% endif %}
  {% include archive-list-single %}
  {% include archive-list-single.html %}
{% endfor %}
\ No newline at end of file

M index.html => index.html +3 -3
@@ 8,10 8,10 @@ header:

{% include base_path %}

<h3>Recent Posts</h3>
<h3 class="archive__subtitle">Recent Posts</h3>

{% for post in paginator.posts %}
  {% include archive-list-single %}
  {% include archive-list-single.html %}
{% endfor %}

{% include pagination %}
\ No newline at end of file
{% include pagination.html %}
\ No newline at end of file