Implement Octothorpes
This commit is contained in:
@@ -19,6 +19,13 @@
|
||||
{% if tags and tags.includes('tagList') %}
|
||||
<link rel="stylesheet" type="text/css" href="/css/tags.css" />
|
||||
{% endif %}
|
||||
{% if tags and tags.includes('posts') and not octothorpeExclude %}
|
||||
<!-- Octothorpes: https://docs.octothorp.es/quickstart -->
|
||||
<link rel="preload" as="fetch" href="https://octothorp.es/?uri={{ page.url | htmlBaseUrl(metadata.url) }}">
|
||||
{%- for tag in tags | filterTagList %}
|
||||
<link rel="octo:octothorpes" href="{{ tag | slugify }}" >
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% if tags and (tags.includes('posts') or tags.includes('now')) %}
|
||||
<link rel="stylesheet" type="text/css" href="/css/audio-player.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/code.css" />
|
||||
|
||||
Reference in New Issue
Block a user