rename .html templates to .jinja2 for more consistency
This commit is contained in:
parent
7f050afb8b
commit
2887d94a8c
36 changed files with 34 additions and 33 deletions
27
templates/backlinks.jinja2
Normal file
27
templates/backlinks.jinja2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Pages linking to “{{ p.title }}” - {{ app_name }}{% endblock %}
|
||||
|
||||
{% block meta %}
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 id="firstHeading">{{ p.title }}</h1>
|
||||
<div class="preview-subtitle">{{ T('backlinks') }}</div>
|
||||
|
||||
{% 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 %}
|
||||
|
||||
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue