Skip to content

Commit 777644e

Browse files
committed
Change footer font size
Signed-off-by: lucperkins <[email protected]>
1 parent 2e30852 commit 777644e

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

assets/sass/helpers.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ hr.thick
5656

5757
.content.is-copyright
5858
p
59-
font-size: 1.25rem
59+
font-size: 1.1rem
6060

6161
a
6262
font-weight: 700

layouts/_default/baseof.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<!DOCTYPE html>
33
<html{{ with $lang }} lang="{{ . }}"{{ end }}>
44
<head>
5+
{{ partial "meta.html" . }}
56
<title>
67
{{ block "title" . }}
78
{{ site.Title }}

layouts/partials/meta.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 }}

0 commit comments

Comments
 (0)