asklyphe/asklyphe-frontend/templates/announcement.html
husky 6fa292d1de
All checks were successful
/ build-all-services (push) Successful in 9m51s
add git hash to css + js + img for cache
this should invalidate the cache everytime we recompile the frontends on
a new git commit
2025-03-24 14:18:01 -07:00

44 lines
No EOL
1.5 KiB
HTML

{% extends "shell.html" %}
{% block title %}{{ announcement.title }}{% endblock %}
{% block head %}
<link rel="stylesheet" href="/static/themes/default/announcement.css?git={{ git_commit }}"/>
{% endblock %}
{% block page %}
<div class="main">
<div class="navbar">
<a href="/" class="lyphe">
<div id="lyphesmall">
<div class="bent-surrounding">
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png?git={{ git_commit }}"
alt="image of lyphe, our mascot!">
</div>
<div id="lyphetitlenav">
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask lyphe!"/>
</div>
</div>
</a>
</div>
<div class="pagecontent">
<div class="announcement-area">
<div class="pagegradient">
<div class="announcement-content">
<div class="announcement-title">
<h1>{{ announcement.title }}</h1>
<div class="announcement-date">{{ announcement.date }}</div>
<div class="announcement-author">posted by {{ announcement.creator }}</div>
<div class="announcement-body">
<p>{{ announcement.full|safe }}</p>
</div>
</div>
</div>
</div>
</div>
</div>
{% include "ui/footer.html" %}
</div>
{% endblock %}