diff --git a/_config.yml b/_config.yml index 8c77e05..5789664 100644 --- a/_config.yml +++ b/_config.yml @@ -1,12 +1,11 @@ # --------------------------------------------------------------------------------------- -# Theme basic info (please don't change) +# Your basic info # --------------------------------------------------------------------------------------- -theme_info: - name: ILS - version: 2.1.1 +base_info: + title: ILS author: XPoet - repository: https://github.com/XPoet/hexo-theme-ils - + email: i@xpoet.cn + url: https://ils.xpoet.cn/ # --------------------------------------------------------------------------------------- # Theme style settings diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index ee6041c..4592d0e 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -1,7 +1,7 @@ diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 2b57725..d47381f 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -22,7 +22,7 @@ <% if (title){ %><%= title %> | <% } %> - <%= config.title %> + <%= theme.base_info.title || config.title || 'ILS' %> <% if (theme.style.favicon){ %> diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 3e6c683..c17f162 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -3,7 +3,7 @@
- <%= config.title %> + <%= theme.base_info.title || config.title || 'ILS' %>