1

Update website metadata tags

This commit is contained in:
Evan Pratten 2021-03-05 15:17:37 -05:00
parent 6fb0420949
commit 4c74c6db38
6 changed files with 123 additions and 52 deletions

View File

@ -1,7 +1,3 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{page.title}} | {{ site.title }}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
@ -38,8 +34,7 @@
<!-- Primary fonts -->
<link rel="preload" href="{{site.baseurl}}/assets/fonts/GT-Walsheim-Bold.woff" as="font" crossorigin="anonymous">
<link rel="preload" href="{{site.baseurl}}/assets/fonts/GT-Walsheim-Regular.woff" as="font" crossorigin="anonymous">
<link rel="preload" href="{{site.baseurl}}/assets/fonts/TiemposTextWeb-Regular.woff2" as="font"
crossorigin="anonymous">
<link rel="preload" href="{{site.baseurl}}/assets/fonts/TiemposTextWeb-Regular.woff2" as="font" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap" rel="stylesheet">
@ -74,4 +69,56 @@
<!-- <script data-ad-client="ca-pub-6940033544404615" async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> -->
</head>
<!-- Handle the blog listing -->
{% if page.title == "Blog Posts" %}
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"ItemList",
"itemListElement":[
{% assign i = 0 %}
{% for post in site.posts %}
{% assign the_date = post.date | split: " " %}
{
"@type":"ListItem",
"position":{{i}},
"url":"{{site.url}}{{post.url}}"
},
{% assign i = i | plus:1 %}
{% endfor %}
]
}
</script>
{% endif %}
<!-- Handle blog breadcrumbs -->
{% if page.written %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Blog",
"item": "{{site.url}}/blog"
},{
"@type": "ListItem",
"position": 2,
"name": "{{page.title}}",
"item": "{{site.url}}{{page.url}}"
}]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{{page.title}}",
"datePublished": "{{page.date}}",
"dateModified": "{{page.written}}",
"about": "{{page.excerpt}}",
"keywords":"{% for key in page.tags %} {{key}}, {% endfor %}"
}
</script>
{% endif %}

View File

@ -1,4 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% include head.html %}
</head>
<body>

View File

@ -1,5 +1,9 @@
{% include head.html %}
<!DOCTYPE html>
<html lang="en">
<head>
{% include head.html %}
</head>
<body>

View File

@ -22,7 +22,7 @@ I exist in various places around the internet. Mainly:
## Donations
I accept small donations [over here](/donations).
I accept small donations [over here](https://donate.retrylife.ca/).
## PGP

View File

@ -5,7 +5,8 @@ layout: page
backing_img: /assets/images/money_transfer__monochromatic.svg
backing_scalar: "height:90%;"
uses:
- qrcodes
- qrcode
redirect_to: https://donate.retrylife.ca/
---
You probably ended up here from my GitHub page. Since I still am not 18, I can't finish signing up to [GitHub Sponsors](). Due to this, I had to get a little creative with my donations setup.

View File

@ -4,7 +4,21 @@ uses:
- masonry
---
<!DOCTYPE html>
<html lang="en">
<head>
{% include head.html %}
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Person",
"name": "Evan Pratten",
"jobTitle": "Software Developer",
"url": "https://retrylife.ca"
}
</script>
</head>
<body>