diff --git a/README.md b/README.md index 3fd97a6..3180302 100644 --- a/README.md +++ b/README.md @@ -98,8 +98,8 @@ add to `config.toml` enableGitalk = true [params.gitalk] - clientID = "Your client ID" - clientSecret = "Your client secret" + clientID = "Your client ID" + clientSecret = "Your client secret" repo = "repo" owner = "Your Github username" admin = "Your Github username" @@ -165,12 +165,13 @@ pygmentsUseClasses = true userStatusEmoji = "😀" favicon = "/images/github.png" avatar = "/images/avatar.png" + headerIcon = "/images/GitHub-Mark-Light-32px.png" location = "China" enableGitalk = true [params.gitalk] - clientID = "Your client ID" - clientSecret = "Your client secret" + clientID = "Your client ID" + clientSecret = "Your client secret" repo = "repo" owner = "MeiK2333" admin = "MeiK2333" diff --git a/config.template.toml b/config.template.toml index b7592f8..306e0eb 100644 --- a/config.template.toml +++ b/config.template.toml @@ -22,10 +22,11 @@ pygmentsUseClasses = true lastmod = true favicon = "/images/github.png" avatar = "/images/avatar.png" + headerIcon = "/images/GitHub-Mark-Light-32px.png" location = "China" userStatusEmoji = "😀" enableGitalk = true - + [params.gitalk] clientID = "Your client ID" # Your client ID clientSecret = "Your client secret" # Your client secret @@ -37,7 +38,7 @@ pygmentsUseClasses = true perPage = 15 # Pagination size, with maximum 100. pagerDirection = "last" # Comment sorting direction, available values are 'last' and 'first'. createIssueManually = true # 设置为true,如果是管理员登录,会自动创建issue,如果是false,需要管理员手动添加第一个评论(issue) - distractionFreeMode = false # Enable hot key (cmd|ctrl + enter) submit comment. + distractionFreeMode = false # Enable hot key (cmd|ctrl + enter) submit comment. proxy = "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token" # 可以自行添加反向代理 [[params.links]] title = "Link" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index aaff6d9..caf6e9f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,21 +2,13 @@
- - - - +
@@ -59,4 +46,4 @@
- \ No newline at end of file + diff --git a/static/images/GitHub-Mark-Light-32px.png b/static/images/GitHub-Mark-Light-32px.png new file mode 100644 index 0000000..628da97 Binary files /dev/null and b/static/images/GitHub-Mark-Light-32px.png differ