added meta descriptions, fixed landing page recent list
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% import "macros.html" as macros %}
|
||||
{% block title %}{{ article.title|capitalize }} - {{SITENAME}}{% endblock title %}
|
||||
{% block summary %}{{ article.summary|striptags }}{% endblock %}
|
||||
{% block key_image %}{{ macros.key_image(article) }}{% endblock key_image %}
|
||||
{% block content %}
|
||||
{% if not self.is_dm() and article.category == 'dm' %}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
{% endblock head %}
|
||||
<meta name="description" content="{% block summary %}{% endblock %}" />
|
||||
{% block extrahead %}{% endblock %}
|
||||
{% if is_dm %}
|
||||
<style type="text/css">.dm { display: block !important; }</style>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% import "macros.html" as macros %}
|
||||
{% block title %}{{ page.title }} - {{SITENAME}}{% endblock title %}
|
||||
{% block summary %}{{ page.summary|striptags }}{% endblock %}
|
||||
{% block key_image %}{{ macros.key_image(page) }}{% endblock key_image %}
|
||||
{% block content %}
|
||||
<section id="content">
|
||||
|
||||
@@ -6,14 +6,11 @@
|
||||
<hr>
|
||||
{{ page.content }}
|
||||
<hr>
|
||||
</div>
|
||||
<div class='column box curled'>
|
||||
<h3>Recent Sessions</h3>
|
||||
{% with count=10, key='category', values=['sessions', 'test'] %}{% include "recent.html" %}{% endwith %}
|
||||
</div>
|
||||
<div class='column box curled'>
|
||||
<h3>Recent Lore</h3>
|
||||
{% with count=10, key='category', values=['lore', 'dm'] %}{% include "recent.html" %}{% endwith %}
|
||||
{% if page.show_recent %}
|
||||
<h3>Recent Posts</h3>
|
||||
{% with count=10, key='category', values=['lore', 'mechanics', 'regions'] %}{% include "recent.html" %}{% endwith %}
|
||||
<hr>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user