mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 15:25:04 -04:00
added setting for marking standard blog posts
This commit is contained in:
parent
aed317d92b
commit
55c5f8d4c1
@ -9,5 +9,5 @@
|
|||||||
{% if post.url %}{% assign index = true %}{% endif %}
|
{% if post.url %}{% assign index = true %}{% endif %}
|
||||||
{% capture permalink %}{{ root_url }}{% if index %}{{ post.url }}{% else %}{{ page.url }}{% endif %}{% endcapture %}
|
{% capture permalink %}{{ root_url }}{% if index %}{{ post.url }}{% else %}{{ page.url }}{% endif %}{% endcapture %}
|
||||||
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ permalink }}{% 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 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 %}
|
||||||
{% capture linklog_marker %}<span class='linklog-marker'>{{ site.linklog_marker }}</span>{% endcapture %}
|
{% capture linklog_marker %}<span class='linklog-marker'>{{ site.linklog_marker }}</span>{% endcapture %}
|
||||||
|
@ -18,7 +18,7 @@ layout: nil
|
|||||||
{% assign linklog = false %}
|
{% assign linklog = false %}
|
||||||
{% if post.external-url %}{% capture linklog %}{{ post.external-url }}{% endcapture %}{% endif %}
|
{% if post.external-url %}{% capture linklog %}{{ post.external-url }}{% endcapture %}{% endif %}
|
||||||
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ site.url }}{{ post.url }}{% endif %}{% endcapture %}
|
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ site.url }}{{ post.url }}{% endif %}{% endcapture %}
|
||||||
{% capture title %}{% if linklog and site.linklog_marker_position_feed == 'before' %}{{ site.linklog_marker }} {% endif %}{{ post.title }}{% if linklog and site.linklog_marker_position_feed == 'after' %} {{ site.linklog_marker }}{% endif %}{% endcapture %}
|
{% capture title %}{% if linklog and site.linklog_marker_position_feed == 'before' %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ site.linklog_marker }} {% endif %}{{ post.title }}{% if linklog and site.linklog_marker_position_feed == 'after' %} {{ site.linklog_marker }}{% endif %}{% endcapture %}
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[{{ title | cdata_escape }}]]></title>
|
<title type="html"><![CDATA[{{ title | cdata_escape }}]]></title>
|
||||||
<link href="{{ title_url }}"/>
|
<link href="{{ title_url }}"/>
|
||||||
|
@ -45,6 +45,7 @@ permalink_label_feed: "∞ Permalink"
|
|||||||
linklog_marker: "→"
|
linklog_marker: "→"
|
||||||
linklog_marker_position: after
|
linklog_marker_position: after
|
||||||
linklog_marker_position_feed: after
|
linklog_marker_position_feed: after
|
||||||
|
standard_post_marker:
|
||||||
|
|
||||||
titlecase: true # Converts page and post titles to tilecase
|
titlecase: true # Converts page and post titles to tilecase
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user