add hostname to footer text

This commit is contained in:
2020-01-31 19:16:20 +01:00
parent 047169e080
commit 946c071aad
9 changed files with 21 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
Bye!
</p>
</div></div>
{{template "page_bottom"}}
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>

View File

@@ -112,7 +112,7 @@
<a href="mailto:support@pixeldrain.com">support@pixeldrain.com</a>
</p>
</div></div>
{{template "page_bottom"}}
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>

View File

@@ -39,7 +39,7 @@
})
});
</script>
{{template "page_bottom"}}
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>

View File

@@ -34,7 +34,7 @@
Fornax
{{end}}
</div></div>
{{template "page_bottom"}}
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>

View File

@@ -48,6 +48,10 @@
Twitter:&nbsp;<a href="https://twitter.com/Fornax96" target="_blank">@Fornax96</a>
Reddit:&nbsp;<a href="https://reddit.com/r/pixeldrain" target="_blank">/r/pixeldrain</a>
Medium:&nbsp;<a href="https://medium.com/pixeldrain" target="_blank">Pixeldrain</a>
<br/>
<span class="small_footer_text" style="font-size: .75em; line-height: .75em;">
page rendered by {{.Hostname}}
</span>
</div>
</div><!-- end page_body -->
{{end}}

View File

@@ -147,7 +147,7 @@
</div>
</div>
{{template "page_bottom"}}
{{template "page_bottom" .}}
<script>
'use strict';

View File

@@ -62,7 +62,7 @@
<br/>
</div></div>
{{template "page_bottom"}}
{{template "page_bottom" .}}
</body>
</html>
{{end}}