ソースを参照

Remove Carbon Ads and Resolves #18

Yoginth 6 年 前
コミット
e7e04977f3
2 ファイル変更0 行追加5 行削除
  1. 0 4
      templates/misc/ad.tmpl
  2. 0 1
      templates/user/dashboard/dashboard.tmpl

+ 0 - 4
templates/misc/ad.tmpl

@@ -1,4 +0,0 @@
-{{if .Owner.ShowAds}}
-    <link rel="stylesheet" href="https://cdn.gitote.in/css/ads.css">
-    <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CK7D52J7&placement=gitotein" id="_carbonads_js"></script>
-{{end}}

+ 0 - 1
templates/user/dashboard/dashboard.tmpl

@@ -259,7 +259,6 @@
 						</ul>
 					</div>
 				</div>
-				{{template "misc/ad" .}}
 
 				<div class="side-footer"> 
 					<span class="side-footer">© 2019 Gitote</span>