feat(credits): font source
This commit is contained in:
parent
7e50f8489e
commit
de2cc0e283
3 changed files with 5 additions and 1 deletions
1
data.go
1
data.go
|
@ -47,6 +47,7 @@ type Link struct {
|
||||||
type Legal struct {
|
type Legal struct {
|
||||||
LegalInformationLink string `json:"legal_information_link"`
|
LegalInformationLink string `json:"legal_information_link"`
|
||||||
ImagesSource []string `json:"images_source"`
|
ImagesSource []string `json:"images_source"`
|
||||||
|
FontSource string `json:"font_source"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Config) GetBackground() template.CSS {
|
func (c *Config) GetBackground() template.CSS {
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
"images_source": [
|
"images_source": [
|
||||||
"Profile picture: John Smith for example.org",
|
"Profile picture: John Smith for example.org",
|
||||||
"Background: John Smith 2 for another.example.org"
|
"Background: John Smith 2 for another.example.org"
|
||||||
]
|
],
|
||||||
|
"font_source": "serif by ?"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -10,5 +10,7 @@
|
||||||
{{ range $s := .Legal.ImagesSource }}
|
{{ range $s := .Legal.ImagesSource }}
|
||||||
<p>{{ . }}</p>
|
<p>{{ . }}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<h3>Font credits</h3>
|
||||||
|
<p>{{ .Legal.FontSource }}</p>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue