1
0
mirror of https://git.envs.net/envs/bashblog.git synced 2024-06-18 07:07:10 +00:00
Commit Graph

81 Commits

Author SHA1 Message Date
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
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
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
8b5ed42a2a New "all tags" index page 2014-02-27 18:07:01 +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
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
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
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
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
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
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
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
Carlos Fenollosa
8285873bc7 Allow personalized header/footer files 2014-01-09 19:50:27 +01:00
djura-san
4bf7871d79 added check for "diff" since that tool is not part of the core utils therefore it may not be present on all machines 2013-12-24 15:12:58 +01:00
Carlos Fenollosa
5e14442cc7 Fixed bug in markdown detection 2013-12-23 21:09:22 +01:00
Carlos Fenollosa
9f07bdbc3d Extended the Markdown support info 2013-12-23 21:01:01 +01:00
Carlos Fenollosa
2559651d6e Added markdown support, full support for BSD 'date' (i.e. OSX) 2013-12-23 20:49:31 +01:00
Carlos Fenollosa
fcfb23626e Removed duplicate license 2013-12-14 18:41:26 +01:00
Carlos Fenollosa
70e59269ce Licensed by GPL v3. Closes #18 2013-12-11 10:37:33 +01:00
Carles Fenollosa
ea176b82b7 Fixed bug in Twitter localization 2013-09-26 11:42:03 +02:00
Carles Fenollosa
9e0b255201 Forgot to change version number 2013-09-26 11:38:55 +02:00
Carles Fenollosa
f06d299749 Fixed a bug in localized dates 2013-09-26 11:29:03 +02:00
Carlos Fenollosa
251e968314 Now supporting BSD date 2013-06-12 23:18:58 +02:00
Carlos Fenollosa
dee648833e Merge pull request #15 from subtleq/master
Potential Fix For Issue #3
2013-06-12 14:17:07 -07:00
djura-san
84168e24d4 Corrected contributor name 2013-06-11 02:55:12 +02:00
subtleq
4ea22be412 Fix For "BSD 'date' does not have the -R option"
modified date calls on lines 514, 515, 531, and 628 to use
+"%a, %d %b %Y %H:%M:%S %z"
in place of
-R
for compatibility with BSD systems.

This commit has not been tested, but should work.
2013-06-06 18:01:22 -06:00
Carles Fenollosa
68b7f58a3a Updated contributors 2013-06-05 12:39:52 +02:00