Michael Moese
f93d9483b8
Make use of flask blueprints
...
Create a first main blueprint that contains all the routes for the
static endpoints. Also move app initialization into crate_app() function
Signed-off-by: Michael Moese <mmoese@suse.com>
2 years ago
Michael Moese
fd8f75a1b1
Move app configuration into config.py
...
Create a configurstion in a seperate config file that is loaded at
startup, allowing for proper configuration.
Signed-off-by: Michael Moese <mmoese@suse.com>
2 years ago
Michael Moese
bd4e5bec07
Move helper functions into own module
...
Helper functions are now inside utils.py, and are just imported from
there.
Signed-off-by: Michael Moese <mmoese@suse.com>
2 years ago
Markus Steinlein
8035f6e198
Added code that prevents old events to show up in events section. Edited Metal Franconia event. Added PartySan event.
3 years ago
Markus Steinlein
ac7b6a4c75
More sophisticated handling of event attending meta data.
4 years ago
Markus Steinlein
2df0002432
Added a page for upcoming events by establishing a second flat-pages instance. Added css styling and first contents.
4 years ago
Markus Steinlein
905f2b3147
Added a static contact page.
4 years ago
Markus Steinlein
8332fed3a4
Added german locale for date string.
4 years ago
Markus Steinlein
330c4c3f08
Added support for a simple rss feed.
4 years ago
Johannes Thumshirn
8224d5dbd4
Merge pull request #26 from Ayreonaut/fotogrid
...
Fotogrid & some cosmetics 3
4 years ago
Markus Steinlein
f68aad4c81
Truncated comment line to less that 80 chars.
4 years ago
Markus Steinlein
19677cb455
More style corrections.
4 years ago
Markus Steinlein
4b3d4023a3
Code cleanup to pass travis checks.
4 years ago
Markus Steinlein
2bfa284ecd
Some cosmetics to blog pages (user icon, hr, date formatting). Created folder drafts for posts that should be preserved, but not published yet.
4 years ago
Markus Steinlein
8bf2a86e5b
Moved fotogrid code to its own file. Created subfolder for static css.
4 years ago
Markus Steinlein
012828c80e
1st take on a simple responsive foto grid that supports being embedded into markdown blog posts via jinja. Needs some more modularisation though.
4 years ago
Johannes Thumshirn
b0a089481f
app: add SPDX indetifier
...
Add SPDX License Identifier for main app.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
52bd81f3a4
Merge pull request #14 from Ayreonaut/mst-style
...
Fontawesome support and automatic decorations for external links and links leading to youtube. Also changed link color to "FdgL red".
4 years ago
Michael Moese
90118f0896
add privacy statement and update page navigation
...
Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago
Markus Steinlein
2d73781530
Added font awesome support to be able to use fancy icons.
4 years ago
Markus Steinlein
6600f60a94
Logo and nav links will appear at top. Added sample article with some static images. Changed article meta data date format to german %d.%m.%Y. Added CSS styling for embedded blog post images.
4 years ago
Johannes Thumshirn
3c926e031f
app: fix syntax error
...
Fix syntax error in app.py.
Fixes: 5884e19
("Some pycodestyle cleanups")
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Michael Moese
5884e192f2
Some pycodestyle cleanups
...
Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago
Johannes Thumshirn
02a46a7a16
app: rename blogpost to index
...
Rename blogpost.html to index.html which is more intuitive.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
29a2ddba51
template: add navigation
...
Add navigation to a 'Verein' and a 'Impressum' page.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
4e599be173
app: add rendering of markdown
...
Add rendering of markdown files stored in the pages directory using
templates in the templates directory.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
aa829dd3fb
app: add basic flask app
...
Add a basic Flask "Hello World" as a starting point.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago