diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index e4246da..5378fb3 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -73,6 +73,7 @@ header { letter-spacing: -0.5px; font-size: 0.8rem; font-weight: 300; + padding: 0; padding-top: 0.7vmin; padding-bottom: 3vmin; line-height: 1.4rem; @@ -85,6 +86,11 @@ header { text-decoration: none; } +.meta ul, li{ + list-style-type: none; + display: inline; +} + .card-meta { color: var(--meta-color); font-size: 0.92rem; diff --git a/templates/macros/content.html b/templates/macros/content.html index 51b9b2a..e29ef2e 100644 --- a/templates/macros/content.html +++ b/templates/macros/content.html @@ -3,43 +3,42 @@
-
-
- {{ page.title }} -
-
- {% if page.draft %} - DRAFT - {% endif %} +
+ {{ page.title }} +
- {% if page.date %} - {{ macros_format_date::format_date(date=page.date) }} - {{ separator }} - {% endif %} +
    + {% if page.draft %} + DRAFT + {% endif %} - {{ page.reading_time }} min read + {% if page.date %} + {{ macros_format_date::format_date(date=page.date) }} + {{ separator }} + {% endif %} - {% if page.taxonomies and page.taxonomies.tags %} - - {% endif %} + {{ page.reading_time }} min read - {% if page.updated %} -
    Last updated on {{ macros_format_date::format_date(date=page.updated) }} - {% endif %} + {% if page.taxonomies and page.taxonomies.tags %} + {{ separator }} Tags: + {% for tag in page.taxonomies.tags %} +
  • {{ tag }}
  • + {%- if not loop.last -%} + , + {%- endif -%} + {% endfor %} + {% endif %} -
-
+ {% if page.updated %} +
Last updated on {{ macros_format_date::format_date(date=page.updated) }} + {% endif %} + {% if page.extra.tldr %} -
-

TL;DR:

-

{{ page.extra.tldr }}

-
+
+

TL;DR:

+

{{ page.extra.tldr }}

+
{% endif %} {# Optional table of contents #}