From e80c15bea0c8c68bc29d3677cab21ea0bfe86155 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 21 May 2018 23:15:54 +0100 Subject: [PATCH] Update tag styling, add links --- assets/sass/site.sass | 8 ++++++++ source/_includes/post/tags.html.twig | 21 ++++++++++++--------- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/assets/sass/site.sass b/assets/sass/site.sass index 8b15e899..c3983d1f 100644 --- a/assets/sass/site.sass +++ b/assets/sass/site.sass @@ -58,6 +58,14 @@ main ul svg fill: currentColor +.element-invisible + position: absolute !important + clip: rect(1px, 1px, 1px, 1px) + overflow: hidden + height: 1px + width: 1px + word-wrap: normal + @import 'components/listing' @import 'components/table' @import 'components/talk/slides' diff --git a/source/_includes/post/tags.html.twig b/source/_includes/post/tags.html.twig index d1cb6619..266b7238 100644 --- a/source/_includes/post/tags.html.twig +++ b/source/_includes/post/tags.html.twig @@ -1,13 +1,16 @@ {% if page.tags %} -
-

- Tags: - {% for tag in page.tags|sort %} - +

Tags

+ +
+ + {% endfor %} + {% endif %}