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,46 +1,57 @@
{% 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="jumbotron text-center"> <div class="container text-center jumbotron my-3"></div>
<h1>{% translate "Was gibt es hier?" %}</h1> <div class="jumbotron text-center">
<p>{% translate "Blog" %}</p> <h1>{% translate "Was gibt es hier?" %}</h1>
</div> <p>{% translate "Blog" %}</p>
<div class="row text-center"> </div>
<div class="col mx-3 my-5"> <div class="row text-center">
<h3>{% translate "Writeups" %}</h3> <div class="col mx-3 my-5">
<p> <h3>{% translate "Writeups" %}</h3>
{% blocktranslate %} <p>
{% blocktranslate %}
Whenever I discover some interesting security thing, I will post a writeup here. Whenever I discover some interesting security thing, I will post a writeup here.
{% endblocktranslate %} {% endblocktranslate %}
</p> </p>
</div> </div>
<div class="col mx-3 my-5"> <div class="col mx-3 my-5">
<h3>{% translate "Open Source" %}</h3> <h3>{% translate "Open Source" %}</h3>
{% blocktranslate %} {% blocktranslate %}
If something comes up, I may post Linux guides or my thoughts on current processes here. If something comes up, I may post Linux guides or my thoughts on current processes here.
{% endblocktranslate %} {% endblocktranslate %}
</div> </div>
<div class="col mx-3 my-5"> <div class="col mx-3 my-5">
<h3>{% translate "Selfhosting" %}</h3> <h3>{% translate "Selfhosting" %}</h3>
{% blocktranslate %} {% blocktranslate %}
Selfhosting is something that I'm really fond of. There will be guides and thoughts about that too Selfhosting is something that I'm really fond of. There will be guides and thoughts about that too
{% endblocktranslate %} {% endblocktranslate %}
</div> </div>
<div class="col mx-3 my-5"> <div class="col mx-3 my-5">
<h3>{% translate "Anything Really" %}</h3> <h3>{% translate "Anything Really" %}</h3>
{% blocktranslate %} {% blocktranslate %}
This is my personal Blog after all, I will put here whatever I want and you can't stop me. This is my personal Blog after all, I will put here whatever I want and you can't stop me.
{% endblocktranslate %} {% endblocktranslate %}
</div>
</div> </div>
<div class="container text-center jumbotron my-3">
<h1 class="my-4">{% translate "Looking for anything specific?" %}</h1>
{% 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>
{% include 'blog/featured.html' %}
</div> </div>
<div class="container text-center jumbotron my-3">
<h1 class="my-4">{% translate "Looking for anything specific?" %}</h1>
{% include 'main_search_form.html' %}
</div>
{% include 'blog/featured.html' %}
</div>
{% endblock main %} {% endblock main %}