1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Add meta tags

This commit is contained in:
Steffo 2018-07-22 17:15:29 +02:00
parent 898400ef40
commit 271a603d49
5 changed files with 19 additions and 1 deletions

View file

@ -3,8 +3,9 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>{% block pagetitle %}{% endblock %} - Royal Games</title> <meta name="keywords" content="Royal Games, RYG, gaming">
{% block prehead %}{% endblock %} {% block prehead %}{% endblock %}
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
<link href="{{ url_for('static', filename='nryg.less') }}" rel="stylesheet/less" type="text/css"> <link href="{{ url_for('static', filename='nryg.less') }}" rel="stylesheet/less" type="text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.0.2/less.min.js" ></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.0.2/less.min.js" ></script>
{% block posthead %}{% endblock %} {% block posthead %}{% endblock %}

View file

@ -1,5 +1,9 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block prehead %}
<meta name="description" content="Il Diario Royal Games">
{% endblock %}
{% block pagetitle %} {% block pagetitle %}
Diario Diario
{% endblock %} {% endblock %}

View file

@ -1,5 +1,9 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block prehead %}
<meta name="description" content="La Royal Games su {{ game_name }}">
{% endblock %}
{% block pagetitle %} {% block pagetitle %}
{{ game_name }} {{ game_name }}
{% endblock %} {% endblock %}

View file

@ -1,5 +1,9 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block prehead %}
<meta name="description" content="Profilo Royalnet di {{ ryg.username }}">
{% endblock %}
{% block pagetitle %} {% block pagetitle %}
{{ ryg.username }} {{ ryg.username }}
{% endblock %} {% endblock %}

View file

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