More Jekyll 3.3 updates

This commit is contained in:
Joel Marcey 2016-11-07 16:02:48 -08:00
parent 2bcaf8246b
commit c54cdc3784
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<div class="post">
<header class="post-header">
<h1 class="post-title">{% if include.truncate %}<a href="{{ absolute_url }}{{ page.url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
<h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
</header>
<article class="post-content">
@ -8,7 +8,7 @@
{% if page.content contains '<!--truncate-->' %}
{{ page.content | split:'<!--truncate-->' | first }}
<div class="read-more">
<a href="{{ absolute_url }}{{ page.url }}" >
<a href="{{ page.url | absolute_url }}" >
...Read More
</a>
</div>

View File

@ -6,11 +6,11 @@
<meta property="og:url" content="{{ page.url | replace:'index.html','' | absolute_url }}" />
<meta property="og:site_name" content="{{ site.title }}"/>
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
<meta property="og:image" content="{{ absolute_url }}/static/og_image.png" />
<meta property="og:image" content="{{ '/static/og_image.png' | absolute_url }}" />
<meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}" />
<link rel="stylesheet" href="{{ absolute_url }}/css/main.css" media="screen">
<link rel="icon" href="{{ absolute_url }}/static/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="{{ '/css/main.css' | absolute_url }}" media="screen">
<link rel="icon" href="{{ '/static/favicon.png' | absolute_url }}" type="image/x-icon">
{% if site.searchconfig %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" />
{% endif %}

View File

@ -9,7 +9,7 @@
{% if author.full_name %}
<p class="post-authorName">{{ author.full_name }}</p>
{% endif %}
<h1 class="post-title">{% if include.truncate %}<a href="{{ absolute_url }}{{ page.url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
<h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
<p class="post-meta">Posted {{ page.date | date: '%B %d, %Y' }}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
@ -18,7 +18,7 @@
{% if page.content contains '<!--truncate-->' %}
{{ page.content | split:'<!--truncate-->' | first | markdownify }}
<div class="read-more">
<a href="{{ absolute_url }}{{ page.url }}" >
<a href="{{ page.url | absolute_url }}" >
Read More
</a>
</div>

View File

@ -11,7 +11,7 @@ category: blog
{% assign author = site.data.authors[post.author] %}
<p>
<strong>
<a href="{{ relative_url }}{{ post.url }}">{{ post.title }}</a>
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
</strong>
on {{ post.date | date: "%B %e, %Y" }} by {{ author.display_name }}
</p>