diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 30b6bc8..5b9094e 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -28,7 +28,7 @@ jobs: - name: Build Pygments CSS run: pygmentize -S default -f html > theme/static/css/pygment.css - name: Build site - run: pelican -s publishconf.py + run: pelican -s publishconf.py --fatal warnings - name: Run tests run: python test.py - name: Setup Pages diff --git a/pelicanconf.py b/pelicanconf.py index d18ff0a..7188cf7 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -121,8 +121,6 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str: ) LOG_FILTER = ( - # Remove when fixed: https://github.com/getpelican/pelican/pull/3544 - (logging.WARN, "Feeds generated without SITEURL set properly may not be valid"), # Alt tag is explicit in Markdown, so this warning doesn't make sense. (logging.WARN, "Empty alt attribute for image %s in %s"), ) diff --git a/theme/templates/base.html b/theme/templates/base.html index 72294ad..f8e6158 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -2,7 +2,6 @@ {% block head %} {{- super() }} - {%- endblock head %} diff --git a/theme/templates/page.html b/theme/templates/page.html index 8afae12..81f8c07 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -1,13 +1,6 @@ {% extends "!simple/page.html" %} -{% block content %} -
-
-

{{ page.title }}

-
- {% import 'translations.html' as translations with context %} - {{ translations.translations_for(page) }} - +{% block page_content %} {% if page.links %}
{% for link in page.links %} @@ -16,14 +9,5 @@

{{ page.title }}

{% endif %} - {{ page.content }} - - {% if page.modified %} - - {% endif %} -
+ {{ super() }} {% endblock %}