do not prepend full url to linklist
that breaks links when browsing locally and when https is not availeble or vice-versa
This commit is contained in:
parent
a5e0be8a3f
commit
c49758a5c5
1 changed files with 5 additions and 5 deletions
2
rivet.sh
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…
Add table
Add a link
Reference in a new issue