Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed blank baseurl param problem with multiple configuration files
- Loading branch information
Showing
6 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
baseurl: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: "3" | ||
|
||
services: | ||
jekyll: | ||
image: jekyll/jekyll | ||
ports: | ||
- "4000:4000" | ||
command: /bin/bash -c 'PATH=$$PATH:/srv/jekyll/scripts; serve-lan' | ||
volumes: | ||
- .:/srv/jekyll | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
jekyll serve --watch --host "127.0.0.1" --baseurl "" | ||
jekyll serve --watch --host "127.0.0.1" --config _config.yml,_config.dev.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT | ||
jekyll serve --watch --host "0.0.0.0" --baseurl "" | ||
jekyll serve --watch --host "0.0.0.0" --config _config.yml,_config.dev.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT | ||
JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --baseurl "" | ||
JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --config _config.yml,_config.dev.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
JEKYLL_ENV=production jekyll serve --host "127.0.0.1" --baseurl "" | ||
JEKYLL_ENV=production jekyll serve --host "127.0.0.1" --config _config.yml,_config.dev.yml |