Skip to content

Commit cd32159

Browse files
committed
about project page creation fixed
1 parent 78f6662 commit cd32159

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

content/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
+++
22
title = "О проекте"
33
description = "Информация о цифровом архиве Соломбальской судоверфи"
4-
template = "page.html"
4+
template = "content-page.html"
55
+++
66

77
# О проекте

templates/content-page.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% extends "base.html" %}
2+
3+
{% block content %}
4+
<div class="container mx-auto px-4 py-8">
5+
<nav class="mb-8">
6+
<a href="/" class="text-blue-600 hover:text-blue-800">← Назад на главную</a>
7+
</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

Comments
 (0)