diff --git a/deadsands/content/pages/index.md b/deadsands/content/pages/index.md index db75859..981671b 100644 --- a/deadsands/content/pages/index.md +++ b/deadsands/content/pages/index.md @@ -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. - diff --git a/deadsands/deadsands-theme/static/deadsands/css/style.css b/deadsands/deadsands-theme/static/deadsands/css/style.css index 684722a..476efb4 100644 --- a/deadsands/deadsands-theme/static/deadsands/css/style.css +++ b/deadsands/deadsands-theme/static/deadsands/css/style.css @@ -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; diff --git a/deadsands/deadsands-theme/templates/article.html b/deadsands/deadsands-theme/templates/article.html index 003a1b4..1f55e4e 100644 --- a/deadsands/deadsands-theme/templates/article.html +++ b/deadsands/deadsands-theme/templates/article.html @@ -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' %} diff --git a/deadsands/deadsands-theme/templates/base.html b/deadsands/deadsands-theme/templates/base.html index c8e60e0..3d6e665 100644 --- a/deadsands/deadsands-theme/templates/base.html +++ b/deadsands/deadsands-theme/templates/base.html @@ -11,6 +11,7 @@ {% endif %} {% endblock head %} + {% block extrahead %}{% endblock %} {% if is_dm %} diff --git a/deadsands/deadsands-theme/templates/page.html b/deadsands/deadsands-theme/templates/page.html index d4a069d..386778f 100644 --- a/deadsands/deadsands-theme/templates/page.html +++ b/deadsands/deadsands-theme/templates/page.html @@ -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 %}
diff --git a/deadsands/deadsands-theme/templates/pages/index.html b/deadsands/deadsands-theme/templates/pages/index.html index 3ef8c90..27aca8e 100644 --- a/deadsands/deadsands-theme/templates/pages/index.html +++ b/deadsands/deadsands-theme/templates/pages/index.html @@ -6,14 +6,11 @@
{{ page.content }}
- -
-

Recent Sessions

- {% with count=10, key='category', values=['sessions', 'test'] %}{% include "recent.html" %}{% endwith %} -
-
-

Recent Lore

- {% with count=10, key='category', values=['lore', 'dm'] %}{% include "recent.html" %}{% endwith %} + {% if page.show_recent %} +

Recent Posts

+ {% with count=10, key='category', values=['lore', 'mechanics', 'regions'] %}{% include "recent.html" %}{% endwith %} +
+ {% endif %}
{% endblock %}