From: danix Date: Fri, 3 Feb 2023 16:52:56 +0000 (+0100) Subject: added quote shortcode and articles archetype. general cleanup of the footer partial. X-Git-Url: https://git.danix.xyz/?p=theme-danix.xyz.git;a=commitdiff_plain;h=76d862e2150b8735857306b99dc60edb442cb857 added quote shortcode and articles archetype. general cleanup of the footer partial. --- diff --git a/archetypes/articles.md b/archetypes/articles.md new file mode 100644 index 0000000..3c4021f --- /dev/null +++ b/archetypes/articles.md @@ -0,0 +1,17 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +author: "{{ $.Site.Params.author_name }}" +format: "" +excerpt: "" +featured_image: "" +categories: + - "add" + - "yours" +tags: + - "tag me" + +--- + +*enjoy your new article* \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 747cd7b..5738379 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,7 +5,7 @@
{{- partial "footer-addition.html" . -}} diff --git a/layouts/shortcodes/quote.html b/layouts/shortcodes/quote.html new file mode 100644 index 0000000..cc99181 --- /dev/null +++ b/layouts/shortcodes/quote.html @@ -0,0 +1,19 @@ +
+

+ {{.Inner}} +

+ {{ if .Get "source" }} + + {{ end }} +