2012-02-12 13:27:17 -05:00
|
|
|
{% assign linklog = false %}
|
|
|
|
{% assign index = false %}
|
|
|
|
|
|
|
|
{% if page.external-url %}
|
|
|
|
{% capture linklog %}{{ page.external-url }}{% endcapture %}
|
|
|
|
{% elsif post.external-url %}
|
|
|
|
{% capture linklog %}{{ post.external-url }}{% endcapture %}
|
|
|
|
{% endif %}
|
|
|
|
{% if post.url %}{% assign index = true %}{% endif %}
|
|
|
|
{% capture permalink %}{{ root_url }}{% if index %}{{ post.url }}{% else %}{{ page.url }}{% endif %}{% endcapture %}
|
|
|
|
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ permalink }}{% endif %}{% endcapture %}
|
2012-02-12 18:42:09 -05:00
|
|
|
{% capture article_title %}{% if index %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ post.title }}{% else %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ page.title }}{% endif %}{% endcapture %}
|
2012-02-12 13:27:17 -05:00
|
|
|
{% capture linklog_marker %}<span class='linklog-marker'>{{ site.linklog_marker }}</span>{% endcapture %}
|
2012-04-29 20:03:52 -04:00
|
|
|
{% capture content %}{% if index %}{% capture excerpted %}{{ post.content | has_excerpt }}{% endcapture %}{% if excerpted != 'false' %}{{ post.content | excerpt }}{% else %}{{ post.content }}{% endif %}{% else %}{{ content }}{% endif %}{% endcapture %}
|