From abf6101439fef07c0ae2260f9a8f6930fe620bad Mon Sep 17 00:00:00 2001 From: Alexey Shpakovsky Date: Sat, 1 Mar 2014 16:05:25 +0100 Subject: [PATCH] Make inclusion of CSS files configurable --- bb.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bb.sh b/bb.sh index 05cd414..0fdfb26 100755 --- a/bb.sh +++ b/bb.sh @@ -178,6 +178,8 @@ global_variables() { # extra content to add just after we open the tag # and before the actual blog content body_begin_file="" + # CSS files to include on every page + css_include=('main.css' 'blog.css') # Localization and i18n # "Comments?" (used in twitter link after every post) @@ -817,8 +819,9 @@ create_includes() { echo '' > ".header.html" echo '' >> ".header.html" echo '' >> ".header.html" - echo '' >> ".header.html" - echo '' >> ".header.html" + for css_file in ${css_include[*]}; do + echo '' >> ".header.html" + done if [[ "$global_feedburner" == "" ]]; then echo '' >> ".header.html" else