We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f6662 commit cd32159Copy full SHA for cd32159
content/about.md
@@ -1,7 +1,7 @@
1
+++
2
title = "О проекте"
3
description = "Информация о цифровом архиве Соломбальской судоверфи"
4
-template = "page.html"
+template = "content-page.html"
5
6
7
# О проекте
templates/content-page.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="container mx-auto px-4 py-8">
+ <nav class="mb-8">
+ <a href="/" class="text-blue-600 hover:text-blue-800">← Назад на главную</a>
+ </nav>
8
9
+ <article class="bg-white shadow-lg rounded-lg overflow-hidden">
10
+ <div class="p-8 prose prose-lg max-w-none">
11
+ {{ page.content | safe }}
12
+ </div>
13
+ </article>
14
+</div>
15
+{% endblock content %}
0 commit comments