added meta descriptions, fixed landing page recent list

This commit is contained in:
evilchili 2022-08-07 13:12:38 -07:00
parent 2873278789
commit d98e9a5e97
6 changed files with 14 additions and 11 deletions

View File

@ -7,9 +7,8 @@ status: hidden
date: 2022-07-09 11:00
---
## Welcome to Telisar...
The Second Era ended in fire. The Empire of Yanrin Didan -- "Glowing Sands" in the common tongue -- spanned half the continent of Vosh, from the Sea of Storms in the south and across the jungles of Dewa Q'Asos to the peaks of Hoard's Vault. Its civilization stood unchallenged for an age, until a great power swept aside their magics, destroyed their cities, and scorched the earth leaving behind only dry, dead rock. No one knows just what caused destruction on such a scale, for it is said that not one soul survived the cataclysm and now, a thousand years later, their name and thousands of miles of desert are all that remain. The Empire's arcane wonders, their secrets, and their doom all lie buried under the dead sands of the Sahwat.
But there are whispers. Rumours of hoppers returning from the desert streaming gold from their packs and long-dead artifacts suddenly glowing with new enchantments. Sightings of strange, twisted creatures appearing on the dunes only to disappear like a mirage. And rumours that somewhere in the heart of the Sahwat, through the magical storms, across the dunes, at the very seat of that dead empire: history is stirring.
Welcome to Telisar.

View File

@ -173,6 +173,10 @@ article.recent a.title {
font-style: normal;
}
article.recent h3, h4, h5, h6 {
display: none;
}
/* Custom page header */
.header {
position: relative;

View File

@ -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' %}

View File

@ -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>

View File

@ -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">

View File

@ -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 %}