added default_article.jpg image. Fixed error in copyright note and added standard...
authordanix <danix@danix.xyz>
Thu, 16 Feb 2023 17:41:32 +0000 (18:41 +0100)
committerdanix <danix@danix.xyz>
Thu, 16 Feb 2023 17:41:32 +0000 (18:41 +0100)
archetypes/articles.md
assets/img/default_article.jpg [new file with mode: 0644]
layouts/partials/copyright.html

index 3c4021f..d9123bd 100644 (file)
@@ -5,7 +5,7 @@ draft: true
 author: "{{ $.Site.Params.author_name }}"
 format: ""
 excerpt: ""
-featured_image: ""
+featured_image: "/img/default_article.jpg"
 categories:
   - "add"
   - "yours"
diff --git a/assets/img/default_article.jpg b/assets/img/default_article.jpg
new file mode 100644 (file)
index 0000000..e5812f8
Binary files /dev/null and b/assets/img/default_article.jpg differ
index 19ce0ac..08e3ff2 100644 (file)
@@ -1,7 +1,7 @@
 <div class="copyright align-center">
 <p xmlns:cc="http://creativecommons.org/ns#"
 xmlns:dct="http://purl.org/dc/terms/">
-       <a property="dct:title" rel="cc:attributionURL" href="{{.Site.BaseURL}}">content</a> by <strong><a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="{{.Site.BaseURL}}/whoami">{{$.Site.Author.name}}</a></strong> licensed under the <a href="http://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer">{{- partial "funcs/svg.html" (dict "context" . "username" "cc") -}}{{- partial "funcs/svg.html" (dict "context" . "username" "cc-by") -}}{{- partial "funcs/svg.html" (dict "context" . "username" "cc-sa") -}}<span class="screen-reader-text">CC BY-SA 4.0</span></a> unless stated otherwhise
+       <a property="dct:title" rel="cc:attributionURL" href="{{.Site.BaseURL}}">content</a> by <strong><a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="{{.Site.BaseURL}}/is">{{$.Site.Author.name}}</a></strong> licensed under the <a href="http://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer">{{- partial "funcs/svg.html" (dict "context" . "username" "cc") -}}{{- partial "funcs/svg.html" (dict "context" . "username" "cc-by") -}}{{- partial "funcs/svg.html" (dict "context" . "username" "cc-sa") -}}<span class="screen-reader-text">CC BY-SA 4.0</span></a> unless stated otherwhise
        &hybull;
        hugo theme adapted from <a href="https://html5up.net/forty">Forty by html5up.net</a></p>
 </div>
\ No newline at end of file