additional places to replace url

master
lance 5 years ago
parent 03a95c05d9
commit 8f3e132781

@ -11,8 +11,8 @@ exclude:
title: "Secret Share" title: "Secret Share"
description: "A site for sharing secrets" description: "A site for sharing secrets"
secret_endpoint: https://xxxxx.execute-api.us-east-1.amazonaws.com/live/secret/ secret_endpoint: https://xxxxx.execute-api.us-east-1.amazonaws.com/live/secret/
background: /images/bg03.jpg
baseurl: /secret # no trailing or only slash baseurl: /secret # no trailing or only slash
background: images/bg03.jpg # without baseurl
# Copyright info # Copyright info
copyright_text: "Company Name" copyright_text: "Company Name"

@ -19,5 +19,5 @@
</div> </div>
</form> </form>
<a href="/retrieve/"><button class="switch_context">Retrieve Secret -></button></a> <a href="{{ site.baseurl }}/retrieve/"><button class="switch_context">Retrieve Secret -></button></a>
</div> </div>

@ -8,6 +8,6 @@
</div> </div>
</form> </form>
<div> <div>
<a href="/"><button class="switch_context">Create Secret -></button></a> <a href="{{ site.baseurl }}/"><button class="switch_context">Create Secret -></button></a>
</div> </div>
</div> </div>

@ -187,7 +187,7 @@ input, select, textarea {
top: 0; top: 0;
width: 100%; width: 100%;
z-index: 1; z-index: 1;
background-image: url({{ site.background }}); background-image: url({{ site.baseurl }}/{{ site.background }});
background-position: center; background-position: center;
} }

Loading…
Cancel
Save