From 7b4ddef553d6316fc7e3bb973727a46e66ee371e Mon Sep 17 00:00:00 2001 From: lambda Date: Fri, 17 Apr 2026 20:39:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _includes/main.njk | 2 +- _includes/post.njk | 8 ++++++++ posts/posts.json | 3 ++- static/css/base.css | 10 ++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 _includes/post.njk diff --git a/_includes/main.njk b/_includes/main.njk index ad7c45a..79aeb33 100644 --- a/_includes/main.njk +++ b/_includes/main.njk @@ -6,7 +6,7 @@ title: Cyclocrust 51 - + {{ title }} diff --git a/_includes/post.njk b/_includes/post.njk new file mode 100644 index 0000000..e44deb7 --- /dev/null +++ b/_includes/post.njk @@ -0,0 +1,8 @@ +--- +layout: main +--- + +
+

{{ title }}

+ {{ content | safe }} +
diff --git a/posts/posts.json b/posts/posts.json index 1a52240..91f7899 100644 --- a/posts/posts.json +++ b/posts/posts.json @@ -1,3 +1,4 @@ { - "layout": "main" + "layout": "post", + "tags": ["posts"] } diff --git a/static/css/base.css b/static/css/base.css index e14a7a4..ecb3bcf 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -1,6 +1,16 @@ body { + max-width: 1200px; background: black; color: white; + margin-inline: auto; + padding-inline: clamp(1rem, 5vw, 120px); +} + +.head { + display: flex; + flex-wrap: wrap; + padding-top: 2rem; + gap: 20px; } .head > .logo > svg {