Indieweb profile links in head
This commit is contained in:
@@ -86,6 +86,7 @@ export default {
|
||||
socialLinks: [
|
||||
{
|
||||
customAttribute: `rel="me"`,
|
||||
excludeFromHead: true,
|
||||
title: "My Blog",
|
||||
linkURL: "https://nathanupchurch.com",
|
||||
linkDisplay: "Blog",
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<link rel="stylesheet" type="text/css" href="/css/index.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/webfonts/webfonts.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/code.css" />
|
||||
<!-- Indieweb profile links -->
|
||||
{% if not excludeProfilesFromHead %}{% for link in metadata.socialLinks %}{% if not link.excludeFromHead %}<link {% if link.customAttribute %} {{ link.customAttribute | safe }} {% endif %} href="{{ link.linkURL }}" />{% endif %}{% endfor %}{% endif %}
|
||||
<!-- /Indieweb profile links -->
|
||||
{% include "structuredData.njk" %}
|
||||
{% include "analytics.html" %}
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user