let the template generator compute relative paths

Instead of hard-coding paths to the css, js, and images directories
let the template generator compute those and pass them to the template
context.

Change-Id: I27a55deeb68136fa826496ec3d0223a303346724
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann
2017-07-15 18:03:00 -04:00
parent f7b5b56b34
commit 4017c3e019
32 changed files with 15 additions and 71 deletions

View File

@@ -8,7 +8,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404 Not Found</title>
<!-- CSS in: {{ cssdir }}-->
{% set cssdir = './common/css/' %}
{% include 'templates/css.tmpl' %}
{% block content %}
<!-- Begin Page Content -->