diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2013-02-21 16:58:05 +0100 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2013-02-21 16:58:05 +0100 |
commit | db1f2111ec8203a6cd6ec9133a3523899ba81b89 (patch) | |
tree | 8dc6e8fdef11e33979d93d8211fa98f8e520249c | |
parent | 196c6ddc643b2fe74cca5a96a31b78aaee75de45 (diff) |
Fixed comments
-rwxr-xr-x | bb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -380,7 +380,7 @@ all_posts() { rm "$contentfile" } -# Generate the index.html with the content of the latest 10 posts +# Generate the index.html with the content of the latest posts rebuild_index() { echo -n "Rebuilding the index " newindexfile="$index_file.$RANDOM" @@ -390,7 +390,7 @@ rebuild_index() { contentfile="$newindexfile.content" done - # Create the content file, maximum 10 entries + # Create the content file n=0 for i in $(ls -t *.html); do # sort by date, newest first if [ "$i" == "$index_file" ] || [ "$i" == "$archive_index" ]; then continue; fi |