aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/head.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/head.tpl')
-rwxr-xr-xview/tpl/head.tpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl
new file mode 100755
index 000000000..5f874426c
--- /dev/null
+++ b/view/tpl/head.tpl
@@ -0,0 +1,21 @@
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<base href="{{$baseurl}}/" />
+<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable={{$user_scalable}}" />
+{{$metas}}
+{{$head_css}}
+{{$js_strings}}
+{{$head_js}}
+{{$linkrel}}
+{{$plugins}}
+<script>
+ var updateInterval = {{$update_interval}};
+ var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}};
+ var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
+ var justifiedGalleryActive = false;
+ {{if $channel_hash}}var channelHash = '{{$channel_hash}}';{{/if}}
+ {{if $channel_id}}var channelId = '{{$channel_id}}';{{/if}}{{* Used in e.g. autocomplete *}}
+ var preloadImages = {{$preload_images}};
+</script>
+
+
+