diff --git a/_includes/absolute-url.liquid b/_includes/absolute-url.liquid new file mode 100644 index 00000000..7809e996 --- /dev/null +++ b/_includes/absolute-url.liquid @@ -0,0 +1 @@ +{% capture absurl %}{{ site.url }}{{ site.baseurl }}{% endcapture %} \ No newline at end of file diff --git a/_includes/author-bio.html b/_includes/author-bio.html index 36b0a175..aa7f759b 100644 --- a/_includes/author-bio.html +++ b/_includes/author-bio.html @@ -7,7 +7,7 @@ {% if author.avatar contains 'http' %} {{ author.name }} bio photo {% else %} - {{ author.name }} bio photo + {{ author.name }} bio photo {% endif %}

{{ author.name }}

diff --git a/_layouts/default.html b/_layouts/default.html index c063e621..b5757f80 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,47 +1,45 @@ -{% capture absurl %}{{ site.url }}{{ site.baseurl }}{% endcapture %} +{% include absolute-url.liquid %} + + {% include head.html %} + - -{% include head.html %} - + - + {% include browser-upgrade.html %} + {% include navigation.html %} -{% include browser-upgrade.html %} - -{% include navigation.html %} - -{% if page.image.feature %} -
- + {{ page.title }} + {% if page.image.credit %} + Photo Credit: {{ page.image.credit }} {% endif %} - alt="{{ page.title }} feature image"> - {% if page.image.credit %} - Photo Credit: {{ page.image.credit }} +
{% endif %} - -{% endif %} -
-
- {% include author-bio.html %} -
- {{ content }} -
+
+
+ {% include author-bio.html %} +
+ {{ content }} +
- + -{% include scripts.html %} + {% include scripts.html %} - + diff --git a/_layouts/home.html b/_layouts/home.html index 89dabf54..6b12e7d7 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,6 +2,8 @@ layout: default --- +{% include absolute-url.liquid %} +

Recent Posts

{% for post in site.posts limit:5 %} diff --git a/_layouts/page.html b/_layouts/page.html index 773c94fb..d71ebe4d 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,6 +2,8 @@ layout: default --- +{% include absolute-url.liquid %} +

{{ page.title }}

diff --git a/_layouts/post-index.html b/_layouts/post-index.html index 5e0a1721..66c55b05 100644 --- a/_layouts/post-index.html +++ b/_layouts/post-index.html @@ -2,6 +2,8 @@ layout: default --- +{% include absolute-url.liquid %} +

{{ page.title }}

{% capture written_year %}'None'{% endcapture %} @@ -16,7 +18,7 @@ layout: default

{{ post.title }}

{% else %}

{{ post.title }}

-

{{ post.excerpt | strip_html | truncate: 160 }}

+

{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}

{% endif %}
{% endfor %} diff --git a/_layouts/post.html b/_layouts/post.html index 7c95e891..788ae685 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,6 +2,8 @@ layout: default --- +{% include absolute-url.liquid %} +
{% if page.link %}