From e4dd22d7efd604df1180ce0cfe57b6023f6c6d9a Mon Sep 17 00:00:00 2001 From: Jarkko Saltiola Date: Wed, 3 Sep 2025 15:15:09 +0300 Subject: [PATCH 1/4] add missing section.html template for /documentation/ path --- templates/section.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/section.html diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..61e5f9d --- /dev/null +++ b/templates/section.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block body %} +{% include "header.html" %} + +
+ {% block content %} +
+ {{ section.content | safe }} +
+ {% endblock %} + + {% include "footer.html" %} +
+ +{% endblock body %} From e9490200d82ca60023f78f2a30ba9b5e3187fe6b Mon Sep 17 00:00:00 2001 From: Jarkko Saltiola Date: Wed, 3 Sep 2025 15:21:57 +0300 Subject: [PATCH 2/4] make /documentation/ redirect to /documentation/getting-started/ this path has not been used, maybe it should but redirecting now to where the current main documentation is --- content/documentation/_index.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/content/documentation/_index.md b/content/documentation/_index.md index 97072e9..1752816 100644 --- a/content/documentation/_index.md +++ b/content/documentation/_index.md @@ -4,4 +4,16 @@ insert_anchor_links = "right" paginate_by = 5 +++ -Documentation +# Documentation + +Welcome to the Phel documentation. Here you'll find comprehensive guides and references for using Phel. + +
+

Notice: You will be automatically redirected to the Getting Started guide in a few seconds.

+
+ + From 3c25e3b097a81e3cda1877354cae327480a30213 Mon Sep 17 00:00:00 2001 From: Jarkko Saltiola Date: Wed, 3 Sep 2025 15:23:41 +0300 Subject: [PATCH 3/4] list sub-pages in the section template shown for /tutorials/exercises/ as example --- templates/section.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/section.html b/templates/section.html index 61e5f9d..35d1718 100644 --- a/templates/section.html +++ b/templates/section.html @@ -7,6 +7,16 @@ {% block content %}
{{ section.content | safe }} + + {% if section.pages %} + + {% endif %}
{% endblock %} From ed3d945d5ce4b5138db3e9854e2e4f6a3093c254 Mon Sep 17 00:00:00 2001 From: Jarkko Saltiola Date: Wed, 3 Sep 2025 15:28:44 +0300 Subject: [PATCH 4/4] add quick temporary inline style to centralize content this template probably should be utilized better, it seems like it was forgotten when the site was designed --- templates/section.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/section.html b/templates/section.html index 35d1718..d5fb0da 100644 --- a/templates/section.html +++ b/templates/section.html @@ -5,7 +5,7 @@
{% block content %} -
+
{{ section.content | safe }} {% if section.pages %}