feat: Add rules
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ markdown_content.title }}</h1>
|
||||
<p>{{ markdown_content.content|safe }}</p>
|
||||
<h1>Rules</h1>
|
||||
{% include "fellchensammlung/list-rules.html" %}
|
||||
{% endblock %}
|
@@ -0,0 +1,5 @@
|
||||
<div class="list-rules">
|
||||
{% for rule in rules %}
|
||||
{% include "fellchensammlung/partial-rule.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
@@ -0,0 +1,3 @@
|
||||
{% load custom_tags %}
|
||||
<h2>{{ rule.title }}</h2>
|
||||
<p>{{ rule.rule_text | render_markdown }}</p>
|
Reference in New Issue
Block a user