Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)
1 change: 0 additions & 1 deletion theme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

{% block head %}
{{- super() }}
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygment.css" />
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/main.js" defer></script>
{%- endblock head %}
Expand Down
20 changes: 2 additions & 18 deletions theme/templates/page.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{% extends "!simple/page.html" %}

{% block content %}
<article>
<header>
<h2>{{ page.title }}</h2>
</header>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}

{% block page_content %}
{% if page.links %}
<div class="aio-post-links">
{% for link in page.links %}
Expand All @@ -16,14 +9,5 @@ <h2>{{ page.title }}</h2>
</div>
{% endif %}

{{ page.content }}

{% if page.modified %}
<footer>
<p>
Last updated: {{ page.locale_modified }}
</p>
</footer>
{% endif %}
</article>
{{ super() }}
{% endblock %}
Loading