Commit Graph

41 Commits

Author SHA1 Message Date
Homer S. fa18c7f02e merged old README file into the new README.md 2020-04-15 22:54:42 +02:00
Homer S. be4176c5ca Initial commit of an old repository on a new git server 2020-04-14 23:32:41 +02:00
maste9 da964bf068 MAHHHHH!!! Whyever this damn tag-links are broken!?! ... I must take a closer look on the dictionary to care for this bug ... :-/ 2020-04-14 23:32:41 +02:00
maste9 7e98cf7095 Now work on tag-pages is in progress. Obviously at this moment there will be some redundant processes on blog update which should later be reduced. But till then my primary object is to make everything work - though inefficiently. 2020-04-14 23:32:41 +02:00
maste9 4c712c2e20 Localized the time formats with locale module and corrected some hard coded formats to %x. After correcting dates in regard to this in the articles' txt-files everything worked wonderfully. 2020-04-14 23:32:41 +02:00
maste9 45c0ab82f2 Archived articles now can also be built as permanent links. The sidebar now shows years and months as anchor links to jump to the equivalent zones of archive list. 2020-04-14 23:32:41 +02:00
maste9 344bb82fb4 Now ...
There had been some restructuring on code:

* update_blog has been split up into functions which build index, archive and current articles separately
* Main's h1-title now shows the same terms like in nav-bar.
* Articles now have perma-links - at least for current articles at this moment. Same function will be added soon for archieved articles.

picoblogger is now close to beta testing I would claim ...
2020-04-14 23:32:41 +02:00
maste9 1ce84e67d0 Working on archive with per month list of articles and month shortcuts in sidebar. Trying to clean the code a bit up and to reuse more code. 2020-04-14 23:32:41 +02:00
maste9 f3f343a2a8 Any article older than one month now is moved to archive folder which is substructured into year and month folders.
Now I work on archive.html
2020-04-14 23:32:41 +02:00
maste9 62e460dc98 Working on archive. Articles should be moved to archive folder. 2020-04-14 23:32:41 +02:00
maste9 6aa2f3af4f * Work on archive and single article view.
Currently not working.
2020-04-14 23:32:41 +02:00
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