87 lines
3.3 KiB
HTML
87 lines
3.3 KiB
HTML
<head>
|
|
<title>{{site.title}} • {{page.title}}</title>
|
|
<meta name="description"
|
|
content="Learn how to use the best and latest web technologies to boost your productivity." />
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<!-- Open Graph data -->
|
|
<meta property="og:title" content="{{ page.title }}" />
|
|
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
|
<meta property="og:description" content="{{ page.description }}" />
|
|
|
|
{% if page.type == "post" %}
|
|
<meta property="og:type" content="article" />
|
|
<meta name="fediverse:creator" content="@ayo@ayco.io" />
|
|
<meta property="article:author" content="{{ site.author }}" />
|
|
<meta property="article:published_time" content="{{page.date}}" />
|
|
{% else %}
|
|
<meta property="og:type" content="website" />
|
|
{% endif %}
|
|
<meta property="og:site_name" content="{{site.title}}" />
|
|
|
|
<!--meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
|
|
<meta property="article:section" content="Article Section" />
|
|
<meta property="article:tag" content="Article Tag" /-->
|
|
|
|
<link rel="me" href="https://ayco.io" />
|
|
<link rel="me" href="https://ayo.ayco.io" />
|
|
<link rel="me" href="https://ayos.blog" />
|
|
<link rel="me" href="https://social.ayco.io/@ayo" />
|
|
<link rel="me" href="https://ayco.io/@ayo" />
|
|
<link rel="me" href="https://metapixl.com/@ayo" />
|
|
|
|
<link rel="webmention" href="https://webmention.io/ayos.blog/webmention" />
|
|
|
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}" />
|
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}"
|
|
href="{{ '/feed.xml' | relative_url }}" />
|
|
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
|
|
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@900&display=swap" rel="stylesheet" />
|
|
|
|
<script type="module">
|
|
import { minidenticonSvg } from 'https://cdn.jsdelivr.net/npm/minidenticons@4.2.1/minidenticons.min.js'
|
|
import {
|
|
getMentions,
|
|
renderMentions,
|
|
} from "/assets/js/webmention-utils.mjs";
|
|
const ignoreAuthorUrls = [
|
|
"https://social.ayco.io/@ayo",
|
|
"https://fosstodon.org/@ayo",
|
|
"https://m.webtoo.ls/@ayo",
|
|
];
|
|
const ignorePaths = [
|
|
"/",
|
|
"/categories/",
|
|
"/about/",
|
|
"/technology/",
|
|
"/personal/",
|
|
"/projects/",
|
|
"/talks/",
|
|
"/productivity/",
|
|
"/motivational/",
|
|
];
|
|
const url = new URL(
|
|
document.URL.replace("http://localhost:4000", "https://ayos.blog")
|
|
);
|
|
if (!ignorePaths.includes(url.pathname)) {
|
|
const mentions = getMentions(url.toString())
|
|
.then((mentions) => {
|
|
renderMentions(
|
|
mentions,
|
|
".blog-post__web-mentions",
|
|
ignoreAuthorUrls
|
|
);
|
|
})
|
|
.catch((err) => console.log("err", err));
|
|
}
|
|
</script>
|
|
<!-- lite-yt-embed -->
|
|
<link rel="stylesheet" href="https://unpkg.com/lite-youtube-embed@0.3.3/src/lite-yt-embed.css" />
|
|
<script src="https://unpkg.com/lite-youtube-embed@0.3.3/src/lite-yt-embed.js"></script>
|
|
</head>
|