diff options
author | Adam Carpenter <gitlab@53hor.net> | 2019-08-11 11:29:21 -0400 |
---|---|---|
committer | Adam Carpenter <gitlab@53hor.net> | 2019-08-11 11:29:21 -0400 |
commit | 3ba17449541c00757e6c3701c8a87fc0435f0267 (patch) | |
tree | a590f37ba495ea503cec3eb959de79fed58fc5bf /_includes | |
parent | e7601df315af563a5d4d0f9e208d531a2b687aed (diff) | |
download | cobalt-site-3ba17449541c00757e6c3701c8a87fc0435f0267.tar.xz cobalt-site-3ba17449541c00757e6c3701c8a87fc0435f0267.zip |
Broke out categories, tags, updated style, added new post.
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/categories.liquid | 12 | ||||
-rw-r--r-- | _includes/tags.liquid | 16 |
2 files changed, 28 insertions, 0 deletions
diff --git a/_includes/categories.liquid b/_includes/categories.liquid new file mode 100644 index 0000000..5c01772 --- /dev/null +++ b/_includes/categories.liquid @@ -0,0 +1,12 @@ +{% if page.categories %} + <div class="tags has-addons"> + <span class="tag is-rounded is-success"> + Category + </span> + {% for category in page.categories %} + <span class="tag is-rounded"> + {{ category | downcase }} + </span> + {% endfor %} + </div> +{% endif %} diff --git a/_includes/tags.liquid b/_includes/tags.liquid new file mode 100644 index 0000000..23ea566 --- /dev/null +++ b/_includes/tags.liquid @@ -0,0 +1,16 @@ +{% if page.tags %} + <div class="field is-grouped is-grouped-multiline"> + {% for tag in page.tags %} + <div class="control"> + <div class="tags has-addons"> + <span class="tag is-rounded is-success"> + # + </span> + <span class="tag is-rounded"> + {{ tag | downcase }} + </span> + </div> + </div> + {% endfor %} + </div> +{% endif %} |