Fix site url in a few more spots

This commit is contained in:
Michael Rose 2013-05-24 11:43:59 -04:00
parent 484840a045
commit ce92a791b3
3 changed files with 2 additions and 3 deletions

View file

@ -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:

View file

@ -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 %}

View file

@ -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>