--
This commit is contained in:
26
public/daily-quote.html
Normal file
26
public/daily-quote.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends "/base.html" %}
|
||||
{% block title %}今日の迷言 - Nercone{% endblock %}
|
||||
{% block extra_title %}Daily Quote{% endblock %}
|
||||
{% block header_desc %}日替わり迷言集{% endblock %}
|
||||
{% block extra_head %}
|
||||
<style>
|
||||
main {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
}
|
||||
.big-text {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 32pt;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<p class="text-small text-bold"><a href="/" class="text-no-decoration">← ホーム</a></p>
|
||||
<p class="text-highlight big-text">{{ get_daily_quote() }}</p>
|
||||
<div class="block">
|
||||
<p>日替わり迷言集です。毎日0:00 UTCに更新されます。</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user