Alexey Shpakovsky
74537033f3
bugfix: keep old page filename in the page's title link to itself
...
pass proper filename through parse_file to create_html_page
Bug was that when editing with "bb edit page.html" and changing title,
regenerated page.html had <h3><a class="ablack"> linking to newtitle.html
(non-existing file)
2014-03-18 23:50:25 +01:00
Alexey Shpakovsky
99fea81fcb
add tabstop to vim modeline
2014-03-18 21:40:50 +01:00
Carlos Fenollosa
8be94f6066
Merge pull request #35 from Lex-2008/small-fixes/1
...
Small fixes/1
2014-03-11 08:39:25 +01:00
Alexey Shpakovsky
132b51714b
Preserve line indentation in HTML file while rebuilding it
2014-03-10 19:50:05 +01:00
Alexey Shpakovsky
eef08c1984
cut on tag pages, too
2014-03-10 19:50:04 +01:00
Alexey Shpakovsky
52f974c606
Make filename generation routine play nice with Russian and Unix
2014-03-10 19:50:04 +01:00
Alexey Shpakovsky
b861d25a3a
Keep first backup of this day
...
it holds the version of the blog which was here "today in the morning".
this is useful for those who, like me, first do "bb.sh rebuild" few times
before realizing "oh damn I screwed up everything".
Note: you are not expected to screw up on midnight.
2014-03-10 19:50:03 +01:00
Alexey Shpakovsky
a8b9b02801
add vim modeline
2014-03-10 19:50:03 +01:00
Alexey Shpakovsky
0fc7058ae7
make CSS generation optional
2014-03-10 19:50:02 +01:00
Alexey Shpakovsky
abf6101439
Make inclusion of CSS files configurable
2014-03-10 19:50:01 +01:00
Carlos Fenollosa
2a02c34429
fixed touch on BSD utils
2014-03-10 19:18:14 +01:00
Carlos Fenollosa
45dee25b3d
Merge pull request #34 from Lex-2008/better-editing
...
Better editing
2014-03-10 18:36:50 +01:00
Alexey Shpakovsky
74c40baf64
add options to edit command
2014-03-10 09:26:41 +01:00
Alexey Shpakovsky
b3ea05ecd0
keep .html extension when editing
...
(to make synthax highlight work)
2014-03-10 09:26:20 +01:00
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