Skip to content

Commit 4a87ce8

Browse files
committed
Add github and home links
1 parent 83c99b8 commit 4a87ce8

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

hugo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ languageCode = 'en-gb'
33
title = 'UK TRE Glossary'
44
theme = 'techdoc'
55
description = 'UK TRE Glossary'
6+
7+
[params]
8+
github_repository = 'https://github.com/manics/uktre-glossary'
9+
# Disable sidebar
10+
menu_style = ''

layouts/page/glossary.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<h1>{{ .Title }}</h1>
33
{{- .Content -}}
44

5+
<a href="{{ absURL "" }}"><i class="fas fa-home"></i></a>
6+
57
{{ $data := resources.Get .Params.glossary_yaml | transform.Unmarshal }}
68
{{ $category := .Params.glossary_category }}
79

static/css/overrides.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
header h1 {
2+
color: white;
3+
}
4+
5+
header a:hover h1 {
6+
color: inherit;
7+
}
8+
9+
header {
10+
display: flex;
11+
justify-content: space-between;
12+
}
13+
114
th, td {
215
vertical-align: top;
316
}
17+
18+
table {
19+
max-width: 80em;
20+
}

0 commit comments

Comments
 (0)