This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/_includes/base.liquid

67 lines
No EOL
2.4 KiB
Text

{%- capture fullUrl %}{{ site.url }}{{ page.url }}{% endcapture -%}
<!doctype html>
<!--suppress JSUnresolvedLibraryURL -->
<html lang="en">
<head>
<title>
{% if title %}
{{ title }} •
{% endif %}
{{ site.title }}</title>
<meta charset="utf-8">
<meta name='viewport' content='width=device-width'>
<link rel="canonical" href="{{ fullUrl }}" />
<meta property="og:title" content="{% if title %}{{ title }} • {% endif %}{{site.title}}" />
<meta name="description" content="{% if excerpt %}{{ excerpt}}{% else %}{{ site.description }}{% endif %}" />
<meta property="og:description" content="{% if excerpt %}{{ excerpt}}{% else %}{{ site.description }}{% endif %}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ fullUrl }}" />
<meta property="og:image" content="{{ image | getPostImage }}">
<meta name="theme-color" content="#a855f7" />
<meta name="generator" content="{{ eleventy.generator }}">
<link
rel="icon"
type="image/x-icon"
href="/assets/img/favicon/favicon-16x16.png">
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/assets/img/favicon/favicon-32x32.png">
<link rel="apple-touch-icon" href="/assets/img/favicon/apple-touch-icon.png">
<link href="/assets/styles/tailwind.css?v={% version %}" rel="stylesheet" />
{% capture css %}
{% render "../assets/styles/prism.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<link rel="webmention" href="https://webmention.io/coryd.dev/webmention" />
<link rel="pingback" href="https://webmention.io/coryd.dev/xmlrpc" />
<link
type="application/atom+xml"
rel="alternate"
title="Cory Dransfeldt"
href="/feed.xml">
<link
rel="alternate"
type="application/json"
title="Cory Dransfeldt"
href="/feed.json" />
<link
rel="alternate"
href="/follow.xml"
title="Cory Dransfeldt's activity feed"
type="application/rss+xml">
<script type="application/ld+json">
{% jsonLd meta, type, tags %}
</script>
<script defer data-domain="coryd.dev" src="https://coryd.dev/js/script.js"></script>
<noscript>
<style>.client-side {display:none}</style>
</noscript>
</head>
<body class="dark:text-white bg-white dark:bg-gray-900 font-sans text-gray-800">
{{ content }}
</body>
</html>