better format for replacing config.yaml line
This commit is contained in:
parent
522039271c
commit
a3ba6fb507
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ pages:
|
|||
# simulate the drive being inserted
|
||||
- mv simulated-usb-butter usb-butter
|
||||
- "sed -i 's/^baseurl.*/baseurl: \"\\/butter-box-ui\"/' _config.yml"
|
||||
- "sed -i 's/^usb_butter_url.*/usb_butter_url: \"\\/usb-butter\"/' _config.yml"
|
||||
- "sed -i 's/^usb_butter_url.*/usb_butter_url: \"\/butter-box-ui\/\usb-butter\/\"/' _config.yml"
|
||||
- bundle exec jekyll build -d public
|
||||
# Now move the zip into the public dir so it gets served.
|
||||
- mv ./site-en.zip ./public/site-en.zip
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ title: Butter | Life without internet made smoother.
|
|||
description: >- # this means to ignore newlines until "baseurl:"
|
||||
Life without internet made smoother. Get access to tools that help.
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
usb_butter_url: "/usb-butter" # the language-invariant location of the USB Butter page
|
||||
usb_butter_url: "/butter-box-ui/usb-butter/"
|
||||
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
twitter_username: Butter App
|
||||
github_username: Butter App
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue