Add darkmode

Prettier titles
This commit is contained in:
Michał Gdula 2023-07-21 13:25:33 +01:00
parent b6077f88ed
commit 0ddc2a20b2
15 changed files with 187 additions and 76 deletions

View file

@ -9,7 +9,7 @@
<header>
<img src="{{ article.thumb.url }}" alt="{{ article.title }}">
<h1>{{ article.title }}</h1>
<p>{{ article.date }}</p>
<p>{{ article.date|date:"jS M, Y" }}</p>
</header>
{% endblock %}

View file

@ -4,7 +4,7 @@
{% for article in articles %}
<a href="{% url 'articles:detail' slug=article.slug %}" class="article">
<h2>{{ article.title }}</h2>
<p>{{ article.date|date:"jS M, Y" }}</p>
<p>{{ article.date|timesince }}</p>
</a>
{% endfor %}
{% endblock %}

View file

@ -2,7 +2,7 @@
{% load static %}
{% block content %}
<h1>Hello, stranger!</h1>
<h1 class="fancy">Leggy&nbsp;Land!!!!!!</h1>
<h2>About Meeeeee</h2>
<p>My name is Fluffy, I'm an 18-year-old nerd, who likes to code and tinker with computers!</p>
<img src="{% static 'images/sneak.png' %}" alt="FluffyBean" style="width:11rem;float:right;" width="178" height="126">