diff --git a/bb.sh b/bb.sh
index 2176108..96d410a 100755
--- a/bb.sh
+++ b/bb.sh
@@ -160,6 +160,10 @@ global_variables() {
# feed file (rss in this case)
blog_feed="feed.rss"
number_of_feed_articles="10"
+ # "cut" blog entry when putting it to index page
+ # i.e. include only up to first
(---- in markdown)
+ # possible values: "cut", ""
+ cut_do="cut"
# Regexp matching the HTML line where to do the cut
# note that slash is regexp separator so you need to prepend it with backslash
cut_line=''
@@ -662,7 +666,11 @@ rebuild_index() {
for i in $(ls -t *.html); do # sort by date, newest first
is_boilerplate_file "$i" && continue;
if [[ "$n" -ge "$number_of_index_articles" ]]; then break; fi
- get_html_file_content 'entry' 'entry' 'cut' <$i | awk '/'"$cut_line"'/ { print "