commit
21fac7e7a0
1 changed files with 3 additions and 3 deletions
6
bb.sh
6
bb.sh
|
@ -170,7 +170,7 @@ google_analytics() {
|
||||||
# Please note that this function does not automatically republish anything, as
|
# Please note that this function does not automatically republish anything, as
|
||||||
# it is usually called from 'main'.
|
# it is usually called from 'main'.
|
||||||
#
|
#
|
||||||
# 'edit' is kind of an advanced function, as it leaves to the user the responsability
|
# 'edit' is kind of an advanced function, as it leaves to the user the responsibility
|
||||||
# of editing an html file
|
# of editing an html file
|
||||||
#
|
#
|
||||||
# $1 the file to edit
|
# $1 the file to edit
|
||||||
|
@ -405,7 +405,7 @@ rebuild_index() {
|
||||||
if [ "$global_feedburner" == "" ]; then
|
if [ "$global_feedburner" == "" ]; then
|
||||||
echo '<div id="all_posts"><a href="'$archive_index'">View more posts</a> — <a href="'$blog_feed'">'$template_subscribe'</a></div>' >> "$contentfile"
|
echo '<div id="all_posts"><a href="'$archive_index'">View more posts</a> — <a href="'$blog_feed'">'$template_subscribe'</a></div>' >> "$contentfile"
|
||||||
else
|
else
|
||||||
echo '<div id="all_posts"><a href="'$archive_index'">'$template_archive'</a> — <a href="'$global_feedburner'">Susbcribe</a></div>' >> "$contentfile"
|
echo '<div id="all_posts"><a href="'$archive_index'">'$template_archive'</a> — <a href="'$global_feedburner'">Subscribe</a></div>' >> "$contentfile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -598,7 +598,7 @@ reset() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main function
|
# Main function
|
||||||
# Encapsuled on its own function for readability purposes
|
# Encapsulated on its own function for readability purposes
|
||||||
#
|
#
|
||||||
# $1 command to run
|
# $1 command to run
|
||||||
# $2 file name of a draft to continue editing (optional)
|
# $2 file name of a draft to continue editing (optional)
|
||||||
|
|
Loading…
Add table
Reference in a new issue