CSS + HTML change

This commit is contained in:
Yusur 2023-12-12 19:29:43 +01:00
parent acf918f656
commit 14e69ac291
20 changed files with 292 additions and 248 deletions

View file

@ -7,24 +7,26 @@
{% endblock %}
{% block content %}
<h1 id="firstHeading">{{ p.title }}</h1>
<div class="preview-subtitle">{{ T('backlinks') }}</div>
<main>
<h1 id="firstHeading">{{ p.title }}</h1>
<div class="preview-subtitle">{{ T('backlinks') }}</div>
<div class="inner-content">
{% if backlinks %}
<ul>
{% for op in backlinks %}
<li><a href="{{ op.get_url() }}">
{{ op.title }} (<strong>#{{ op.id }}</strong>)
</a></li>
{% endfor %}
</ul>
{% else %}
<p class="placeholder">{{ T("backlinks-empty") }}</p>
{% endif %}
</div>
<div class="inner-content">
{% if backlinks %}
<ul>
{% for op in backlinks %}
<li><a href="{{ op.get_url() }}">
{{ op.title }} (<strong>#{{ op.id }}</strong>)
</a></li>
{% endfor %}
</ul>
{% else %}
<p class="placeholder">{{ T("backlinks-empty") }}</p>
{% endif %}
</div>
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
</main>
{% endblock %}