From fba1d6b9c5bc72745368f63c67c027dd0070cb6b Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sat, 16 Sep 2017 17:49:53 +0800 Subject: [PATCH] feat: config logo title --- exampleSite/config.toml | 7 ++++--- layouts/partials/header.html | 8 +++++++- layouts/partials/slideout.html | 8 +++++++- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 71e8c06..3ac1178 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,7 +1,7 @@ baseURL = "http://localhost:1313/" languageCode = "en" defaultContentLanguage = "en" -title = "Even" +title = "Even - A super concise theme for Hugo" enableRobotsTXT = true enableEmoji = true theme = "even" @@ -42,9 +42,10 @@ copyright = "" # default: author.name ↓ # 默认为下面配 url = "/categories/" [params] - since = "2017" # Site creation time # 站点建立时间 - + since = "2017" # Site creation time # 站点建立时间 + # site info (option) # 站点信息(可选) + logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值 keywords = ["Hugo", "theme","even"] description = "Hugo theme even example site." diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d81055e..57cf431 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,11 @@
- +