Commit Graph

320 Commits

Author SHA1 Message Date
Alexey Shpakovsky 175810b7a3 preserve date when editing post
pass it through parse_file to create_html_page
2014-03-10 09:22:20 +01:00
Alexey Shpakovsky 773c5fa363 add options to bring back old behavior and keep old filename 2014-03-10 09:22:20 +01:00
Alexey Shpakovsky b365aec797 show only text content in the editor 2014-03-10 09:22:19 +01:00
Alexey Shpakovsky 699ecc6005 move tag parsing to parse_file 2014-03-10 09:22:19 +01:00
Carlos Fenollosa 8762db0fb2 Merge pull request #33 from Lex-2008/cut-line-2
Cut line 2
2014-03-09 19:43:15 +01:00
Alexey Shpakovsky 8f5c7b4a27 make cutting optional 2014-03-01 10:09:34 +01:00
Alexey Shpakovsky 652e5f8053 make cut_line confugurable 2014-03-01 10:05:48 +01:00
Alexey Shpakovsky ff36737c12 get_post_title in make_rss(), too 2014-03-01 09:59:18 +01:00
Alexey Shpakovsky cf6bdb027b "Read more..." link for articles which were cut 2014-03-01 09:59:17 +01:00
Alexey Shpakovsky 7e7d1a8688 cut text (leave up to "<!-- text cut -->") in index and RSS
note that when requested to cut entry, it keeps stuff between text end and
entry end, so twitter button will still find its way into RSS feed

also fix indentation
2014-03-01 09:59:17 +01:00
Alexey Shpakovsky c581392bd4 use get_html_file_content while building index and RSS 2014-03-01 09:59:17 +01:00
Alexey Shpakovsky b6f4e1e892 Move text and title extraction to separate functions 2014-03-01 09:59:17 +01:00
Carlos Fenollosa 667d42fa78 Merge pull request #32 from Lex-2008/master
Make tags more international
2014-02-28 14:22:47 +01:00
Alexey Shpakovsky cec0baebf8 Make tags more international 2014-02-27 21:28:20 +01:00
Carlos Fenollosa 484f585cba Rewording of usage() 2014-02-27 18:14:14 +01:00
Carlos Fenollosa 430eb996cc all_tags needs to be called after rebuild_tags 2014-02-27 18:11:47 +01:00
Carlos Fenollosa c2d5beeb42 Merge branch 'master' of github.com:cfenollosa/bashblog 2014-02-27 18:07:12 +01:00
Carlos Fenollosa 8b5ed42a2a New "all tags" index page 2014-02-27 18:07:01 +01:00
Carlos Fenollosa fe72236ef2 link to blog 2014-02-27 17:49:38 +01:00
Carlos Fenollosa 3d73749f1a Added tag support 2014-02-27 16:48:15 +01:00
Carlos Fenollosa 948150ed92 Added tag support 2014-02-27 16:46:37 +01:00
Carlos Fenollosa 7476780742 Refactored get_post_title and is_boilerplate_file 2014-02-27 13:59:56 +01:00
Carlos Fenollosa a0fbc15f7f update author name 2014-02-27 10:24:54 +01:00
Carlos Fenollosa 44a14fbe05 changed author email 2014-02-27 10:24:20 +01:00
Carlos Fenollosa 03c70f6078 Merge pull request #30 from Lex-2008/master
small fixes
2014-02-27 10:23:38 +01:00
Alexey Shpakovsky d850e6d9d4 fix date format in output of "bb.sh list" 2014-02-26 19:58:15 +01:00
Alexey Shpakovsky 9ee8c6ae65 Update copyright year 2014-02-26 19:25:02 +01:00
Carlos Fenollosa fbc9d355de Merge pull request #28 from Lex-2008/relative-urls
Use relative URLs for links between pages
2014-02-25 08:27:00 +01:00
Aleksei Shpakovskii 0c2c0dca7c Use relative URLs for links between pages
Since the blog is just a folder, and all entries are just files,
we don't have to use $global_url when linking between them.
2014-02-24 20:46:54 +01:00
Carlos Fenollosa 75eeeba4bc Merge pull request #27 from Lex-2008/master
use template for all_posts.html page title
2014-02-24 18:19:36 +01:00
Aleksei Shpakovskii 1c4469005b use template for all_posts.html page title 2014-02-24 18:05:55 +01:00
Carlos Fenollosa 549805d9e3 Merge branch 'master' of github.com:cfenollosa/bashblog 2014-02-18 17:35:31 +01:00
Carlos Fenollosa 6da22dcf21 Support for other Analytics code 2014-02-18 17:34:41 +01:00
Carlos Fenollosa eeb8c057d9 Merge pull request #23 from pointychimp/master
Fix for <> in title when using markdown
2014-02-13 08:26:05 +01:00
Matt Traudt b2b87e584c Added a comment 2014-02-12 20:45:39 -06:00
Matt Traudt c1a400a368 Fixed title of page as well 2014-02-12 20:37:45 -06:00
Matt Traudt 64825ef6f7 Possible fix for extra brackets 2014-02-12 20:25:47 -06:00
Carlos Fenollosa 72b32a918f Merge branch 'master' of github.com:carlesfe/bashblog 2014-02-11 11:14:40 +01:00
Carlos Fenollosa 04bba75ce5 Removed echo 2014-02-11 11:14:31 +01:00
Carlos Fenollosa 4aaae26e92 Merge pull request #21 from Datyedyeguy/SkipFooterHeaderDuringRebuild
Don't process header/footer files as blog entries
2014-02-04 05:54:04 -08:00
Carlos Fenollosa 5b72b2ec4c Merge pull request #20 from Datyedyeguy/master
Stop Disqus "Comemnts?" link with no username
2014-02-04 05:52:54 -08:00
Hans Brigman f05f1e8340 Don't process header/footer files as blog entries
rebuild_all_entries wasn't checking if the file in question being
processed was a header or footer file that could be specified in the
configuration.  Now it checks and skips them if they exist [like the
index and archive file(s)].
2014-02-03 21:59:36 -05:00
Hans Brigman 96e26b5aa0 Stop Disqus "Comemnts?" link with no username
The twitter() method wasn't checking for an empty string for
global_disqus_username, so it would always generate the anchor tag for
the Disqus comments, even if global_disqus_username was an empty
string.  Now the '-z' flag has been added to check for the empty string
correctly.
2014-02-03 20:10:00 -05:00
Carlos Fenollosa 135a983166 Update README.md 2014-01-17 10:08:53 +01:00
Carles Fenollosa b004cdbcd8 Fixed bug when $body_begin_file was empty
Added extra line in the footer linking to the github project
2014-01-17 10:03:07 +01:00
Carlos Fenollosa ef3e350f29 Update README.md 2014-01-10 11:04:46 +01:00
Carlos Fenollosa fe518c5fce Update README.md 2014-01-10 11:02:07 +01:00
Carlos Fenollosa fda069c428 Update README.md 2014-01-10 10:51:48 +01:00
Carlos Fenollosa 57f5ef7694 Fixed bug in BSD date 2014-01-09 20:19:46 +01:00
Carlos Fenollosa 6c0dc4de48 Allow personalized header/footer files 2014-01-09 20:02:54 +01:00