Add challenge content footer
This commit is contained in:
parent
a9d6a3800e
commit
fa9d7e9be0
3 changed files with 63 additions and 57 deletions
|
@ -108,6 +108,14 @@ input[type=number] {
|
|||
|
||||
& > div {
|
||||
overflow: scroll;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
|
||||
footer {
|
||||
margin-top: auto;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
#challenge {
|
||||
|
@ -121,19 +129,11 @@ input[type=number] {
|
|||
|
||||
#submissions {
|
||||
grid-area: submissions;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
|
||||
background: rgba(0, 0, 0, 0.125);
|
||||
$gap: 0.5em;
|
||||
padding: $gap;
|
||||
|
||||
footer {
|
||||
margin-top: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
& > div {
|
||||
width: 100%;
|
||||
column-count: 3;
|
||||
|
|
1
templates/copyright-years.html.tera
Normal file
1
templates/copyright-years.html.tera
Normal file
|
@ -0,0 +1 @@
|
|||
© {% set year = now() | date(format="%Y") | int %}{{ settings.copyright_start }}{% if year != settings.copyright_start %}–{{ year }}{% endif %}
|
|
@ -65,6 +65,7 @@
|
|||
</a>
|
||||
</nav>
|
||||
<div id="challenge">
|
||||
<div>
|
||||
<h1>Welcome to Tegaki Tuesday #{{ challenge }}!</h1>
|
||||
{% if content.japanese %}
|
||||
<div lang="ja">
|
||||
|
@ -117,6 +118,10 @@
|
|||
<p><em>This challenge was suggested by <strong>{{ content.suggester }}</strong> using the <code>-h suggest</code> command.</code></em></p>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
<footer>
|
||||
Copyright {% include "copyright-years" %} Tegaki Tuesday. All rights reserved. 字ちゃん mascot art by <a href="https://twitter.com/bellumela" target="_blank">@bellumela</a>.
|
||||
</footer>
|
||||
</div>
|
||||
<div id="submissions">
|
||||
<script>
|
||||
const submissionModal = image => {
|
||||
|
@ -146,7 +151,7 @@
|
|||
{% endfor %}
|
||||
</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.
|
||||
Submissions are copyright {% include "copyright-years" %} 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>
|
||||
|
|
Loading…
Add table
Reference in a new issue