File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ hr.thick
56
56
57
57
.content.is-copyright
58
58
p
59
- font-size : 1.25 rem
59
+ font-size : 1.1 rem
60
60
61
61
a
62
62
font-weight : 700
Original file line number Diff line number Diff line change 2
2
<!DOCTYPE html>
3
3
< html {{ with $lang }} lang ="{{ . }} "{{ end }} >
4
4
< head >
5
+ {{ partial "meta.html" . }}
5
6
< title >
6
7
{{ block "title" . }}
7
8
{{ site.Title }}
Original file line number Diff line number Diff line change
1
+ {{ $isHome := .IsHome }}
2
+ {{ $isDoc := eq .Section "docs" }}
3
+ {{ $title := .Title }}
4
+ {{ $description := cond $isHome site.Params.description .Params.description }}
5
+ {{ $pageType := cond $isHome "website" "article" }}
6
+ {{ $imageUrl := "img/logos/tuf-horizontal-color.png" | absURL }}
7
+ < meta charset ="utf-8 ">
8
+ < meta name ="viewport " content ="initial-scale=1,maximum-scale=1,user-scalable=no " />
9
+ {{ with $description }}
10
+ < meta name ="description " content ="{{ . }} " />
11
+ {{ end }}
12
+
13
+ <!-- OpenGraph metadata-->
14
+ < meta property ="og:title " content ="{{ $title }} ">
15
+ {{ if $isDoc }}
16
+ < meta property ="og:type " content ="documentation ">
17
+ {{ end }}
18
+ < meta property ="og:url " content ="{{ .Permalink }} ">
19
+ < meta property ="og:locale " content ="en_US ">
20
+ {{ if not $isHome }}
21
+ < meta property ="og:site_name " content ="{{ site.Title }} ">
22
+ {{ end }}
23
+ {{ with $description }}
24
+ < meta property ="og:description " content ="{{ . }} ">
25
+ {{ end }}
26
+ < meta name ="og:type " content ="{{ $pageType }} ">
27
+ < meta name ="og:image " content ="{{ $imageUrl }} ">
28
+ < meta name ="og:image:alt " content ="{{ site.Title }} project logo ">
29
+ < meta name ="og:image:type " content ="image/png ">
30
+
31
+ < link rel ="canonical " content ="{{ .Permalink }} ">
32
+ {{ hugo.Generator }}
You can’t perform that action at this time.
0 commit comments