Archived
1
0

try fixing banners

This commit is contained in:
Jeff Becker 2016-01-20 12:08:01 -05:00
parent 33d95c2ef3
commit 97faee8d1d
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
4 changed files with 27 additions and 25 deletions

View File

@ -17,12 +17,6 @@
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title>{{board.Board}}</title>
</head>
<body>
@ -51,5 +45,11 @@
</div>
{{/board.Threads}}
</div>
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</body>
</html>

View File

@ -13,12 +13,6 @@
<head>
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title> {{frontend}} on nntpchan </title>
</head>
<body>
@ -80,5 +74,12 @@
</div>
</div>
</center>
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</body>
</html>

View File

@ -17,12 +17,6 @@
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
<title> {{thread.OP.Subject}} </title>
</head>
<body>
@ -49,5 +43,12 @@
{{/ thread.Replies}}
</div>
<br/>
<script src="{{prefix}}static/nntpchan.js" type="text/javascript">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</body>
</html>

View File

@ -10,12 +10,6 @@
<meta charset="utf-8" />
<link rel="stylesheet" href="{{prefix}}static/site.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" />
<script type="text/javascript" src="{{prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</head>
<body>
<div id="nntpchan_banner">
@ -39,5 +33,11 @@
</div>
{{/threads}}
</div>
<script type="text/javascript" src="{{prefix}}static/nntpchan.js">
document.onload = function() {
var e = document.getElementById("nntpchan_banner");
nntpchan_inject_banners(e, "{{board.Prefix}}");
}
</script>
</body>
</html>