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
|
- name: Build
|
||||||
run: |
|
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
|
ssite build --output public
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
SITE_NAME = "dosage"
|
SITE_NAME = "dosage"
|
||||||
SITE_SUB = "a comic downloader and archiver"
|
SITE_SUB = "a comic downloader and archiver"
|
||||||
|
SITE_URL = 'https://dosage.rocks/'
|
||||||
SITE_AUTHOR = "Tobias Gruetzmacher"
|
SITE_AUTHOR = "Tobias Gruetzmacher"
|
||||||
SITE_LINKS = (
|
SITE_LINKS = (
|
||||||
{'name': 'Downloads', 'icon': 'download',
|
{'name': 'Downloads', 'icon': 'download',
|
||||||
|
@ -14,4 +15,5 @@ SITE_ICONS = (
|
||||||
'url': 'https://github.com/webcomics/dosage'},
|
'url': 'https://github.com/webcomics/dosage'},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
THEME_PATHS = ['.']
|
||||||
THEME = "doc/.theme"
|
THEME = "doc/.theme"
|
||||||
|
|
|
@ -74,8 +74,8 @@
|
||||||
|
|
||||||
<section id="content" class="two dark">
|
<section id="content" class="two dark">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% block content %}
|
{% block page_content %}
|
||||||
{{page.content|safe}}
|
{{ page.html_body() | safe }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue