additional places to replace url

master
lance 5 years ago
parent 03a95c05d9
commit 8f3e132781

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

@ -19,5 +19,5 @@
</div>
</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>

@ -8,6 +8,6 @@
</div>
</form>
<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>

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

Loading…
Cancel
Save