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 {