add browse to index

This commit is contained in:
Christoph J. Scherr 2023-10-02 22:32:35 +02:00
parent 0d8afc96f2
commit 72407c1a3e
1 changed files with 42 additions and 31 deletions

View File

@ -1,10 +1,15 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% load i18n %} {% load i18n %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
{% block languagecode %}{{ LANGUAGE_CODE }}{% endblock languagecode %} {% block languagecode %}
{% block title %}{% translate "cscherr.de" %} - {% translate "Blog" %}{% endblock title %} {{ LANGUAGE_CODE }}
{% endblock languagecode %}
{% block title %}
{% translate "cscherr.de" %} - {% translate "Blog" %}
{% endblock title %}
{% block main %} {% block main %}
<div class="container-xl"> <div class="container-xl">
<div class="container text-center jumbotron my-3"></div>
<div class="jumbotron text-center"> <div class="jumbotron text-center">
<h1>{% translate "Was gibt es hier?" %}</h1> <h1>{% translate "Was gibt es hier?" %}</h1>
<p>{% translate "Blog" %}</p> <p>{% translate "Blog" %}</p>
@ -40,7 +45,13 @@
<div class="container text-center jumbotron my-3"> <div class="container text-center jumbotron my-3">
<h1 class="my-4">{% translate "Looking for anything specific?" %}</h1> <h1 class="my-4">{% translate "Looking for anything specific?" %}</h1>
{% include 'main_search_form.html' %} {% include 'main_search_form.html' %}
<h4 class="my-5">
<a href="{% url 'blog:browse' %}"
class="link-offset-2 link-underline link-underline-opacity-0">
{% translate "Browse articles" %}
</a>
</h4>
</div> </div>
{% include 'blog/featured.html' %} {% include 'blog/featured.html' %}
</div> </div>
{% endblock main %} {% endblock main %}