kmalloc.org/templates/base.html
squid d2f9bba46b feat: move the pages to Markdown and the news to the dated layout
Pages are Markdown files in content/<lang>/ with a Key: value header, the
news carry Title, Author, Date, Categories and Description and are published
as /news/YYYY/MM/name.html, with a page for every category. The templates, the
language files and site.json shrink to the chrome and the shared strings, and
the footer credits motorino. The output matches the one of build.py page by
page, checked with tools/compare.py and the Nu HTML Checker.
2026-11-15 09:58:10 +01:00

36 lines
1.3 KiB
HTML

<!doctype html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="light dark">
<meta name="generator" content="motorino {{motorino_version}}">
<meta name="description" content="{{description_attr}}">
<meta property="og:site_name" content="kmalloc.org">
<meta property="og:type" content="website">
<meta property="og:title" content="{{title_html}}">
<meta property="og:description" content="{{description_attr}}">
<meta property="og:url" content="{{doc_url}}">
<meta property="og:image" content="{{base_url}}/og.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="kmalloc.org: Technology. Freedom. Dissent.">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="me" href="{{mastodon_url}}">
{{alt_links}}
<link rel="alternate" type="application/rss+xml" title="kmalloc.org: {{nav_news}}" href="{{url_news}}feed.xml">
<style>
{{css}}
</style>
<title>{{title_html}}</title>
</head>
<body>
{{header}}
{{content}}
{{footer}}
</body>
</html>