From 74ca4f723b4024947cd145c9991bae4070566e8a Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 27 Feb 2021 20:08:36 +0800 Subject: [PATCH] toast --- _config.yml | 6 ++--- languages/en.yml | 3 +++ languages/zh-CN.yml | 3 +++ languages/zh-TW.yml | 3 +++ layout/_partial/main/article/references.ejs | 16 +++++++++---- layout/_partial/sidebar/index.ejs | 9 +++++++- source/css/_plugins/common/toast.styl | 15 +++++++++++++ source/js/main.js | 25 +++++++++++++++++---- 8 files changed, 68 insertions(+), 12 deletions(-) create mode 100644 source/css/_plugins/common/toast.styl diff --git a/_config.yml b/_config.yml index 99f64ab..b040148 100755 --- a/_config.yml +++ b/_config.yml @@ -87,11 +87,11 @@ footer: - icon: '' url: /atom.xml - icon: '' - url: https://github.com/xaoxuu + url: / - icon: '' - url: https://music.163.com/#/user/home?id=63035382 + url: / - icon: '' - url: /comments/ + url: / license: '[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)' source: #'[GitHub](https://github.com/xaoxuu/hexo-theme-stellar)' diff --git a/languages/en.yml b/languages/en.yml index 2d3cdf8..b836186 100755 --- a/languages/en.yml +++ b/languages/en.yml @@ -49,6 +49,9 @@ page: filter: "%s's %s has %s articles" wiki: "%s has %s %s in total" +message: + copied: Copied! + symbol: comma: ", " period: ". " diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index 54a51e5..3153045 100755 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -49,6 +49,9 @@ page: filter: '%s的%s共有%s篇文章' wiki: '%s共有%s个%s' +message: + copied: 复制成功 + symbol: comma: "," period: "。" diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml index fb068d2..995b077 100755 --- a/languages/zh-TW.yml +++ b/languages/zh-TW.yml @@ -49,6 +49,9 @@ page: filter: '%s的%s共有%s篇文章' wiki: '%s共有%s个%s' +message: + copied: 複製成功 + symbol: comma: "," period: "。" diff --git a/layout/_partial/main/article/references.ejs b/layout/_partial/main/article/references.ejs index 389ffe5..153270c 100644 --- a/layout/_partial/main/article/references.ejs +++ b/layout/_partial/main/article/references.ejs @@ -13,7 +13,12 @@ function layoutDiv() { el += '