Compare commits
2 Commits
63f0ca5b9f
...
59cf1a13e8
Author | SHA1 | Date | |
---|---|---|---|
59cf1a13e8 | |||
2420bcfa80 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
release
|
||||
/release/
|
File diff suppressed because it is too large
Load Diff
@ -1,25 +1,24 @@
|
||||
<!-- 广告 -->
|
||||
<div class="card-widget" th:if="${theme.config.sidebar.adbox.adType=='google'}">
|
||||
<div class="item-headline"><span>广告</span></div>
|
||||
<script async th:src="${'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=' + theme.config.sidebar.adbox.ad_google.ad_client}"
|
||||
crossorigin="anonymous"></script>
|
||||
<!-- 广告2 -->
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block"
|
||||
th:data-ad-client="${theme.config.sidebar.adbox.ad_google.ad_client}"
|
||||
th:data-ad-slot="${theme.config.sidebar.adbox.ad_google.ad_slot}"
|
||||
th:data-ad-format="${theme.config.sidebar.adbox.ad_google.ad_format}"
|
||||
th:data-full-width-responsive="${theme.config.sidebar.adbox.ad_google.full_width_responsive}"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
<div class="item-headline"><span>广告</span></div>
|
||||
|
||||
<script async
|
||||
th:src="${'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=' + theme.config.sidebar.adbox.ad_google.ad_client}"
|
||||
crossorigin="anonymous"></script>
|
||||
<!-- 广告2 -->
|
||||
<ins class="adsbygoogle" style="display:block" th:data-ad-client="${theme.config.sidebar.adbox.ad_google.ad_client}"
|
||||
th:data-ad-slot="${theme.config.sidebar.adbox.ad_google.ad_slot}"
|
||||
th:data-ad-format="${theme.config.sidebar.adbox.ad_google.ad_format}"
|
||||
th:data-full-width-responsive="${theme.config.sidebar.adbox.ad_google.full_width_responsive}"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-widget" th:if="${theme.config.sidebar.adbox.adType=='customAd'}">
|
||||
<div class="item-headline"><span>广告</span></div>
|
||||
<a th:href="${theme.config.sidebar.adbox.ad_custom.ad_redirect_url}" target="_blank">
|
||||
<img th:src="${theme.config.sidebar.adbox.ad_custom.ad_pic_url}" alt="自定义广告">
|
||||
</a>
|
||||
|
||||
<div class="item-headline"><i class="haofont hao-icon-bullhorn"></i><span>广告</span></div>
|
||||
<a th:href="${theme.config.sidebar.adbox.ad_custom.ad_redirect_url}" target="_blank" title="立即前往">
|
||||
<img class="ad-img" th:src="${theme.config.sidebar.adbox.ad_custom.ad_pic_url}" alt="自定义广告">
|
||||
</a>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user