mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Create an initial style for 3rd edition with dark mode support
This commit is contained in:
22
blog/templates/edition-3/extra.html
Normal file
22
blog/templates/edition-3/extra.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "edition-3/base.html" %}
|
||||
|
||||
{% import "macros.html" as macros %}
|
||||
|
||||
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
|
||||
|
||||
{% block description -%}
|
||||
{{ page.summary | safe | striptags | truncate(length=150) }}
|
||||
{%- endblock description %}
|
||||
|
||||
{% block main %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ page.content | safe }}
|
||||
{% endblock main %}
|
||||
|
||||
{% block after_main %}
|
||||
<hr>
|
||||
<section>
|
||||
<h2>Comments</h2>
|
||||
{{ macros::utterances() }}
|
||||
</section>
|
||||
{% endblock after_main %}
|
||||
Reference in New Issue
Block a user