Carlos Fenollosa
98e70ff9b5
Merge pull request #54 from Puuhinen/master
Fixed hardcoded tag filename prefix
8 years ago
Alexey Shpakovsky
a5a196773a
suppress error messages and don't enter for loop when no tag files exist
8 years ago
Alexey Shpakovsky
93808a0254
don't invoke sed when no tag given
the bug was that sed was expecting file content on stdin when didn't receive
any filename, and script was "frozen" when someone tried to edit a post
without any tags.
8 years ago
Puuhinen
b4f01d6863
Fixed hardcoded tag filename prefix
posts_with_tags() invoked sed with a hardcoded `tag_&.html`.
Changed to `$prefix_tags&.html`.
8 years ago
Carlos Fenollosa
8dceb6a29c
Merge branch 'master' of github.com:cfenollosa/bashblog
8 years ago
Carlos Fenollosa
611bd67bf7
Updated version and contributors
8 years ago
Carlos Fenollosa
f68db9143c
Updated README with markdown references
8 years ago
Carlos Fenollosa
0b12c0d69b
Merge pull request #53 from Lex-2008/small-fixes/4
Small fixes/4
8 years ago
Carlos Fenollosa
07c7e201dd
Merge pull request #52 from Lex-2008/rebuild-less-tags
Rebuild less tags
8 years ago
Alexey Shpakovsky
773bcc1f85
help text
8 years ago
Alexey Shpakovsky
7d67da7b27
use file extension when posting with `bb.sh post file.ext`
but let users override it with `bb.sh post -html file.md`
8 years ago
Alexey Shpakovsky
555db3167f
use markdown by default (if available) when posting with `bb.sh post`
8 years ago
Alexey Shpakovsky
840d24c4ac
Don't ask for preview - just show URL for preview
8 years ago
Alexey Shpakovsky
0b75439f41
fix typos in comments
8 years ago
Alexey Shpakovsky
ff978ec101
proper check for empty variable
8 years ago
Carlos Fenollosa
211b9c565b
Merge pull request #50 from Lex-2008/small-fixes/3
Small fixes/3
8 years ago
Alexey Shpakovsky
b7cd230ae9
clean_filename in RSS links
8 years ago
Alexey Shpakovsky
e648b82250
don't rebuild tags if they were not involved at all
(otherwise posts_with_tags would endlessly freeze)
8 years ago
Alexey Shpakovsky
3c31fd3f60
use new functions
also bugfix: leave only unique filenames in rebuild_tags()
8 years ago
Alexey Shpakovsky
4558f43f4a
posts_with_tags() to list all posts referenced by several tag files
8 years ago
Alexey Shpakovsky
a52f2e6758
tags_in_post() to list all tags referenced in one post file
8 years ago
Alexey Shpakovsky
b34c7fbd0f
make rebuild_tags() optionally accept 2 lists (of filenames and tags)
8 years ago
Alexey Shpakovsky
97f413e666
one forgotten translated string template
8 years ago
Alexey Shpakovsky
feb7f415ce
$preview_url for those who writes posts locally before uploading them
8 years ago
Carlos Fenollosa
b0dd400d1c
Merge pull request #49 from Puuhinen/master
LC_ALL=C for all machine readable `date` output
8 years ago
Puuhinen
78fc6aacb7
LC_ALL=C for all machine readable `date` output
The script used to have LC_ALL=$date_locale for all calls to `date`.
However, this is undesirable for when $date_locale is non-English and
dates need to be machine readable, e.g. for `date --date=...` and
when generating RSS feeds.
8 years ago
Carlos Fenollosa
1929738073
Implement Lex's suggestion
8 years ago
Carlos Fenollosa
b2a27a5dc5
Merge branch 'master' of github.com:cfenollosa/bashblog
8 years ago
Carlos Fenollosa
d0f7e8eebd
New filename filtering
8 years ago
Carlos Fenollosa
852d4d9b32
Update README.md
8 years ago
Carlos Fenollosa
c8027a6205
updated README Markdown
8 years ago
Carlos Fenollosa
4789e1feaa
Merge pull request #47 from Lex-2008/master
Allow utf-8 filenames
8 years ago
Alexey Shpakovsky
5b71d1e524
add some options regarding filename generation:
* force to lowercase or not
* what symbol to use instead of space
* what symbols to allow in filenames (makes bashblog more utf-8 friendly)
8 years ago
Carlos Fenollosa
fbaa5118dd
Merge pull request #46 from Lex-2008/master
test markdown before editing *.md files
8 years ago
Alexey Shpakovsky
39c4a80cec
test markdown before editing *.md files
8 years ago
Carlos Fenollosa
ac7437778e
Update README.md
8 years ago
Carlos Fenollosa
efbb68dfb4
Fixed additional characters in all_tags.html
8 years ago
Carlos Fenollosa
e5b831b375
Typos
8 years ago
Carlos Fenollosa
30579df667
Added demo image to README
8 years ago
Carlos Fenollosa
46f92ee177
Update README.md
8 years ago
Carlos Fenollosa
88cfef4050
Fixed extra './' strings bug introduced in last commit
8 years ago
Carlos Fenollosa
8f4951219e
Fixed extra './' strings bug introduced in last commit
8 years ago
Carlos Fenollosa
5bd63c9be3
Merge pull request #43 from nonas/master
do not iterate over ls output where possible
8 years ago
nonas
a57aa4fe4e
do not iterate over ls output where possible + protection on 'name with dashes becoming options'
8 years ago
Carlos Fenollosa
b044ef73bc
Change help to reflect possibility of editing md files
8 years ago
Carlos Fenollosa
8cc568fb4a
Merge branch 'master' of github.com:cfenollosa/bashblog
8 years ago
Carlos Fenollosa
dc84ebde19
fix #42
8 years ago
Carlos Fenollosa
ea8e10a59c
Update README.md
updated original link
8 years ago
Carlos Fenollosa
236fdae71c
Fixed bug with yesterday.tar.gz
8 years ago
Carlos Fenollosa
777b90a7c8
Merge pull request #39 from Lex-2008/save-md
Save md
8 years ago