Fix site url in a few more spots
This commit is contained in:
parent
484840a045
commit
ce92a791b3
3 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
title: Minimal Mistakes
|
title: Minimal Mistakes
|
||||||
tagline: Jekyll Theme
|
tagline: Jekyll Theme
|
||||||
description: A responsive Jekyll theme with editorial design tendencies.
|
description: A responsive Jekyll theme with editorial design tendencies.
|
||||||
url: http://mmistakes.github.io/minimal-mistakes
|
|
||||||
|
|
||||||
# Owner/author information goes here.
|
# Owner/author information goes here.
|
||||||
owner:
|
owner:
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
{% for post in site.categories.articles limit:3 %}
|
{% for post in site.categories.articles limit:3 %}
|
||||||
<article>
|
<article>
|
||||||
<h2><a href="{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
|
<h2><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
|
||||||
<p>{% if page.description %}{{ page.description }}{% else %}{{ page.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
<p>{% if page.description %}{{ page.description }}{% else %}{{ page.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if match %}
|
{% if match %}
|
||||||
<li><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
|
<li><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue