templates_fireinfo_modulesdir = $(templates_fireinfodir)/modules
templates_location_DATA = \
- src/templates/location/download.html \
src/templates/location/how-to-use.html \
src/templates/location/index.html \
+ src/templates/location/install.html \
src/templates/location/lookup.html
templates_locationdir = $(templatesdir)/location
</a>
<a class="navbar-item is-tab
- {% if request.path.startswith("/location/download") %}is-active{% end %}"
- href="/location/download">
- {{ _("Download") }}
+ {% if request.path == "/location/install" %}is-active{% end %}"
+ href="/location/install">
+ {{ _("Install") }}
</a>
{# Main #}
{% extends "../base.html" %}
-{% block title %}{{ _("Download") }}{% end block %}
+{% block title %}{{ _("Install IPFire Location") }}{% end block %}
{% block container %}
<section class="hero is-primary">
</a>
</li>
<li class="is-active">
- <a href="#" aria-current="page">{{ _("Download") }}</a>
+ <a href="#" aria-current="page">{{ _("Install") }}</a>
</li>
</ul>
</nav>
- <h1 class="title">{{ _("Download IPFire Location") }}</h1>
+ <h1 class="title">{{ _("Install IPFire Location") }}</h1>
<h6 class="subtitle">
Learn how to download and install <code>libloc</code>
</h6>
# Location
(r"/location/?", location.IndexHandler),
- (r"/location/download", StaticHandler, { "template" : "location/download.html" }),
+ (r"/location/download", tornado.web.RedirectHandler, { "url" : "/location/install" }),
(r"/location/how\-to\-use", StaticHandler, { "template" : "location/how-to-use.html" }),
+ (r"/location/install", StaticHandler, { "template" : "location/install.html" }),
(r"/location/lookup/(.+)", location.LookupHandler),
# Single-Sign-On for Discourse