diff --git a/README.md b/README.md
index 7ead439..5143f37 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@
-
+
@@ -67,10 +67,23 @@ let me know if you have any questions.
menu:
Home: /
Archives: /archives
+ Categories: /categories
+ Tags: /tags
Gallery: http://shenyu-vip.lofter.com
Travel: /tags/旅行/
About: /2019/about
+# Subtitle and Typing animation
+# https://github.com/mattboldt/typed.js
+subtitle:
+ enable: true
+ text: a clean and elegant theme
+ startDelay: 0
+ typeSpeed: 200
+ loop: true
+ backSpeed: 100
+ showCursor: true
+
# Favicon and sidebar logo
favicon: /favicon.ico
logo: /images/ayer-side.svg
@@ -242,19 +255,6 @@ layout: "categories"
### Tags
Same as categories.
-### Post poster
-
-``` md
----
-title: Post name
-
-photos: [
- ["img_url"],
- ["img_url"]
- ]
----
-```
-
### Gallery
Need to write in the head of the markdown, this is not a good way to write, I hope to get a better way to write on github.
diff --git a/_config.yml b/_config.yml
index 35e10b1..a891503 100644
--- a/_config.yml
+++ b/_config.yml
@@ -8,6 +8,17 @@ menu:
摄影: http://shenyu-vip.lofter.com
关于我: /2019/about
+# 站点次标题和打字动效
+# https://github.com/mattboldt/typed.js
+subtitle:
+ enable: true # 是否开启动效
+ text: 面朝大海,春暖花开 # 显示的文字
+ startDelay: 0 # 延迟时间
+ typeSpeed: 200 # 打字速度
+ loop: true # 是否循环
+ backSpeed: 100 # 回退速度
+ showCursor: true # 是否显示光标
+
# 网站图标和侧边栏logo
favicon: /favicon.ico
logo: /images/ayer-side.svg
diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs
index 548613b..48b2f49 100644
--- a/layout/_partial/after-footer.ejs
+++ b/layout/_partial/after-footer.ejs
@@ -6,6 +6,20 @@
<%- js('fancybox/jquery.fancybox.min') %>
<% } %>
+<% if (theme.subtitle.enable){ %>
+
+
+<% } %>
+
<% if (theme.toc && is_post()){ %>
<%- js('/js/tocbot.min') %>