@ -7,6 +7,7 @@ from flask_fontawesome import FontAwesome
from datetime import datetime
from fotogrid import fotogrid
# directly support jinja within markdown blogposts
# https://flask-flatpages.readthedocs.io/en/v0.7.1/
def markdown_with_jinja_renderer(text):
@ -14,7 +14,7 @@ html {
}
body {
text-size-adjust:100%
text-size-adjust:100%;
background-attachment: fixed;
background-color: #000000;
color: rgba(255, 255, 255, 0.75);
@ -6,6 +6,7 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<link rel="fotogrid stylesheet" href="{{ url_for('static', filename='css/fotogrid.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<title>FdgL - Freunde des geordneten Lärms</title>
</head>
<body class=post>
<div id="sidebar">
@ -3,6 +3,7 @@ import pytest
from app import app as flask_app
@pytest.fixture
def app():
yield flask_app
@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-3.0
import os
def test_index_html(app, client):
res = client.get('/index.html')
assert res.status_code == 200
def test_index(app, client):
for f in os.listdir('pages'):
if not f.endswith('.md'):
@ -7,6 +7,7 @@ import sys
import pytest
import pytest_cov.embed
def test_static_pages(app, client):
for f in os.listdir('templates'):