fixed design for newspage and post

This commit is contained in:
Federico Justus Denkena 2023-11-04 01:55:35 +01:00
parent 2d09a0ac47
commit 1f25aa16cb
Signed by: f-denkena
GPG Key ID: 28F91C66EE36F382
2 changed files with 5 additions and 5 deletions

View File

@ -7,14 +7,14 @@
<p class="dc-center dc-large">Erfahren Sie das Neuste über die IM-PULS-Tagung in unserem kleinen Mini-Blog!</p>
<div class="dc-container">
{% for obj in latest %}
<div class="dc-container dc-light-grey dc-border-dark-grey dc-border-top max-width" href="{% url 'post' obj.slug %}">
<div class="dc-container dc-primary-background dc-border-dark-grey dc-border-top max-width dc-round" href="{% url 'post' obj.slug %}">
<div><a href="{% url 'post' obj.slug %}" class="dc-xlarge">{{ obj.title }}</a></div>
<div><a href="{% url 'post' obj.slug %}" class="dc-medium">{{ obj.overview }}</a></div>
{% for category in obj.categories.all %}
<p class="dc-small">Kategorie: {{ category.title }}</p>
{% endfor %}
</div>
<div class="dc-border-top dc-padding-small dc-border-dark-grey dc-white"></div>
<div class="dc-border-top dc-padding-small dc-border-dark-grey dc-page-background"></div>
{% endfor %}
</div>
</div>

View File

@ -4,10 +4,10 @@
{% block content %}
<div class="dc-container">
<h1 class="dc-xxxlarge dc-center">{{ post.title }}</h1>
<h2 class="dc-large dc-center">Autor: {{ post.author }}</h2>
<h1 class="dc-xxxlarge dc-center dc-primary-background dc-round">{{ post.title }}</h1>
<h2 class="dc-large dc-center dc-primary-background dc-round">Autor: {{ post.author }}</h2>
<div class="dc-container dc-medium">
<div class="dc-container dc-medium dc-primary-background dc-round">
{{ post.content | markdown | safe}}
</div>
</div>