Build website with a current version of staticsite
This commit is contained in:
parent
9dab501ca9
commit
4389480a04
3 changed files with 5 additions and 3 deletions
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue