diff options
author | Melody Horn <melody@boringcactus.com> | 2024-09-14 15:44:33 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2024-09-14 21:43:51 -0600 |
commit | ab4459ea2446ced5b93e84aa779f29d80708f374 (patch) | |
tree | 197c8003633ed053d889e0719d85afe76daacdb1 /_includes/default.html | |
parent | b91287a80268e2af44cf6c5861f51243bd0c347f (diff) | |
download | boringcactus.com-ab4459ea2446ced5b93e84aa779f29d80708f374.tar.gz boringcactus.com-ab4459ea2446ced5b93e84aa779f29d80708f374.zip |
11ty
Diffstat (limited to '_includes/default.html')
-rw-r--r-- | _includes/default.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/_includes/default.html b/_includes/default.html new file mode 100644 index 0000000..710635f --- /dev/null +++ b/_includes/default.html @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"/> + <meta name="referrer" content="no-referrer" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="description" content="{{ description | escape }}" /> + <meta name="twitter:card" content="summary" /> + <meta name="twitter:site" content="@boring_cactus" /> + <meta name="twitter:title" content="{{ title | escape }}" /> + <meta name="twitter:description" content="{{ description | escape }}" /> + <meta property="og:url" content="https://www.boringcactus.com{{ page.url }}" /> + <meta property="og:title" content="{{ title | escape }}" /> + <meta property="og:description" content="{{ description | escape }}" /> + {% if page.url == "/" %} + <meta property="og:type" content="website" /> + <title>{{ title }}</title> + {% else %} + <meta property="og:type" content="article" /> + <meta property="article:published_time" content="{% if showDate %}{{ page.date | date: '%Y-%m-%d', 'Etc/UTC' }}{% endif %}" /> + <title>{{ title }} | boringcactus</title> + {% endif %} + <link rel="stylesheet" href="/assets/site.css"> + <link type="application/atom+xml" rel="alternate" href="/feed.xml" title="boringcactus" /> + <link rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" /> + <link rel="icon" href="/assets/icon.svg"> + <script async defer data-domain="boringcactus.com" src="https://plausible.io/js/plausible.js"></script> +</head> +<body> +<header> + {% if page.url != "/" %} + <p>(brought to you by <a href="/">boringcactus</a>)</p> + {% endif %} +</header> +<main> + <h1>{{ title }}{% if showDate %} <small>({{ page.date | date: "%d %b %Y", 'Etc/UTC' }})</small>{% endif %}</h1> + {{ content }} +</main> +<script src="/assets/fuck-hn.js"></script> +</body> +</html> |