aboutsummaryrefslogtreecommitdiff
path: root/v2/src/lib/preamble.pt.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-04 08:33:41 -0300
committerEuAndreh <eu@euandre.org>2023-04-04 08:43:15 -0300
commit08588f9907299b1a927e281d5c65b46b7cefa427 (patch)
tree860f8550c2efee35df9bfa1ef56e338f8331c2d1 /v2/src/lib/preamble.pt.html
parentdynamic.mk: Use serve(1) as is (diff)
downloadeuandre.org-08588f9907299b1a927e281d5c65b46b7cefa427.tar.gz
euandre.org-08588f9907299b1a927e281d5c65b46b7cefa427.tar.xz
Revamp v2/
Diffstat (limited to '')
-rw-r--r--v2/src/lib/preamble.pt.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/v2/src/lib/preamble.pt.html b/v2/src/lib/preamble.pt.html
new file mode 100644
index 0000000..9800470
--- /dev/null
+++ b/v2/src/lib/preamble.pt.html
@@ -0,0 +1,36 @@
+<!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>$(htmlesc "$title")</title>
+
+ <meta name="author" content="EuAndreh" />
+ <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="$lang_url">EuAndreh</a> <a href="$(url-for 'about.html')">About</a>
+ </ul>
+ </nav>
+ <hr />
+ </header>
+ <main>
+ <article>
+ <h1>
+ $title_html
+ </h1>
+ <p class="timestamp">
+ Posted on <time datetime="$date">$date_formatted</time>
+ </p>
+EOF