diff --git a/.themes/classic/source/_includes/post/variables.html b/.themes/classic/source/_includes/post/variables.html index 6c1c868..b02e4ec 100644 --- a/.themes/classic/source/_includes/post/variables.html +++ b/.themes/classic/source/_includes/post/variables.html @@ -9,5 +9,5 @@ {% 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 %} -{% 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 %}{{ site.linklog_marker }}{% endcapture %} diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml index 4629c89..06f4ec9 100644 --- a/.themes/classic/source/atom.xml +++ b/.themes/classic/source/atom.xml @@ -18,7 +18,7 @@ layout: nil {% assign linklog = false %} {% 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 %}{% 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 %} <![CDATA[{{ title | cdata_escape }}]]> diff --git a/_config.yml b/_config.yml index 957e4f5..912bb07 100644 --- a/_config.yml +++ b/_config.yml @@ -45,6 +45,7 @@ permalink_label_feed: "∞ Permalink" linklog_marker: "→" linklog_marker_position: after linklog_marker_position_feed: after +standard_post_marker: titlecase: true # Converts page and post titles to tilecase