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:
parent
271a603d49
commit
44132069ec
1 changed files with 4 additions and 2 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue