{{ post.title }}
- -{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}
-diff --git a/_config.yml b/_config.yml index 20d82e19..b691da24 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ title: Minimal Mistakes tagline: Jekyll Theme description: A responsive Jekyll theme with editorial design tendencies. #Comment out url when working locally to resolve base urls correctly -url: http://mmistakes.github.io/minimal-mistakes +#url: http://mmistakes.github.io/minimal-mistakes # Owner/author information goes here. owner: diff --git a/_layouts/post-index.html b/_layouts/post-index.html index 0c66e282..ab0a55d1 100644 --- a/_layouts/post-index.html +++ b/_layouts/post-index.html @@ -27,11 +27,21 @@
{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}
-{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}
+