diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-26 21:12:13 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-10-27 12:13:12 +0300 |
commit | dbe07f26c71a15a9426bf0ae9d4b29be2cb7cd49 (patch) | |
tree | cbe5fa9933990e2f89162b76321ee5ba9d35656b /index.html | |
parent | bump dependencies (diff) | |
download | wireguard-config-dbe07f26c71a15a9426bf0ae9d4b29be2cb7cd49.tar.gz wireguard-config-dbe07f26c71a15a9426bf0ae9d4b29be2cb7cd49.zip |
index.html: use baseurl Liquid filter
Diffstat (limited to '')
-rw-r--r-- | index.html | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -61,8 +61,9 @@ params: configured on interface <code>wg0</code>. You can then generate the new client's keys, feed them to this page and it will show the configuration that can be easily consumed by the new client.</p> +{% assign example_url = '?server_public_key=a&server_endpoint=b%3A123&server_preshared_key=c&client_public_key=d&client_private_key=e&client_ipv4=192.168.1.1%2F24&client_ipv6=fd%3A%3A%2F48' %} <p class="text-muted">An example configuration (with bogus key values) can -be seen <a href="https://egor-tensin.github.io/wireguard-config/?server_public_key=a&server_endpoint=b%3A123&server_preshared_key=c&client_public_key=d&client_private_key=e&client_ipv4=192.168.1.1%2F24&client_ipv6=fd%3A%3A%2F48">here</a>.</p> +be seen <a href="{{ example_url | baseurl }}">here</a>.</p> </div> </div> |