Skip to content

Commit

Permalink
Decrease size of headings
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaegel committed Nov 2, 2023
1 parent 36ce46d commit aa69086
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
PY?=
PELICAN?=pelican
PELICANOPTS=--extra-settings SITEURL='"/"'
PELICANOPTS=--extra-settings SITEURL='"http://localhost:8000"'

BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py


DEBUG ?= 0
ifeq ($(DEBUG), 1)
PELICANOPTS += -D
Expand Down
6 changes: 3 additions & 3 deletions themes/custom/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
<div class="headings">
<h2>{{ article.title }}</h2>
<h3>
<h3>{{ article.title }}</h3>
<h4>
<time datetime="{{ article.date.isoformat() }}">
{{ article.date.strftime("%A, %d. %B %Y") }}
</time>
</h3>
</h4>
</div>
</header>
<section>
Expand Down
2 changes: 1 addition & 1 deletion themes/custom/templates/categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% block title %}{{ SITENAME }} - Themen{% endblock %}
{% block content %}
<header>
<h2>Themen</h2>
<h3>Themen</h3>
</header>
<section>
{% for category, articles in categories|sort %}
Expand Down
2 changes: 1 addition & 1 deletion themes/custom/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<header>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
<h2>{{ page.title }}</h2>
<h3>{{ page.title }}</h3>
</header>
<section>
{{ page.content }}
Expand Down
2 changes: 1 addition & 1 deletion themes/custom/templates/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% block title %}{{ SITENAME }} - Tags{% endblock %}
{% block content %}
<header>
<h2>Tags</h2>
<h3>Tags</h3>
</header>
<section>
{% for tag, articles in tags|sort %}<a class="tags" href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% endfor %}
Expand Down

0 comments on commit aa69086

Please sign in to comment.