diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2025-04-29 18:51:40 +0100 | 
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2025-04-29 18:51:40 +0100 | 
| commit | 0e8ada1eff8799437c9be1bc2af10d6198fa8cad (patch) | |
| tree | 65d40b0c83fc2477306d561d8b98741e8e6585c6 /edaweb/templates/diary.html.j2 | |
| parent | 9e077a790919e2980111262fbde500a5cee828f8 (diff) | |
| download | eda.gay-0e8ada1eff8799437c9be1bc2af10d6198fa8cad.tar.gz eda.gay-0e8ada1eff8799437c9be1bc2af10d6198fa8cad.zip | |
Added inline HTML into blogposts, refactored a bit
Diffstat (limited to 'edaweb/templates/diary.html.j2')
| -rw-r--r-- | edaweb/templates/diary.html.j2 | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/edaweb/templates/diary.html.j2 b/edaweb/templates/diary.html.j2 new file mode 100644 index 0000000..f6604f7 --- /dev/null +++ b/edaweb/templates/diary.html.j2 @@ -0,0 +1,26 @@ +{% 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/{{ diary_account }}">diary account</a> <br> <a href="https://shadowban.yuzurisa.com/{{ diary_account }}">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> +            <dd> +                <ol id="diaryentry"> +                    {% for entry in entries %} +                        {% if entry["images"] != [] %} +                            <ul> +                                {% for img in entry["images"] %} +                                    <li><a href="{{ img }}" target='_blank'><img src="{{ img }}"></a></li> +                                {% endfor %} +                            </ul> +                        {% endif %} +                        <li> +                            <p>{{ entry["text"] }}</p> +                        </li> +                    {% endfor %} +                </ol> +            </dd> +        {% endfor %} +    </dl> +{% endblock %} | 
