patch pelican to add rel="me" attribute to social links

This commit is contained in:
Paul-Nicolas Madelaine 2023-09-18 17:41:52 +02:00
parent 66c071e279
commit c4c5bfdb8a
2 changed files with 18 additions and 1 deletions

13
pelican.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html
index 2b302899..07e28e2d 100644
--- a/pelican/themes/notmyidea/templates/base.html
+++ b/pelican/themes/notmyidea/templates/base.html
@@ -62,7 +62,7 @@
{% endif %}
{% for name, link in SOCIAL %}
- <li><a href="{{ link }}">{{ name }}</a></li>
+ <li><a rel="me" href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
</div><!-- /.social -->