diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/diary.html.j2 | 4 | ||||
-rw-r--r-- | templates/questions.html.j2 | 13 | ||||
-rwxr-xr-x | templates/template.html.j2 | 2 |
3 files changed, 17 insertions, 2 deletions
diff --git a/templates/diary.html.j2 b/templates/diary.html.j2 index 15cbe71..d7c363b 100755 --- a/templates/diary.html.j2 +++ b/templates/diary.html.j2 @@ -1,5 +1,7 @@ {% extends "template.html.j2" %} {% block content %} + <h4>this page might not be up-to-date if my diary account is search banned</h4> + <p>if in doubt check my <a href="https://twitter.com/FORMER_SHOTA">diary account</a> <br> <s>serves me right for using the official API instead of HTML scraping like i did with the <a href="/">recent tweets</a> thing</s> <br> <a href="https://shadowban.yuzurisa.com/FORMER_SHOTA">check if i'm currently search banned</a></p> <dl> {% for dt, entries in diary.items() %} <dt><a href="{{ entries[0]['link'] }}">{{ dt }}</a></dt> @@ -21,4 +23,4 @@ </dd> {% endfor %} </dl> -{% endblock %}
\ No newline at end of file +{% endblock %} diff --git a/templates/questions.html.j2 b/templates/questions.html.j2 new file mode 100644 index 0000000..2d0eaf2 --- /dev/null +++ b/templates/questions.html.j2 @@ -0,0 +1,13 @@ +{% extends "template.html.j2" %} +{% block content %} + <h4><a href="https://curiouscat.live/{{ curiouscat_username }}">ask a question!</a></h4> + <dl> + {% for id_, link, dt, question, answer in qnas %} + <dt><a href="{{ link }}">{{ dt.isoformat() }}</a></dt> + <dd> + <dt class="question"><p>{{ question }}</p></dt> + <dd class="answer"><p>{{ answer }}</p></dd> + </dd> + {% endfor %} + </dl> +{% endblock %} diff --git a/templates/template.html.j2 b/templates/template.html.j2 index b0bf62c..f80155d 100755 --- a/templates/template.html.j2 +++ b/templates/template.html.j2 @@ -33,7 +33,7 @@ </ul> </nav> </div> - <a href="/"> + <a id=sidebarImage href="/"> <img alt="{{image[0]}}" src="{{image[1]}}"> </a> </div> |