Skip to content

Commit 3ef1fbb

Browse files
committed
Add copyright text to footer
Signed-off-by: lucperkins <[email protected]>
1 parent a160f39 commit 3ef1fbb

File tree

4 files changed

+32
-9
lines changed

4 files changed

+32
-9
lines changed

assets/sass/helpers.sass

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,13 @@ hr.thick
5353
height: 4px
5454

5555
background-color: $primary
56+
57+
.content.is-copyright
58+
p
59+
font-size: 1.25rem
60+
61+
a
62+
font-weight: 700
63+
64+
&:hover
65+
color: $grey

assets/sass/style.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ $family-monospace: "{{ . }}", monospace
5252
// Final Bulma imports
5353
@import "bulma/sass/utilities/derived-variables"
5454

55-
// Bulma variable overrdides that require derived variables like $dark
56-
$footer-background-color: $black
55+
// Bulma variable overrides that require derived variables like $dark
56+
$footer-background-color: $light
5757
$link: $primary
5858
$section-padding: 4rem 1.5rem
5959
$hero-padding: 0

config.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
title = "The Update Framework"
22
disableKinds = ["section", "taxonomy", "taxonomyTerm"]
3-
copyright = "The Update Framework authors"
43

54
[markup.goldmark.renderer]
65
unsafe = true
@@ -9,6 +8,11 @@ unsafe = true
98
font_awesome_version = "5.12.0"
109
description = "A framework for securing software update systems"
1110
favicon = "favicon.png"
11+
copyright = """
12+
The TUF project is managed by the Linux Foundation under the Cloud Native Computing Foundation. The consensus builder for TUF is [Prof. Justin Cappos](https://ssl.engineering.nyu.edu/personalpages/jcappos/) of the [Secure Systems Lab](https://ssl.engineering.nyu.edu) at [New York University](https://engineering.nyu.edu/). Maintainers include [Sebastien Awwad](https://github.com/awwad) of [CONDA](https://docs.conda.io/en/latest) and [Lukas Pühringer](https://github.com/lukpueh), also of NYU's Secure Systems Lab. Contributors and maintainers are governed by the [CNCF Community Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
13+
14+
This material is based upon work supported by the National Science Foundation under Grant Nos. CNS-1345049 and CNS-0959138. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
15+
"""
1216

1317
[params.logos]
1418
navbar = "tuf-horizontal-white.png"
@@ -60,6 +64,12 @@ parent = "about"
6064
url = "/people"
6165
weight = 5
6266

67+
[[menu.main]]
68+
name = "Code of conduct"
69+
parent = "about"
70+
url = "https://github.com/cncf/foundation/blob/master/code-of-conduct.md"
71+
weight = 6
72+
6373
[[menu.main]]
6474
name = "Getting started"
6575
identifier = "getting-started"

layouts/partials/footer.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
{{ with site.Copyright }}
21
{{ $year := now.Year }}
3-
<footer class="footer">
2+
{{ $copy := site.Params.copyright | markdownify }}
3+
<footer class="footer has-background-black">
44
<div class="container">
5-
<p class="title is-size-6 has-text-light has-text-weight-light">
6-
&copy; {{ $year }} {{ . }}
7-
</p>
5+
<div class="content is-copyright has-text-light">
6+
<p class="has-text-weight-bold">
7+
&copy; {{ $year }} The Update Framework authors | Documentation Distributed under CC-BY-4.0
8+
</p>
9+
10+
{{ $copy }}
11+
</div>
812
</div>
913
</footer>
10-
{{ end }}

0 commit comments

Comments
 (0)