diff --git a/bb.sh b/bb.sh index 997def7..c2c2d1b 100755 --- a/bb.sh +++ b/bb.sh @@ -537,9 +537,8 @@ create_html_page() { echo '' >> "$filename" # content # Add disqus commments except for index and all_posts pages - if [[ ${filename%.*.*} != "index" && ${filename%.*.*} != "all_posts" ]]; then - disqus_body >> "$filename" - fi + [[ "$index" == "no" ]] && disqus_body >> "$filename" + # page footer cat .footer.html >> "$filename" # close divs