diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index f38bd48..27d6e20 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -5,9 +5,8 @@ templateClass: tmpl-post

{{ title }}

- -{%- for tag in tags | filterTagList %} -{%- set tagUrl %}/tags/{{ tag | slug }}/{% endset %} +{%- for tag in tags | filterTagList -%} +{%- set tagUrl %}/tags/{{ tag | slug }}/{% endset -%} {{ tag }} {%- endfor %} diff --git a/css/index.css b/css/index.css index 13b54d0..514f370 100644 --- a/css/index.css +++ b/css/index.css @@ -197,7 +197,6 @@ code { display: inline-flex; align-items: center; justify-content: center; - vertical-align: text-top; text-transform: uppercase; font-size: 0.6875em; /* 11px /16 */ padding: 0.09090909090909em 0.3636363636364em; /* 1px 4px /11 */ @@ -216,6 +215,9 @@ a[href].post-tag:hover, a[href].post-tag:focus { background-color: var(--lightgray); } +.postlist-item > .post-tag { + align-self: center; +} /* Warning */ .warning {