1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Fix wiki new pages

This commit is contained in:
Steffo 2018-07-22 22:57:11 +02:00
parent 271a603d49
commit 44132069ec

View file

@ -1,8 +1,10 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block prehead %} {% block prehead %}
<meta name="author" content="{{ wiki_log.editor.username }}"> {% if wiki_page %}
<meta name="description" content="{{ wiki_page.content[:97] }}..."> <meta name="author" content="{{ wiki_log.editor.username }}">
<meta name="description" content="{{ wiki_page.content[:97] }}...">
{% endif %}
{% endblock %} {% endblock %}
{% block pagetitle %} {% block pagetitle %}