增加搜索,去掉主页图片,优化速度
This commit is contained in:
parent
f284fe022d
commit
93a2a8e252
@ -31,12 +31,6 @@
|
||||
<div class="blog-slider card">
|
||||
<div class="blog-slider__wrp swiper-wrapper">
|
||||
<div class="blog-slider__item swiper-slide">
|
||||
<div class="blog-slider__img">
|
||||
<a href="${servePath}${article.articlePermalink}">
|
||||
<img src="${article.articleImg1URL}" alt="${article.articleTitle!}"
|
||||
referrerpolicy="origin">
|
||||
</a>
|
||||
</div>
|
||||
<div class="blog-slider__content">
|
||||
<div>
|
||||
<span class="blog-slider__code"
|
||||
@ -65,13 +59,6 @@
|
||||
</div>
|
||||
<#else>
|
||||
<div class="card">
|
||||
<div class="card-image">
|
||||
<a href="${servePath}${article.articlePermalink}">
|
||||
<img class="thumbnail" src="${article.articleImg1URL}" alt="${article.articleTitle!}"
|
||||
referrerpolicy="origin">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="card-content article " id="card-content" style="width: 100%">
|
||||
<div class="level article-meta is-size-7 is-uppercase is-mobile is-overflow-x-auto">
|
||||
<div class="level-left">
|
||||
@ -147,4 +134,4 @@
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -23,23 +23,17 @@
|
||||
<div class="level-start has-text-centered-mobile">
|
||||
<p class="is-size-6">
|
||||
© ${.now?string('yyyy')} ${blogTitle!}
|
||||
Powered by <a href="https://github.com/AdlerED/bolo-solo" target="_blank">菠萝博客 Bolo</a>
|
||||
Powered by <a href="https://github.com/AdlerED/bolo-solo" target="_blank">Bolo</a>
|
||||
<br>
|
||||
Theme <a href="https://github.com/csfwff/bolo-fantastic">Fantastic</a> by
|
||||
<a href="https://github.com/csfwff" target="_blank">唐墨夏</a>
|
||||
<br/>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="level-end">
|
||||
<div class="field has-addons is-flex-center-mobile has-mt-5-mobile is-flex-wrap is-flex-middle">
|
||||
<a href="${servePath}/search"> 搜索</a> •
|
||||
<a href="${servePath}/tags.html"> ${allTagsLabel}</a> •
|
||||
<a href="${servePath}/archives.html"> ${archiveLabel}</a> •
|
||||
<a href="${servePath}/links.html">
|
||||
${linkLabel}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="field has-addons is-flex-center-mobile has-mt-5-mobile is-flex-wrap is-flex-middle">
|
||||
<div>${footerContent} <br></div>
|
||||
|
@ -74,21 +74,19 @@
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
|
||||
<!-- 博客底部
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block;height:90px;width:728px;margin:auto;text-align:center;"
|
||||
data-ad-client="ca-pub-1331219010215317"
|
||||
data-ad-slot="2801313884"
|
||||
data-full-width-responsive="true">
|
||||
</ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>-->
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<a id="back-to-top" title="返回顶部" href="javascript:"><i class="fas fa-chevron-up"></i></a>
|
||||
<script type="text/javascript" >
|
||||
function search(){
|
||||
var s = $("#search").val();
|
||||
if (s == ""){
|
||||
return;
|
||||
}
|
||||
window.location.href = "https://www.zeekling.cn/search?keyword=" + s;
|
||||
}
|
||||
</script>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
|
||||
|
2
bolo-fantastic/js/common.min.js
vendored
2
bolo-fantastic/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
@ -29,6 +29,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card widget">
|
||||
<div class="card-content" style="width:100%">
|
||||
<div class="menu">
|
||||
<label class="screen-reader-text" for="s">搜索 </label>
|
||||
<input type="text" required="required" value="" name="s" id="search">
|
||||
<input type="submit" id="searchsubmit" class="button" value="搜索" onclick="search()">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card widget">
|
||||
<div class="card-content">
|
||||
<h3 class="menu-label">
|
||||
@ -61,22 +70,3 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class="card widget">
|
||||
<div class="card-content" style="width:100%">
|
||||
<div class="menu">
|
||||
<h3 class="menu-label">广告</h3>
|
||||
<ul class="menu-list">
|
||||
<ins class="adsbygoogle"
|
||||
style="display:inline-block;width:290px;height:500px"
|
||||
data-ad-client="ca-pub-1331219010215317"
|
||||
data-ad-slot="5542691247">
|
||||
</ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
Loading…
Reference in New Issue
Block a user