diff --git a/styles/sass/style.scss b/styles/sass/style.scss index b927255..d6783da 100644 --- a/styles/sass/style.scss +++ b/styles/sass/style.scss @@ -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; diff --git a/templates/copyright-years.html.tera b/templates/copyright-years.html.tera new file mode 100644 index 0000000..abc881b --- /dev/null +++ b/templates/copyright-years.html.tera @@ -0,0 +1 @@ +© {% set year = now() | date(format="%Y") | int %}{{ settings.copyright_start }}{% if year != settings.copyright_start %}–{{ year }}{% endif %} \ No newline at end of file diff --git a/templates/index.html.tera b/templates/index.html.tera index 128dd6a..3837301 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -65,57 +65,62 @@
- {%- for word in subline -%}
- {%- if word.dictionary -%}
-
- {%- endif -%}
- {% for segment in word.text -%}
- {{ segment.kanji }}
+
+ {%- for word in subline -%}
+ {%- if word.dictionary -%}
+
+ {%- endif -%}
+ {% for segment in word.text -%}
+ {{ segment.kanji }}
+ {%- endfor -%}
+ {%- if word.dictionary -%}
+
+ {%- endif -%}
{%- endfor -%}
- {%- if word.dictionary -%}
-
- {%- endif -%}
- {%- endfor -%}
-
+ Translation
+ {% if content.translation.author %}by {{ content.translation.author }}{% endif %}
+ {% if content.translation.site %} via
+ {% if content.translation.site.link %}
+ {{ content.translation.site.name }}
+ {% else %}
+ {{ content.translation.site.name }}
+ {% endif %}
+ {%- endif -%}
+ This challenge was suggested by {{ content.suggester }} using the
- Translation
- {% if content.translation.author %}by {{ content.translation.author }}{% endif %}
- {% if content.translation.site %} via
- {% if content.translation.site.link %}
- {{ content.translation.site.name }}
- {% else %}
- {{ content.translation.site.name }}
- {% endif %}
- {%- endif -%}
- This challenge was suggested by {{ content.suggester }} using the Welcome to Tegaki Tuesday #{{ challenge }}!
+ {% if content.japanese %}
+ -h suggest
command.-h suggest
command.