From 203b08d0447680d4266780dadf5726f6c82c2aaf Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sat, 24 May 2025 12:05:15 +0200 Subject: [PATCH] Fixed h1 margin on about page --- content/about.md | 2 -- sass/about.scss | 2 +- templates/about.html | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/content/about.md b/content/about.md index f9425bc..1f9b8f3 100644 --- a/content/about.md +++ b/content/about.md @@ -3,8 +3,6 @@ title = "About" template = "about.html" +++ -# About - I am an IT student at Charles University in Prague (Faculty of Education). As a member of [Microlab](https://microlab.space), the university's hackerspace, I collaborate on various hardware and software projects. Additionally, I contribute to the open-source community as a package maintainer for [Void Linux](https://voidlinux.org). diff --git a/sass/about.scss b/sass/about.scss index 1713acc..43708c4 100644 --- a/sass/about.scss +++ b/sass/about.scss @@ -2,9 +2,9 @@ h1 { font-size: 2rem; + margin-bottom: 2rem; } - h1, h2 { margin-top: 1rem; margin-bottom: .5rem; diff --git a/templates/about.html b/templates/about.html index 9990e04..02f2327 100644 --- a/templates/about.html +++ b/templates/about.html @@ -6,6 +6,7 @@ {% block content %}
- {{ page.content | safe }} +

{{ page.title }}

+ {{ page.content | safe }}
{% endblock content %}