]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
add rel=me tags to social links
authorCameron Otsuka <cameron@otsuka.haus>
Sat, 8 Feb 2025 22:55:18 +0000 (14:55 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Sat, 8 Feb 2025 22:55:18 +0000 (14:55 -0800)
_includes/layouts/article.njk
_includes/layouts/base.njk

index 7bfa44de42aef25afa05a61b103e35db7360aabb..13d8dc7d6e9fc94047c0b22d6e27a543436ae53f 100644 (file)
@@ -10,14 +10,14 @@ layout: layouts/base.njk
                <li>Published: <time datetime="{{ page.date | htmlDateString }}">{{ page.date | htmlDateString }}</time></li>
                <li>Description: {{ description }}</li>
                <li>Tags: {{ tags | reject("equalto", "articles") | sort | join(", ") }}</li>
-               {% if posse %}
+               {%- if posse %}
                        <li>
                                Also Posted To: 
-                               {% for posse_location, posse_url in posse %}
+                               {%- for posse_location, posse_url in posse %}
                                        <a href="{{ posse_url }}">{{ posse_location }}</a>
-                               {% endfor %}
+                               {%- endfor %}
                        </li>
-               {% endif %}
+               {%- endif %}
        </ul>
 </details>
 
index bf7d727213709dfa8450d9a2f731fe8dedd67347..fdb89d07a8da934b00a697c12fc8432dd01e9c67 100644 (file)
@@ -78,7 +78,7 @@
         <address>
             <menu>
             {%- for social in socials %}
-                <li><a href="{{ social.url }}">{{ social.title }}</a></li>
+                <li><a href="{{ social.url }}" rel="me">{{ social.title }}</a></li>
             {%- endfor %}
             </menu>
         </address>