浏览代码

Change animation

Track3 6 年之前
父节点
当前提交
892ee5fb00
共有 6 个文件被更改,包括 7 次插入6 次删除
  1. 2 1
      assets/scss/_animate.scss
  2. 1 1
      config.toml
  3. 1 1
      layouts/_default/list.html
  4. 1 1
      layouts/_default/single.html
  5. 1 1
      layouts/partials/footer.html
  6. 1 1
      layouts/posts/single.html

文件差异内容过多而无法显示
+ 2 - 1
assets/scss/_animate.scss


+ 1 - 1
config.toml

@@ -24,7 +24,7 @@ rssLimit = 10
   author         = "Track3"
   dateform       = "Jan 2, 2006"
   dateformFull   = "2006-01-02 15:04"
-  dateformShort   = "Jan 2"
+  dateformShort  = "Jan 2"
 
 [menu]
 

+ 1 - 1
layouts/_default/list.html

@@ -3,7 +3,7 @@
 {{ end }}
 
 {{ define "main" }}
-	<main class="site-main section-inner thin  animated bounceInUp">
+	<main class="site-main section-inner thin  animated fadeIn">
 		<h1>{{ .Title }}</h1>
 		{{- with .Content }}
 		<div class="content">

+ 1 - 1
layouts/_default/single.html

@@ -3,7 +3,7 @@
 {{ end }}
 
 {{ define "main" }}
-	<main class="site-main section-inner thin animated bounceInUp">
+	<main class="site-main section-inner thin animated fadeIn">
 		<h1>{{ .Title }}</h1>
 		<div class="content">
 			{{ .Content }}

+ 1 - 1
layouts/partials/footer.html

@@ -1,4 +1,4 @@
-	<footer id="site-footer" class="section-inner thin animated bounceInUp">
+	<footer id="site-footer" class="section-inner thin animated fadeIn">
 		<div id="copyright">
 			<p>&copy; 2018 <a href="https://www.xxxlbox.com">{{ .Site.Author.name }}</a> &#183; <a href="https://creativecommons.org/licenses/by-nc/4.0/deed.zh" target="_blank">CC BY-NC 4.0</a></p>
 			<p>Made with <a href="https://gohugo.io/" target="_blank">Hugo</a> &#183; <a href="http://www.miitbeian.gov.cn" target="_blank">鄂ICP备16022650号-1</a> &#183; <a href="https://www.xxxlbox.com/posts/index.xml" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a></p>

+ 1 - 1
layouts/posts/single.html

@@ -6,7 +6,7 @@
 	{{- with .Params.featuredImg }}
 		<div id="bg-img" class="bg-img" style="background-image: url({{.}});" onclick="showContent()"></div>
 	{{- end }}
-	<main class="site-main section-inner animated bounceInUp">
+	<main class="site-main section-inner animated fadeIn">
 		<article class="thin">
 			<header class="post-header">
 				<div class="post-meta"><span>{{ .Date.Format .Site.Params.dateform }}</span></div>

部分文件因为文件数量过多而无法显示