Created
May 29, 2013 18:38
-
-
Save sivy/5672663 to your computer and use it in GitHub Desktop.
A snippet showing how to use the `link:` meta tag in Markbox templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if post.meta.link %}<h4 class="postTitle"><a href="{{ post.meta.link }}"><i class="icon-share"></i></a> <a href="{{ post.meta.link }}">{{ post.title }}</a></h3>{% else %} | |
<h3 class="postTitle"><a href="{{ site.blog_url }}{{ post.permalink }}">{{ post.title }}</a></h4> | |
<div class="date">{{ post.published.strftime('%Y-%m-%d %H:%M') }}</div> | |
{% endif %} | |
{% if not post.meta.link %}<div> | |
{{ post.content }} | |
</div>{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment