Markus Steinlein
f0f28ea423
Added font awesome support to be able to use fancy icons.
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
Johannes Thumshirn
28dbeab463
tests: test routing of index
...
For sake of completeness test the presence of '/' and '/index.html' as
well.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
845739eb80
tests: test generation of dynamic pages
...
Test the generation of routes from the markdown input files stored
under pages.
Currently only the routing is tested, not the contents of the files.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Ayreonaut
81652f218e
Merge pull request #2 from morbidrsa/main
...
Followup
4 years ago
Johannes Thumshirn
0d9f944118
Merge pull request #16 from Ayreonaut/mst-articles
...
Festival blog posts from 2019
4 years ago
Johannes Thumshirn
99f1f651d6
Merge pull request #15 from frankenmichl/add_first_test
...
New Test: check if a method is implemented for each static page
4 years ago
Markus Steinlein
0189346ea4
Added my 2019 festival articles to the blog pages.
4 years ago
Ayreonaut
44a61e7303
Merge pull request #1 from morbidrsa/main
...
Followup
4 years ago
Michael Moese
70e1c8c5c9
New Test: check if a method is implemented for each static page
...
We need to route an endpoint for each statically defined web page, so
let's check if we have this defined for each html file in template,
except for pages.html and template.html.
Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago
Markus Steinlein
a8b034ccea
Added special decoration for external links and links to youtube content. Changed hyperlink color to "FdgL red".
4 years ago
Michael Moese
1c597f2319
Merge pull request #13 from morbidrsa/remove-example
...
pages: remove example post
4 years ago
Johannes Thumshirn
4c670ffed5
pages: remove example post
...
Not needed anymore, we have real posts to look at now.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
9b5b7538c6
Merge pull request #12 from frankenmichl/add_static_pages
...
Add static pages
4 years ago
Michael Moese
90118f0896
add privacy statement and update page navigation
...
Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago
Michael Moese
fd75c681d6
add impressum from old page with updated phone number
...
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
Johannes Thumshirn
fdaf90f707
Merge pull request #11 from Ayreonaut/mst-style
...
Logo and nav links will appear at top. Added sample article with some…
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
474fa988a6
Merge pull request #9 from morbidrsa/codecov
...
README: Add codecov badge
4 years ago
Johannes Thumshirn
7004f2b4b1
Merge branch 'main' into codecov
4 years ago
Michael Moese
01e3d19cc7
Merge pull request #8 from morbidrsa/build-badge
4 years ago
Michael Moese
35b827fc78
Merge pull request #10 from morbidrsa/gitignore
...
gitignore: add a .gitignore
4 years ago
Johannes Thumshirn
e746a41270
gitignore: add a .gitignore
...
Add a .gitignore and ignore __pycache__/ and vim's swap files.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
b41c1310ae
README: Add codecov badge
...
Add codecov badge as well
4 years ago
Johannes Thumshirn
b4653b9111
README: Add travel build badge
...
Add Travis Build Badge for app
4 years ago
Johannes Thumshirn
57feb486a8
Merge pull request #7 from frankenmichl/travis
...
Add a basic travis configuration
4 years ago
Michael Moese
b35508d02e
Add a basic travis configuration
...
This should help us getting a basic CI running.
Disable pytest until we have some tests
Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago
Michael Moese
9a0657fbd2
Merge pull request #4 from morbidrsa/new-style
...
templates: create new style
4 years ago
Michael Moese
a6f7541af9
Merge pull request #3 from morbidrsa/app-fix
...
app: fix syntax error
4 years ago
Johannes Thumshirn
35c12af0bb
templates: create new style
...
Create new style without the need to relay on bootstrap and jQuery.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
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
76e4cc96bc
Merge pull request #2 from morbidrsa/bootstrap
...
template: add bootstrap
4 years ago
Johannes Thumshirn
9c496d6fd0
template: add favicon
...
Add a F.D.G.L. Logo as favicon.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
80038d940a
template: add bootstrap
...
Add the bootstrap web framework.
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
4 years ago
Johannes Thumshirn
d8167fbd72
Merge pull request #1 from frankenmichl/add_tests
...
Add tests
4 years ago
Michael Moese
5884e192f2
Some pycodestyle cleanups
...
Signed-off-by: Michael Moese <mmoese@suse.com>
4 years ago
Michael Moese
9b6798a180
Add a makefile with some default targets
...
Add some targets
- make help, print some usage help. Default target
- make setup to install requirements using pip (make sure to activate
your virtual environment first)
- make test will run the tests
- make clean, just a dummy for now
Add required tools for testing and code analysis to requirements.txt
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
ac7608958c
templates: add more basic html structure
...
Add a basic but this time now valid html structure.
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
Johannes Thumshirn
ddd8ea7d24
Initial Import
...
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
4 years ago