do not prepend full url to linklist

that breaks links when browsing locally and when https is not availeble or
vice-versa
pull/1/head
Alessandro Mauri 3 years ago
parent a5e0be8a3f
commit c49758a5c5
  1. 2
      rivet.sh

@ -183,7 +183,7 @@ sed -i -e 's/\.md$/\.html/' "$objlist"
# Create a list that contains the links to all html files
linklist="$(mktemp)"
cp -f "$objlist" "$linklist"
sed -i -e "s/^$destdir//" -e "s/^/$prefix:\/\/$domain/" "$linklist"
sed -i -e "s/^$destdir//" "$linklist"
# Insert metadata into <head>
if ! [ "$SKIP_META" ]; then

Loading…
Cancel
Save