This commit is contained in:
2023-04-03 02:49:17 +02:00
parent 9c716bf4db
commit c4cb0c6d81
12 changed files with 2399 additions and 10 deletions

View File

@@ -11,11 +11,13 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="{{ get_url(path="styles/styles.css") | safe }}" />
<script defer data-domain="blog.kasperhermansen.com" src="https://plausible.front.kjuulh.io/js/script.js"></script>
</head>
<body>
<section class="section container mx-auto">
{% block content %} {% endblock %}
{% block content %} {% endblock %}
</section>
</body>

View File

@@ -18,7 +18,7 @@
<br />
<div class="blog-summary ">
{% if page.description %}
{{ page.description }}
<p>{{ page.description }}</p>
{% elif page.summary %}
{{ page.summary | safe }}&hellip;
{% else %}

View File

@@ -2,9 +2,12 @@
{% block content %}
{{ prev_macros::page_back_link(page=page) }}
<div class="mx-auto px-4 max-w-3xl py-8">
<div class="py-2">
{{ prev_macros::page_back_link(page=page) }}
</div>
<article class="blog-content">
<h1 class="title">
{{ page.title }}

View File

@@ -1,16 +1,15 @@
{% extends "base.html" %}
{% block content %}
<div class="container mx-auto px-4 max-w-3xl py-8 space-y-4">
{% if section.ancestors | length > 0 %}
{{ prev_macros::section_back_link(section=section) }}
{% if section.ancestors | length > 0 %}
{{ prev_macros::section_back_link(section=section) }}
{% endif %}
{% if section.extra.section_path -%}
{% set section = get_section(path=section.extra.section_path) %}
{% set section = get_section(path=section.extra.section_path) %}
{% endif -%}
<h1 class="title text-peach text-3xl">
{{ section.title }}