1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44: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' %}
{% block prehead %}
<meta name="author" content="{{ wiki_log.editor.username }}">
<meta name="description" content="{{ wiki_page.content[:97] }}...">
{% if wiki_page %}
<meta name="author" content="{{ wiki_log.editor.username }}">
<meta name="description" content="{{ wiki_page.content[:97] }}...">
{% endif %}
{% endblock %}
{% block pagetitle %}