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