aboutsummaryrefslogtreecommitdiff
path: root/v2/src/lib/preamble.pt.html
blob: 98004708347155ad9111d877b22d86228f983f7e (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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