diff --git a/i2p2www/blog/helpers.py b/i2p2www/blog/helpers.py index 065d389e..3747c46e 100644 --- a/i2p2www/blog/helpers.py +++ b/i2p2www/blog/helpers.py @@ -104,7 +104,7 @@ def render_blog_post(slug): rendered_content = render_template_string(content) # publish the post with docutils - return publish_parts(source=rendered_content, source_path=BLOG_DIR, writer_name="html") + return publish_parts(source=rendered_content, source_path="BLOG", writer_name="html") def get_metadata_from_meta(meta): metaLines = meta.split('\n') diff --git a/i2p2www/static/styles/duck/default.css b/i2p2www/static/styles/duck/default.css index eb0273b4..300a4d3d 100644 --- a/i2p2www/static/styles/duck/default.css +++ b/i2p2www/static/styles/duck/default.css @@ -350,6 +350,21 @@ div#content .inner ul.DREAD { margin: 0 !important; } +.system-messages { + background-color: rgba(171, 204, 113, 0.7); + border: 1px dashed rgb(208, 14, 14); + border-radius: 5px; + margin: 5px; + padding: 5px; +} +.system-messages > h1 { + font-size: 1.2em !important; + text-align: left !important; +} +.system-messages > h1:after { + content: " (Please contact the website administrator)"; +} + /* * Footer */