tmp-gitea/templates/index.html

66 lines
2.2 KiB
HTML

{% set description = "The Gitea Community is asking Gitea Owners to correct
conflicts of interest and restore Community Trust." %} {% set headline =
"Restoring Trust in the Gitea Project" %} {% set title = "Open Letter to Gitea"
%}
<!DOCTYPE html>
<html lang="{% if lang %}{{ lang }}{% else %}en{% endif %}">
{% include "head.html" %}
<body>
<div class="container">
<header>
<h1><a href="{{ config.base_url }}">{{ title }}</a></h1>
<div class="nav__spacer"></div>
<nav>
{% block sidebar_nav %} {% for menu_link in
config.extra.anpu_menu_links %} {% set link_url = menu_link.url |
replace(from="$BASE_URL", to=config.base_url) %}
<a class="nav__link" href="{{ link_url }}">{{menu_link.name}}</a>
{% endfor %} {% endblock sidebar_nav %}
</nav>
</header>
<main id="main" tabindex="-1">
{% block content %}
<article class="post">
<img
class="header-img"
height="300px"
width="300px"
src="/logo.png"
alt="Gitea Open Letter logo"
/>
{% for page in section.pages %}
<p class="banner--highlight">
{% if page.title == "Gitea Ltd confirms its takeover of the Gitea project" %}
<div class="content">{{ page.content | safe }}</div>
{% endif %}
</p>
{% if page.title == "Gitea Open Letter" %}
<p class="banner">
Click
<a
href="{{ get_url(path='updates/atom.xml', trailing_slash=false) }}"
><button class="banner__btn">here</button>
</a>
to subscribe for daily updates!
</p>
<br />
<hr />
<br />
<div class="content">{{ page.content | safe }}</div>
{% endif %} {% endfor %}
</article>
{% endblock content %}
</main>
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{
get_url(path="updates/atom.xml", trailing_slash=false) }}"> {% include
"footer.html" %}
</div>
</body>
<!-- realaravinth: theme stolen from https://github.com/zbrox/anpu-zola-theme (MIT) -->
</html>