From 7aa3f3c87788661f0ab9c27eebb276e25f169233 Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Thu, 22 Jul 2021 22:25:17 -0700 Subject: [PATCH] doc: add electric clock --- _config.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 2fe9217..9ed0a95 100644 --- a/_config.yml +++ b/_config.yml @@ -141,4 +141,19 @@ envelope_comment: path: #【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html front_matter: #【可选】comments页面的 front_matter 配置 title: 留言板 - comments: true \ No newline at end of file + comments: true + +# Electric Clock +# see https://akilar.top/posts/4e39cf4a/ +electric_clock: + enable: true # 开关 + priority: 5 #过滤器优先权 + enable_page: all # 应用页面 + exclude: + # - /posts/ + # - /about/ + layout: # 挂载容器类型 + type: class + name: sticky_layout + index: 0 + loading: /img/loading.gif #加载动画自定义 \ No newline at end of file