diff --git a/blop b/blop index d55f229..523393b 100755 --- a/blop +++ b/blop @@ -20,7 +20,7 @@ max_posts="10" # number of posts to list on the blog index, posts beyond this wi group_by_date=false # whether to group the main listing on the blog's index by dates date_format="%B %-d, %Y" short_date_format="%B, %Y" # format for date grouping in the archive and optionally on the index (see group_by_date above) -listing_format="./\"> by on " # rejig this and/or remove elements to taste. You may need to change delimeter when sed is used on this later if any of the fields contain slashes +listing_format="/\"> by on " # rejig this and/or remove elements to taste. You may need to change delimeter when sed is used on this later if any of the fields contain slashes ####################### @@ -147,7 +147,7 @@ for file in $(ls -t1 "$blogdir/markdown/"*.md); do archivelist="$archivelist
  • $listitem
  • \n" old_short_date=$short_date - sed -e "//r $temp/post" -e '//d' -e "s//$author/g" -e "s//$date/g" -e "s//$title/g" "$blogdir/post_template.html" > "$blogdir/posts/$title_nospaces.html" + sed -e "//r $temp/post" -e '//d' -e "s//$author/g" -e "s//$date/g" -e "s//$title/g" "$blogdir/post_template.html" > "$blogdir/posts/$title_nospaces/index.html" # prepare rss echo -e "\n$title\n$url/posts/$title_nospaces/\n$rssdate\n\n\n" >> $temp/rss done