diff options
author | Jan Dittberner <jandd@cacert.org> | 2018-03-29 21:26:12 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2018-03-29 21:26:12 +0200 |
commit | 94dcb5bd75faa4adaef9f56df197a42a5e978718 (patch) | |
tree | d4a11fae0058f92e7629d2c7719bdefc959ce32a /boardvoting/templates/footer.html | |
parent | 4dd5e0982050ae92a9a37cb62e606b2807a85c27 (diff) | |
download | cacert-boardvoting-94dcb5bd75faa4adaef9f56df197a42a5e978718.tar.gz cacert-boardvoting-94dcb5bd75faa4adaef9f56df197a42a5e978718.tar.xz cacert-boardvoting-94dcb5bd75faa4adaef9f56df197a42a5e978718.zip |
Use static assets for HTML templates
- implement custom http.Filesystem boardvoting.AssetFS
- replace "footer" and "header" with "footer.html" and "header.html"
- change renderTemplate to use Assets
- use boardvoting.GetAssetFS() with http.Fileserver
Diffstat (limited to 'boardvoting/templates/footer.html')
-rw-r--r-- | boardvoting/templates/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boardvoting/templates/footer.html b/boardvoting/templates/footer.html index f2bc089..fa873e5 100644 --- a/boardvoting/templates/footer.html +++ b/boardvoting/templates/footer.html @@ -1,4 +1,4 @@ -{{ define "footer" }} +{{ define "footer.html" }} </div> <script type="text/javascript"> $(document).ready(function() { |