initial
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
<br />
|
||||
<div class="blog-summary ">
|
||||
{% if page.description %}
|
||||
{{ page.description }}
|
||||
<p>{{ page.description }}</p>
|
||||
{% elif page.summary %}
|
||||
{{ page.summary | safe }}…
|
||||
{% else %}
|
||||
|
@@ -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 }}
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user