-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmobile_disqus.tpl
30 lines (30 loc) · 1.21 KB
/
mobile_disqus.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{ assign var="VER_ENV" value=".v1.6" scope="global" }}
{{ assign var="DISQUSN" value="journalb-lab" }}
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{{ if $gimme->article->defined }}{{ $gimme->article->name }} | {{ elseif $gimme->section->defined }}{{ $gimme->section->name }} | {{ /if }}{{ $gimme->publication->name }}</title>
<link rel="stylesheet" type="text/css" href="{{ url static_file="_css/native-application.css" }}">
<link rel="stylesheet" type="text/css" href="{{ url static_file="_css/style$VER_ENV.css" }}">
</head>
<body>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = '{{ $gimme->article->number }}';
var disqus_shortname = '{{ $DISQUSN }}';
/* disqus: */
var disqus_config = function () {
this.language = "de_formal";
};
(function() {
/* Forum widget */
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
/* /disqus */
</script>
</body>
</html>