главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-02-04 05:54:04 -0800
committerCarlos Fenollosa <carlos.fenollosa@gmail.com>2014-02-04 05:54:04 -0800
commit4aaae26e927a593df9bed97142074233704f348e (patch)
tree6e1df3a3e87be9e7a430a6e3ff50d08b590eb9ec
parent5b72b2ec4c33278af72976d6d53edc98172a6c1b (diff)
parentf05f1e834024d5d0bcf30caa26807b24a4b2c5a7 (diff)
Merge pull request #21 from Datyedyeguy/SkipFooterHeaderDuringRebuild
Don't process header/footer files as blog entries
-rwxr-xr-xbb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bb.sh b/bb.sh
index 327b478..67461cc 100755
--- a/bb.sh
+++ b/bb.sh
@@ -712,7 +712,7 @@ rebuild_all_entries() {
echo -n "Rebuilding all entries "
for i in *.html; do # no need to sort
- if [[ "$i" == "$index_file" ]] || [[ "$i" == "$archive_index" ]]; then continue; fi
+ if [[ "$i" == "$index_file" ]] || [[ "$i" == "$archive_index" ]] || [[ "$i" == "$footer_file" ]] || [[ "$i" == "$header_file" ]]; then continue; fi
contentfile=".tmp.$RANDOM"
while [ -f "$contentfile" ]; do contentfile=".tmp.$RANDOM"; done