~xdavidwu/xdavidwu.link

d7df394a5e84eb79abd126f3af6171a6ec93b788 — Michael Rose 8 years ago a473d94
Make base_path available to all includes that need it
M _includes/archive-single.html => _includes/archive-single.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

{% if post.header.teaser %}
  {% capture teaser %}{{ post.header.teaser }}{% endcapture %}
{% else %}

M _includes/author-profile.html => _includes/author-profile.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

{% if page.author %}
  {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
{% endif %}

M _includes/category-list.html => _includes/category-list.html +2 -0
@@ 1,5 1,7 @@
{% include base_path %}

{% include base_path %}

{% case site.categories.type %}
  {% when "liquid" %}
    {% assign path_type = "#" %}

M _includes/comments.html => _includes/comments.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

<div class="page__comments">
  <h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label }}</h4>
  {% case site.comments.provider %}

M _includes/head.html => _includes/head.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

<meta charset="utf-8">

{% include seo.html %}

M _includes/masthead.html => _includes/masthead.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

<div class="masthead">
  <div class="masthead__inner-wrap">
    <div class="masthead__menu">

M _includes/page__hero.html => _includes/page__hero.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

{% if page.header.image contains "http" %}
  {% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %}

M _includes/page__taxonomy.html => _includes/page__taxonomy.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

{% if site.tags.type and page.tags[0] %}
  {% include tag-list.html %}
{% endif %}

M _includes/post_pagination.html => _includes/post_pagination.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

{% if page.previous or page.next %}
  <nav class="pagination">
    {% if page.previous %}

M _includes/seo.html => _includes/seo.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

<!-- begin SEO -->
{% if site.url %}
  {% assign seo_url = site.url | append: site.baseurl %}

M _includes/sidebar.html => _includes/sidebar.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

{% if page.author_profile or page.sidebar %}
  <div class="sidebar sticky">
  {% if page.author_profile %}{% include author-profile.html %}{% endif %}

M _includes/social-share.html => _includes/social-share.html +2 -0
@@ 1,3 1,5 @@
{% include base_path %}

<section class="page__share">
  {% if site.data.ui-text[site.locale].share_on_label %}
    <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label }}</h4>