diff options
Diffstat (limited to 'websdk/hatta/templates/backlinks.html')
-rw-r--r-- | websdk/hatta/templates/backlinks.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/websdk/hatta/templates/backlinks.html b/websdk/hatta/templates/backlinks.html new file mode 100644 index 0000000..d6fc56c --- /dev/null +++ b/websdk/hatta/templates/backlinks.html @@ -0,0 +1,18 @@ +{% extends 'page.html' %} + +{% block meta %}<meta name="robots" content="NOINDEX, NOFOLLOW">{% endblock %} + +{% block page_title %} + <h1>{{ _("Links to %(title)s", title=title) }}</h1> +{% endblock %} +{% block title %}{{ _("Links to %(title)s", title=title) }} - {{ wiki.site_name }}{% endblock %} + +{% block content %} + <p>{{ _("Pages that contain a link to %(link)s.", + link=page.wiki_link(title)|safe)}}</p> + <ul class="backlinks"> + {% for page_title in pages %} + <li>{{ page.wiki_link(page_title)|safe }}</li> + {% endfor %} + </ul> +{% endblock %} |