Build website with a current version of staticsite

This commit is contained in:
Tobias Gruetzmacher 2022-04-16 03:51:33 +02:00
parent 9dab501ca9
commit 4389480a04
3 changed files with 5 additions and 3 deletions

View file

@ -23,7 +23,7 @@ jobs:
- name: Build
run: |
pip install git+https://github.com/spanezz/staticsite.git@v1.2
pip install git+https://github.com/spanezz/staticsite.git@dcf41e4a2b2d3610f2561b08bee16088fbbd1b04 'jinja2<3.1'
ssite build --output public
- name: Deploy

View file

@ -1,6 +1,7 @@
# SPDX-License-Identifier: MIT
SITE_NAME = "dosage"
SITE_SUB = "a comic downloader and archiver"
SITE_URL = 'https://dosage.rocks/'
SITE_AUTHOR = "Tobias Gruetzmacher"
SITE_LINKS = (
{'name': 'Downloads', 'icon': 'download',
@ -14,4 +15,5 @@ SITE_ICONS = (
'url': 'https://github.com/webcomics/dosage'},
)
THEME_PATHS = ['.']
THEME = "doc/.theme"

View file

@ -74,8 +74,8 @@
<section id="content" class="two dark">
<div class="container">
{% block content %}
{{page.content|safe}}
{% block page_content %}
{{ page.html_body() | safe }}
{% endblock %}
</div>
</section>