commit 8392f59923efcccd5ebbc686abf1c97db45a8093 Author: Pili Guerra pili@piliguerra.com Date: Thu May 30 13:35:11 2019 +0200
Add links and Calls to Action --- content/onion-services/setup/contents.lr | 4 +++- content/onion-services/ssl-tls/contents.lr | 4 ++++ templates/onion-services.html | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/content/onion-services/setup/contents.lr b/content/onion-services/setup/contents.lr index b17326b..08be1b7 100644 --- a/content/onion-services/setup/contents.lr +++ b/content/onion-services/setup/contents.lr @@ -12,7 +12,9 @@ title: Set up your .onion Service --- subtitle: Learn how to set up a .onion of your very own. --- -key: 2 +key: 1 +--- +cta: Get Started --- html: onion-services.html --- diff --git a/content/onion-services/ssl-tls/contents.lr b/content/onion-services/ssl-tls/contents.lr index 5d9233e..a699036 100644 --- a/content/onion-services/ssl-tls/contents.lr +++ b/content/onion-services/ssl-tls/contents.lr @@ -14,6 +14,10 @@ subtitle: Add more security and authenticity for your .onion. --- key: 2 --- +cta: Coming soon +--- html: onion-services.html --- body: + +Coming Soon \ No newline at end of file diff --git a/templates/onion-services.html b/templates/onion-services.html index 40e283a..07f8f54 100644 --- a/templates/onion-services.html +++ b/templates/onion-services.html @@ -15,16 +15,18 @@ </h2></a> <div class="row py-5"> {% for child in this.children|sort(attribute='key') %} + {% if child.key != '0' %} <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4"> <div class="card h-100 border-0"> <div class="card-body"> <h2 class="text-primary display-2"><i class="fas fa-{{ child.image }}"></i></h2> <h4 class="card-title text-primary">{{ child.title }}</h4> <p class="card-text">{{ child.subtitle }}</p> - <a href="{{ child.path|url }}">Call to action <i class="fas fa-arrow-right"></i></a> + <a href="{{ child.path|url }}">{{ child.cta }} <i class="fas fa-arrow-right"></i></a> </div> </div> </div> + {% endif %} {% endfor %} </div> <div class="row py-5 text-center mx-auto">