~linuxgoose/bocpress

ref: 998269312d17fad056e8960a12a1a33f49aeff70 bocpress/export_base_hugo/baseof.html -rw-r--r-- 810 bytes
99826931Jordan Robinson update post detail page for tag query param on url 2 months ago
                                                                                
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
<!DOCTYPE html>
<html lang="en-US">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        {{- if eq .Section "blog" }}
        <title>{{ .Title }} - {{ .Site.Title }}</title>
        <meta name="description" content="{{ .Summary }}">
        {{- else }}
        <title>{{ .Site.Title }}</title>
        <meta name="description" content="{{ .Site.Params.Description }}">
        {{- end }}

        <link href="{{ .Site.BaseURL }}style.css" rel="stylesheet">
        {{ with .OutputFormats.Get "rss" -}}
            {{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
        {{ end }}
    </head>

    <body>
        {{- block "main" . }}
        {{- end }}
    </body>
</html>