Standardize file viewer template data and fix opengraph funcs

This commit is contained in:
Fornax committed 2019-02-19 23:10:04 +01:00
1 parent d27de283a8
commit d27e48fefc
6 files changed
+71 -69

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@
<script>
// This info gets filled in on the server side to prevent having to make an API call right after the page loads.
// Just to slice another few milliseconds from the load time :)
Viewer.init('{{.Type}}', {{.APIResponse}});
Viewer.init('{{.Other.Type}}', {{.Other.APIResponse}});
</script>
{{template "analytics"}}