header.html 1.48 KB
Newer Older
wbar's avatar
wbar committed
1
2
3
<!DOCTYPE html>
<html lang='{{ .Site.Language.Lang }}'>
  <head>
4
5
6
    <title>
        {{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}
    </title>
wbar's avatar
wbar committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <meta name="description" content="{{ .Site.Params.description }}">
    <meta name="keywords" content="{{ range .Params.Tags }}{{ . }},{{ end }}">
    <meta name="author" content="{{ .Site.Params.author }}">
    {{ .Hugo.Generator }}
    <link rel="stylesheet" href="{{ .Site.BaseURL}}css/style.css">
    <link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
    <link rel="icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">
    {{- template "_internal/opengraph.html" . -}}
    {{- template "_internal/schema.html" . -}}
    {{- template "_internal/twitter_cards.html" . -}}
  </head>
  <body>
<nav>
    <p>
        <a class="brand" href="{{ .Site.BaseURL }}">BWog-notes</a>
        <br/><br/>
          <a href="{{ .Site.BaseURL }}tags/">Tags</a>
          |
wbar's avatar
wbar committed
27
          <a href="{{ .Site.BaseURL }}archives/">Archives</a>
wbar's avatar
wbar committed
28
29
30
31
32
33
34
35
36
37
38
          {{ $section := where .Site.RegularPages "Section" "in" "pages" }}
          {{ range $section }}
              |
              <a href="{{ .RelPermalink }}">{{ .Title }}</a>
          {{ end }}
          |
          <a href="{{ .Site.RSSLink }}">RSS</a>
    </p>
</nav>

<main id="content">