aboutsummaryrefslogtreecommitdiff
path: root/v2/src/lib/preamble.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-04 14:21:07 -0300
committerEuAndreh <eu@euandre.org>2023-04-04 14:21:07 -0300
commitf28aae306abf524dbdbbec7e4cedcd2222ba80e1 (patch)
treea5aa35902c4ee4c0f39dcba7053699c748806fa2 /v2/src/lib/preamble.html
parentsrc/development/genhtml.sh: Move some TODOs (diff)
downloadeuandre.org-f28aae306abf524dbdbbec7e4cedcd2222ba80e1.tar.gz
euandre.org-f28aae306abf524dbdbbec7e4cedcd2222ba80e1.tar.xz
v2: WIP genhtml via envsubst
Diffstat (limited to 'v2/src/lib/preamble.html')
-rw-r--r--v2/src/lib/preamble.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/v2/src/lib/preamble.html b/v2/src/lib/preamble.html
new file mode 100644
index 0000000..3eac6ea
--- /dev/null
+++ b/v2/src/lib/preamble.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="$lang">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" type="text/css" href="$style_url" />
+ <link rel="icon" type="image/svg+xml" href="$favicon_url" />
+
+ <title>$title_html</title>
+
+ <meta name="author" content="$author" />
+ <meta property="og:site_name" content="$site_name" />
+ <meta property="og:locale" content="$lang" />
+ <meta property="og:title" content="$title_html" />
+
+ <link rel="canonical" href="$url" />
+ <meta property="og:url" content="$url" />
+ </head>
+ <body>
+ <header>
+ <nav>
+ <ul>
+ <a href="$homepage_url">$author</a>
+ <a href="$about_url">$about</a>
+ </ul>
+ </nav>
+ <hr />
+ </header>
+ <main>
+ <article>
+ dollar emit_body
+ <h1>
+ $title_html
+ </h1>
+ <p class="timestamp">
+ FIXME Posted on <time datetime="$date">$date_formatted</time>
+ </p>