aboutsummaryrefslogtreecommitdiff
path: root/v2/src/lib/preamble.pt.html
diff options
context:
space:
mode:
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