From da961fa2092783f7c4e4136590c07d0eeb65df22 Mon Sep 17 00:00:00 2001 From: Darrel Herbst Date: Mon, 8 Jan 2024 18:23:45 -0500 Subject: [PATCH] Separate octocat image for #26 --- README.md | 9 +++++---- config.template.toml | 5 +++-- layouts/partials/header.html | 21 ++++----------------- static/images/GitHub-Mark-Light-32px.png | Bin 0 -> 1571 bytes 4 files changed, 12 insertions(+), 23 deletions(-) create mode 100644 static/images/GitHub-Mark-Light-32px.png 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 0000000000000000000000000000000000000000..628da97c70890c73e59204f5b140c4e67671e92d GIT binary patch literal 1571 zcmaJ>c~BE~6izDPQq)#Nu*KOf(n^(VHY9;fiINM65``pc+9*v(mL$bwfCjbc%v9V{8r9iX|O%>Nr%pLD2qT{mty}c=LVleeamv znz3SOSm@kP8jThvOOq(56Yzh*fz(booe!uZij=BJC6+_lbvQ~B8nA2>kXdv_RDtRY z`5QXWWEySCe6vbTs^#f?J!WC*{1~RgVx!nJTJjQyO{dRANgx|FnymtGbD9%JmCh9^y)##j7{Dcqfn*1ta$rG89pJF6w-S7Z037$rr|y0;1Onp_ zGFJdT6Q!1C0AdVB0WOmpuV=AgAQ550Tn+-mivTtYPJmz*#75#_n9oV%!#rSOfmAfy zki%C~=fTp1{O#BLpJ|0jj#m6#|LRWit-vq3PE1z9ZqyvET4sX$-Icqy7t z<=aq5ff86AuBZBu6EjJsYWM0uejufWFTwPA7Su}0Bm$7KFb!q{Um_8~A{LUG#1l(l zSehUda@kU8LIRg9fkk2tZ;~ss5~R+mM<==F7hLHpxqLB>>PQS%Vc7b~?q!%T5+h8Q z4G=4Nzyi5WZ?^gkasJ{?Xhm`JC#WG6$1K2jb@=9&D3EgD#3UhGh#*21rJjulVXjCF zvp76q62jt0zzMG5C7DlfMgPl%C^3+~wf|}Lq=}jz|MmIcQjh1Ok6NjD$Em^Iv26D> z8tt_TnM9~^Tt8mflRGPOrrX|HtT3gG4LEuuk{g2Rn}QgJIa?gZo))!!=o_l9bvD%A zZ`aHajl8#~u?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