Added support and documentation for deploying to subdirectories (like

with gh-pages)
This commit is contained in:
Brandon Mathis
2011-07-16 09:29:09 -04:00
parent 4855ef5d2f
commit f81bdbc1a8
11 changed files with 42 additions and 16 deletions

View File

@ -1,7 +1,7 @@
{% unless page.no_header %}
<header>
{% if index %}
<h1 class="entry-title"><a href="{{ post.url }}">{{ post.title | titlecase }}</a></h1>
<h1 class="entry-title"><a href="{{ site.root }}{{ post.url }}">{{ post.title | titlecase }}</a></h1>
{% else %}
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
{% endif %}
@ -13,7 +13,7 @@
{% if index %}
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
<footer>
<a rel="full-article" href="{{ post.url }}">Read on &rarr;</a>
<a rel="full-article" href="{{ site.root }}{{ post.url }}">Read on &rarr;</a>
</footer>
{% else %}
<div class="entry-content">{{ content | smart_quotes }}</div>