Skip to content

Commit

Permalink
Fix semantic problems in news (refs #472)
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Mar 24, 2024
1 parent 8734938 commit eacc15a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ddcz/templates/news/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
{% load pages %}
{% load creations %}

{% block meta_description %}Domov všech hráčů Dračího Doupěte. Přes dvacet let doplňků, povolání, nestvůr do bestíáře, dobrodružství a debat o nich. Prostor pro seznámení hráčů a hráček a tvorbu družit.{% endblock %}

{% block content %}
<div id="page-news">
<h1 class="text-blue page-heading">Aktuality</h1>
<div>Vítejte na největším serveru o Dračím Doupěti. Najdete zde spoustu doplňků, článků či diskuzí k tématům. Pomocí menu "Skiny" si můžete změnit i vzhled tohoto webu, přesně podle Vašeho vkusu. Chcete-li využít všech funkcí tohoto webu, měli byste se zaregistrovat. </div>
<p>Vítejte na největším serveru o Dračím Doupěti. Najdete zde spoustu doplňků, článků či diskuzí k tématům. Pomocí menu "Skiny" si můžete změnit i vzhled tohoto webu, přesně podle Vašeho vkusu. {% if not user.is_authenticated %} Chcete-li využít všech funkcí tohoto webu, <a href="{% url 'ddcz:sign-up' %}">měli byste se zaregistrovat</a>.{% endif %}</p>
{% pagination news %}
<div class="article-list">
{% for n in news %}
Expand Down
6 changes: 3 additions & 3 deletions ddcz/templates/public.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<head>
<title>{% if page_title %}{{ page_title }}{% else %}DraciDoupe.cz{% endif %}</title>
<meta charset="utf-8">
<meta name="description" content="{% block meta_description %}{% if meta_description %}{{ meta_description }}{% endif %}{% endblock %}">
<meta name="viewport" content="width=device-width, initial-scale=1">

<!--
{% comment %}
<link rel="alternate" href="http://www.dracidoupe.cz/rss/novinky.xml" type="application/rss+xml" title="Nové články ze všech rubrik" />
-->
{% endcomment %}
<link rel="stylesheet" href="{{skin_css_url}}">
{% block styles %}{% endblock %}
<link rel="shortcut icon" type="image/svg" href="{{ skin_favico_url }}">
Expand Down

0 comments on commit eacc15a

Please sign in to comment.