From 77caf0c33aeae3acf78c6aa795ce4f33b52ebf4c Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 26 Dec 2017 14:54:31 -0800 Subject: [PATCH] modify some things with blog post handling --- Blog.html | 2 +- _includes/post-info.html | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Blog.html b/Blog.html index 519040f..27f760f 100644 --- a/Blog.html +++ b/Blog.html @@ -17,7 +17,7 @@ permalink: Blog/ {% include post-info.html tags = post.tags date=post.date%}
- {{post.content | markdownify| truncate: char-count}} + {{post.content | markdownify | strip_html | truncate: char-count}} See More diff --git a/_includes/post-info.html b/_includes/post-info.html index 4e3042f..5eddc9f 100644 --- a/_includes/post-info.html +++ b/_includes/post-info.html @@ -4,8 +4,9 @@ Tags: {% if include.tags.size > 0 %} - {% for tag in include.tags limit: 6%} - {{ tag }} + {% assign tags = include.tags | sort_natural | uniq %} + {% for tag in tags %} + {{ tag | downcase }} {% endfor %} {% else %} none @@ -13,7 +14,7 @@ - {{ include.date | date: "%b %-d, %Y" }} + {{ include.date | date: "%b %-d, %Y" }}