diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html.j2 | 1 | ||||
| -rw-r--r-- | templates/index.html.j2 | 3 | ||||
| -rw-r--r-- | templates/poll.html.j2 | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/templates/base.html.j2 b/templates/base.html.j2 index 1e2ab74..c7e03d7 100644 --- a/templates/base.html.j2 +++ b/templates/base.html.j2 @@ -5,6 +5,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="diddle is a minimalist, mobile friendly, fast and self-hosted scheduling tool, licensed under Apache 2.0."> + <link rel="preload" href="/static/InclusiveSans-Regular.ttf" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="stylesheet" href="/static/styles.css"></link> </head> <body> diff --git a/templates/index.html.j2 b/templates/index.html.j2 index 0512039..a9fffc1 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -26,6 +26,7 @@ licensed under <a href="https://github.com/jantuomi/diddle/blob/main/LICENSE">Apache 2.0.</a> </p> <p> - Find <i>diddle</i> on <a href="https://github.com/jantuomi/diddle">GitHub</a>. © {{ now.year }} Jan Tuomi. All rights reserved. + Find <i>diddle</i> on <a href="https://github.com/jantuomi/diddle">GitHub</a>. © {{ now.year }} Jan Tuomi. All rights reserved.<br> + This site uses the <a href="https://www.oliviaking.com/inclusive-sans">Inclusive Sans</a> typeface. </p> {% endblock %} diff --git a/templates/poll.html.j2 b/templates/poll.html.j2 index b3975cf..c09f089 100644 --- a/templates/poll.html.j2 +++ b/templates/poll.html.j2 @@ -4,11 +4,11 @@ <h2><span class="contrast">{{ poll.title }}</span> by <i>{{ poll.author_name }}</i></h2> {% if poll.description %} - <p>{{ poll.description }}</p> + <pre class="poll-description">{{ poll.description }}</pre> {% endif %} {% if poll.choices | length == 0 %} -<p>No options available.</p> +<p style="margin-top: 20px;">No options available.</p> {% else %} <div class="display-mode-section"> |
