Skip to content

Commit 75966bd

Browse files
committed
Clean up head tags
1 parent ae6d559 commit 75966bd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/_includes/layouts/base.njk

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,28 @@ useContainer: true
66
<!DOCTYPE html>
77
<html lang="en">
88
<head>
9+
<title>{% include "copywriting/title.njk" %}</title>
10+
11+
<!-- Base shit to get the site working properly. -->
912
<meta charset="UTF-8" />
1013
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11-
<title>{% include "copywriting/title.njk" %}</title>
14+
15+
<!-- Styles and branding -->
1216
<link rel="stylesheet" href="/styles/global.css" />
1317
<link rel="icon" href="/favicon.png" />
14-
<!-- TODO: Implement opengraph for all pages. -->
18+
19+
<!-- OpenGraph meta tags. -->
1520
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{% include "copywriting/sectionTitle.njk" %}{% endif %}" />
1621
<meta property="og:description" content="{% if description %}{{ description }}{% else %}{% if title %}{% include "copywriting/sectionTitle.njk" %}{% endif %}{% endif %}" />
1722
<meta property="og:site_name" content="{% include "copywriting/sectionTitle.njk" %}" />
1823
{% if openGraph.imgUrl %}<meta id="og:image" content="{{ openGraph.imgUrl }}" />{% endif %}
24+
25+
<!-- Mastodon link verification -->
1926
<a rel="me" href="https://mastodon.social/@reboothasmastodon" style="color: rgba(0, 0, 0, 0); position: absolute;" aria-hidden="true"></a>
2027
<a rel="me" href="https://tiggi.es/@reboot" style="color: rgba(0, 0, 0, 0); position: absolute;" aria-hidden="true"></a>
28+
29+
<!-- Adds discord embed color! -->
30+
<meta name="theme-color" content="#7ccf9e">
2131
</head>
2232
<body>
2333
{% include "components/navigation.njk" %}

0 commit comments

Comments
 (0)