Add submissions copyright footer
This commit is contained in:
parent
a3f85e4cba
commit
8b7f5b39b8
4 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
copyright_start: 2021
|
||||
guilds:
|
||||
# Tegaki Tuesday
|
||||
- id: 814700630958276649
|
||||
|
|
|
@ -6,6 +6,7 @@ use std::fs;
|
|||
#[derive(Serialize, Deserialize)]
|
||||
pub struct Settings {
|
||||
pub guilds: Vec<Guild>,
|
||||
pub copyright_start: u32,
|
||||
}
|
||||
|
||||
impl Settings {
|
||||
|
|
|
@ -125,6 +125,11 @@ input[type=number] {
|
|||
background: rgba(0, 0, 0, 0.125);
|
||||
$gap: 0.5em;
|
||||
padding: $gap;
|
||||
|
||||
footer {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
& > div {
|
||||
width: 100%;
|
||||
column-count: 3;
|
||||
|
|
|
@ -145,9 +145,9 @@
|
|||
</figure>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div>
|
||||
some random shit goes here
|
||||
</div>
|
||||
<footer>
|
||||
Submissions are copyright © {% set year = now() | date(format="%Y") | int %}{{ settings.copyright_start }}{% if year != settings.copyright_start %}–{{ year }}{% endif %} their respective submitters, and are licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a> license.
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue