]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
add components folder, add fediverse creator meta tag
authorCameron Otsuka <cameron@otsuka.haus>
Tue, 29 Oct 2024 21:44:18 +0000 (14:44 -0700)
committerCameron Otsuka <cameron@otsuka.haus>
Tue, 29 Oct 2024 21:44:18 +0000 (14:44 -0700)
_includes/components/articleslist.njk [moved from _includes/articleslist.njk with 79% similarity]
_includes/layouts/base.njk
_includes/layouts/home.njk

similarity index 79%
rename from _includes/articleslist.njk
rename to _includes/components/articleslist.njk
index 91bd38f3cbe278968bcdb95a971a492964882f5c..b4c30feb30e3ca5dec8170ac193157f2c1517168 100644 (file)
@@ -1,4 +1,5 @@
 <dl>
+{% set articleslist = collections.articles %}
 {%- for article in articleslist | reverse %}
     <dt><a href="{{ article.url }}">{{ article.data.title }}</a></dt>
     <dd>{{ article.data.description }}</dd>
index 20e37b60ae57cf81f5d4c1451e106c70acf2bd48..56cbde27ed40c9404454da6669ee1726e3091f2d 100644 (file)
@@ -12,6 +12,7 @@
     <meta name="description" property="og:description" content="{{ description or metadata.description }}" />
     <meta name="author" content="{{ metadata.author.name }}" />
     <meta name="generator" content="{{ eleventy.generator }}" />
+    <meta name="fediverse:creator" content="@cameron@social.otsuka.haus" />
     <meta name="twitter:card" content="summary" />
     <meta name="twitter:creator" content="@CameronOtsuka" />
     <meta name="twitter:title" content="{{ title }}" />
index f2350bcb026bad3bb4a76edb0bef11b26190dd41..517bb92db4572bc61299f948305eadd64b9b2663 100644 (file)
@@ -8,8 +8,7 @@ layout: layouts/base.njk
 
 <section>
     <h2>Articles</h2>
-    {% set articleslist = collections.articles %}
-    {%- include "articleslist.njk" %}
+    {%- include "components/articleslist.njk" %}
 </section>
 
 <section>