Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* template var for carpool site * local dev config * cp_site file * support for thanks redirect
- Loading branch information
1 parent
69eea1e
commit b1ada4b
Showing
5 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
api: "https://api.carpoolvote.com/test" | ||
api: "https://api.carpoolvote.com/test" | ||
cp_site: "http://richardwestenra.com/voteamerica.github.io" |
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,2 @@ | ||
api: "http://localhost:8000" | ||
cp_site: "http://localhost:4000" |
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
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,7 @@ | ||
{% comment %} | ||
Change the carpool site url to the value defined in the relevant config file | ||
{% endcomment %} | ||
{% assign cp_site = site.cp_site %} | ||
{% if site.github.owner_name == 'richardwestenra' %} | ||
{% assign cp_site = 'http://richardwestenra.com/voteamerica.github.io' %} | ||
{% endif %} |
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