Adding regions

This commit is contained in:
evilchili
2022-08-07 14:12:55 -07:00
parent d98e9a5e97
commit 6372b7bbe6
5 changed files with 221 additions and 5 deletions
@@ -1,6 +1,8 @@
{% 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 %}
{% set r = article.metadata.region %}
@@ -20,7 +22,7 @@
{{ article.content }}
{% set target = article.title.replace(' ', '_') %}
{% if self.is_dm() %}
{% if self.is_dm() or article.show_dm_content %}
<div class='statblock'>
<div style='cursor: pointer;'
onclick="document.getElementById('{{target}}').style.display=((document.getElementById('{{ target }}').style.display=='none')?'':'none');" ><h3>{{ article.title }}</h3></div>