解决搜索BUG, 添加fontawesome图标字鼠标悬停动画css

master
julylies 2 years ago
parent 92a6595097
commit 2e4f82de23

@ -32,6 +32,7 @@
<link rel="alternate" type="application/rss+xml" title="atom 1.0" href="${atom_url!}">
<link href="${theme_base!}/source/css/kico.css" rel="stylesheet" type="text/css"/>
<link href="${theme_base!}/source/css/single.css" rel="stylesheet" type="text/css"/>
<link href="${theme_base!}/source/css/font-awesome-animation.min.css" rel="stylesheet" type="text/css"/>
<link href="https://fastly.jsdelivr.net/gh/FortAwesome/Font-Awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link rel="preload stylesheet" as="style" href="${theme_base!}/source/plugins/prism/prism.css">
<link rel="preload stylesheet" as="style" href="${theme_base!}/source/plugins/prism/themes/prism-${settings.Code_highlighting!}.css">
@ -69,9 +70,8 @@
<div class="light-btn"></div>
<div class="search-btn"></div>
</div>
<#-- 搜索BUG-->
<form class="head-search" method="get" action="/search" role="search">
<input class="text" type="search" name="keyword" placeholder="搜索什么呢" required>
<input class="text" type="search" name="keyword" placeholder="搜索什么呢つ﹏⊂" required>
</form>
<nav class="head-menu">
<@menuTag method="tree">
@ -90,10 +90,13 @@
<div class="sub-menu">
<#list menu.children?sort_by('priority') as child>
<a href="${child.url!}" target="${child.target!}">
<span class="faa-parent animated-hover">
<#if child.icon?? && child.icon?trim?length gt 1>
<i class="${child.icon}" aria-hidden="true"></i>
</#if>${child.name}
</#if>${child.name}
</span>
</a>
</#list>
</div >
</#if>

@ -46,24 +46,6 @@
</#list>
</section>
<section class="page-navigator">
<#--<@paginationTag method="index" page="${posts.number}" total="${posts.totalPages}" display="3">
<#include "layouts/list-nextprev.ftl">
</@paginationTag>
<@paginationTag method="page" page="${posts.number}" total="${posts.totalPages}" display="3">
<#if pagination.hasPrev>
<a href="${pagination.prevPageFullPath!}">上一页</a>
</#if>
<#list pagination.rainbowPages as number>
<#if number.isCurrent>
<span class="current">${number.page!}</span>
<#else>
<a href="${number.fullPath!}">${number.page!}</a>
</#if>
</#list>
<#if pagination.hasNext>
<a href="${pagination.nextPageFullPath!}">下一页</a>
</#if>
</@paginationTag>-->
<@paginationTag method="index" slug="${slug!}" page="${posts.number}" total="${posts.totalPages}" display="3">
<#if pagination.hasPrev>
<span class="current">

@ -0,0 +1,4 @@
<#include "header.ftl">
<@head title="搜索结果:${keyword!} - ${blog_title!}"/>
<#include "module/post-module.ftl">
<#include "footer.ftl">

@ -1,6 +0,0 @@
<#include "header.ftl">
<@head title="搜索结果:${keyword!} - ${blog_title!}"/>
<#list posts.content as post>
<a href="${post.fullPath!}">${post.title!}</a>
</#list>
<#include "footer.ftl">

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save