Commit Graph

30 Commits

Author SHA1 Message Date
Homer 71729d322c * Headings of recent articles by user-defined amount
* Tags are processed as linked hash-tag
* Headings of articles on index.html are linked with anchors which point to
* an id build by timestamp or user-defined
* some additions to default stylesheet.
2020-04-14 23:32:41 +02:00
Homer f5ec071692 articles are in order and now can be created immediately without drafting.
Footer and aside region are now templated which made templating a bit more complicated.
At this moment I'm not sure how to deal with the 'recent' feature which could link to most recent articles. One could show last 5, only the last created and the last modified etc. But as the blog is not dynamic linking could be tricky ... I could use anchors to jump to certain articles but this doesn't solve that there will be no permalink ... Have to rethink this ...
2020-04-14 23:32:41 +02:00
maste9 54e43ba175 I obviously forgot to add some files to repository which broke templation. 2020-04-14 23:32:41 +02:00
maste9 78d2ccdbc6 Now it sorts articles correctly on update. 2020-04-14 23:32:41 +02:00
maste9 6e0226028d Still dealing with this sorting issue. I must sort the list in any way which it doesn't actually. 2020-04-14 23:32:41 +02:00
Homer f3169226c2 broken at this moment! Trying to get articles into order. The problem is that I only put date into article_dictionary but need the time also to sort articles by creation. 2020-04-14 23:32:41 +02:00
maste9 64da3357c1 First success with templating articles into index.html
Markdown works rudimentary. Unfortunately it does not support some features by now maybe due to my poor templating without correct line breaking?
2020-04-14 23:32:41 +02:00
maste9 bdff627aee Some progress with the templating of articles. Not working. 2020-04-14 23:32:41 +02:00
maste9 c72d83cf39 Rudimentary article_to_html function with markdown module. 2020-04-14 23:32:41 +02:00
maste9 b2c1a34a98 tell .gitignore not to commit .txt files 2020-04-14 23:32:41 +02:00
maste9 e52104895b You can add a draft by 'draft add [name]' now and receive a simple template with current time and date and UNIX username as author. At this Time emacs is hardcoded as editor.
Also I expanded the 'blog update' program logic.
2020-04-14 23:30:46 +02:00
Homer 22df72569b added some comment lines, nothing of importance 2020-04-14 23:30:46 +02:00
Homer 3b161c257c Trying to use an editor (emacs) via subprocess-module to edit new draft. 2020-04-14 23:30:46 +02:00
Homer ec60f10c40 Working on argparse command structure. 2020-04-14 23:30:46 +02:00
maste9 f2fba94aa8 some minor stylesheet improvements and twiddles 2020-04-14 23:30:46 +02:00
maste9 d8c5a385c6 bla 2020-04-14 23:30:46 +02:00
maste9 c85ac83183 work on shell ui with argparse 2020-04-14 23:30:46 +02:00
maste9 33160dd3ac bla 2020-04-14 23:30:46 +02:00
maste9 9ff61743d2 Some twiddeling around with argparse. 2020-04-14 23:30:46 +02:00
maste9 55d2175710 Templating now works. So updating the index file is functioning. Rudimentary styling of page including flex-design for later mobile adjustment. 2020-04-14 23:30:46 +02:00
maste9 af7be060b5 Delete static.conf~ 2020-04-14 23:30:46 +02:00
maste9 d676b0b1a7 Delete index.html~ 2020-04-14 23:30:46 +02:00
maste9 f8c9bfc488 Delete index.htm~ 2020-04-14 23:30:46 +02:00
maste9 87b05a9467 Delete pb.conf~ 2020-04-14 23:30:46 +02:00
maste9 4017083f2d Delete main.py~ 2020-04-14 23:30:46 +02:00
maste9 20624d7be7 Added a blog directory for testing purposes 2020-04-14 23:30:46 +02:00
maste9 80291b0942 bla 2020-04-14 23:30:46 +02:00
maste9 f6f140735e First commit. 2020-04-14 23:30:46 +02:00
maste9 d6b9198953 Initial commit 2020-04-14 23:30:46 +02:00
Homer S. eb24dfd61b Initial commit 2020-04-14 23:08:16 +02:00