diff --git a/_layouts/base.html b/_layouts/base.html index 09684e40..364b934e 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -27,6 +27,10 @@ + {% if page.link %} + + {% endif %} + diff --git a/_layouts/post.html b/_layouts/post.html index 3242971b..89e0ef67 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -39,7 +39,17 @@

{{page.title}}

+ {% if page.link %} + {% if content == empty and page.synopsis != empty %} + {% assign content = page.synopsis %} + {% endif %} {{ content }} +

+ Redirecting to {{ page.link }} +

+ {% else %} + {{ content }} + {% endif %}
diff --git a/feed.xml b/feed.xml index 83875094..7be544d6 100644 --- a/feed.xml +++ b/feed.xml @@ -78,6 +78,8 @@ layout: null {% if post.excerpt and post.excerpt != empty %} {{ post.excerpt | strip_html | normalize_whitespace | xml_escape }} + {% elsif post.synopsis %} + {{ post.synopsis | strip_html | normalize_whitespace | xml_escape }} {% endif %} {% assign post_image = post.image.path | default: post.image %}