Merge pull request #43 from maxheld83/link-post

Link posts / Linklog (john gruber style, similar to hpstr)
This commit is contained in:
Michael Rose
2014-03-26 16:01:57 -04:00
3 changed files with 27 additions and 3 deletions

View File

@@ -36,7 +36,11 @@
</div>
<article>
<div class="headline-wrap">
<h1>{{ page.title }}</h1>
{% if page.link %}
<h1><a href="{{ page.link }}">{{ page.title }}</a></h1>
{% else %}
<h1><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h1>
{% endif %}
</div><!--/ .headline-wrap -->
<div class="article-wrap">
{{ content }}