From 0ebfbdab03aac215f2c677b5b265e7e47a2b4d7a Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Tue, 22 Aug 2023 20:46:27 +0000 Subject: [PATCH] chore(meta): add additional tag variations reorder by name --- src/_includes/meta.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/_includes/meta.html b/src/_includes/meta.html index 568ef2e0..6628181a 100644 --- a/src/_includes/meta.html +++ b/src/_includes/meta.html @@ -16,30 +16,34 @@ {%- assign description = site.description -%} {%- endif -%} {%- assign description = description | normalize_whitespace -%} - +{%- assign is_article = page.date and page.tags -%} {{ title }} -{%- if page.date and page.tags -%} +{%- if is_article -%} {%- for tag in page.tags -%} {%- endfor -%} - -{%- else -%} - {%- endif -%} + + +{%- if is_article -%} + +{%- else -%} + +{%- endif -%} - - + +