mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-01 15:55:03 -04:00
17 lines
1.1 KiB
HTML
17 lines
1.1 KiB
HTML
|
{% 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 %}{% if index %}{{ root_url }}{{ post.url }}{% else %}{{ root_url }}{{ page.url }}{% endif %}{% endcapture %}
|
||
|
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ permalink }}{% endif %}{% endcapture %}
|
||
|
{% capture article_title %}{% if index %}{{ post.title }}{% else %}{{ page.title }}{% endif %}{% endcapture %}
|
||
|
{% capture linklog_marker %}<span class='linklog-marker'>{{ site.linklog_marker }}</span>{% endcapture %}
|
||
|
|
||
|
<h1 class="entry-titile">
|
||
|
{% if linklog and site.linklog_marker and site.linklog_marker_position == 'before' %}{{ linklog_marker }}{% endif %}
|
||
|
{% if index or linklog %}<a href="{{ title_url }}">{% endif %}{% if site.titlecase %}{{ article_title | titlecase }}{% else %}{{ article_title }}{% endif %}{% if index or linklog %}</a>{% endif %}
|
||
|
{% if linklog and site.linklog_marker and site.linklog_marker_position == 'after' %}{{ linklog_marker }}{% endif %}
|
||
|
</h1>
|