Add missing HTML standard files

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2023-04-03 23:23:23 +02:00
parent cc916491ee
commit f483212ba3
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<figcaption>{{ site.title }}</figcaption>
</div>
</a>
<a id="navigation-toggle">≡</a>
<a href="#" id="navigation-toggle">≡</a>
<nav id="navigation" class="navigation" role="navigation">
{% include navigation.liquid data=site.data.navigation %}
</nav>
+2 -2
View File
@@ -23,10 +23,10 @@
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:title" content="{{ page.title | default: site.title | strip_html }}" />
{% if site.xaymar.opengraph.excerpt.enabled == true %}
<meta property="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncatewords: site.xaymar.opengraph.excerpt.length }}" />
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncatewords: site.xaymar.opengraph.excerpt.length }}" />
<meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncatewords: site.xaymar.opengraph.excerpt.length }}" />
{% else %}
<meta property="description" content="{{ site.description | strip_html }}" />
<meta name="description" content="{{ site.description | strip_html }}" />
<meta property="og:description" content="{{ site.description | strip_html }}" />
{% endif %}
<meta property="og:type" content="{{ page.opengraph.type | default: "website" }}" />
+7
View File
@@ -0,0 +1,7 @@
User-agent: *
Disallow: /assets/
Disallow: /feed/
Disallow: /feed.xml
Disallow: /restricted/
Disallow: /404.html
Disallow: /redirects.json