From 16a4a3a84d9cf0a433c70b0a8488f74cf79cde51 Mon Sep 17 00:00:00 2001 From: Josh Borrow <joshua.borrow@durham.ac.uk> Date: Tue, 24 Apr 2018 16:32:04 +0100 Subject: [PATCH] Added link to docs on the homepage --- templates/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 9e39e55..ad52142 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,7 +13,12 @@ <div class='buttons'> {# TODO: Fix these static links #} - <a href="{{ link }}"> + <a href="{{ link[0] }}"> + <div class='btn btn-blue'> + <h2><i class="fa fa-book" aria-hidden="true"></i> Docs</h2> + </div> + </a> + <a href="{{ link[1] }}"> <div class='btn btn-orange'> <h2><i class="fa fa-gitlab" aria-hidden="true"></i> Get The Code</h2> </div> @@ -38,4 +43,4 @@ </div> {% endblock %} -{% block navbarjs %}{# Remove the JS for navbars from homepage #}{% endblock %} \ No newline at end of file +{% block navbarjs %}{# Remove the JS for navbars from homepage #}{% endblock %} -- GitLab