chore(theme): update theme
parent
44db03e01e
commit
ff5abfcf8a
|
@ -4,4 +4,5 @@ db.json
|
|||
*.log
|
||||
node_modules/
|
||||
public/
|
||||
.deploy*/
|
||||
.deploy*/
|
||||
.vscode/
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
const cheerio = require('cheerio');
|
||||
|
||||
function fixStyle(content) {
|
||||
const $ = cheerio.load(content, { decodeEntities: false });
|
||||
$('body').append(`<style>#_hj_feedback_container *:after {box-shadow: none !important;}</style>`);
|
||||
return $.html();
|
||||
}
|
||||
|
||||
hexo.extend.filter.register('after_render:html', function (content, data) {
|
||||
return fixStyle(content);
|
||||
});
|
|
@ -0,0 +1,30 @@
|
|||
title: Gitalk Comment Plugin
|
||||
date: 2015-01-01
|
||||
categories:
|
||||
- Plugins
|
||||
- Comment
|
||||
comment:
|
||||
type: gitalk
|
||||
owner: ppoffice
|
||||
repo: Public-Gitment-Repo
|
||||
client_id: 4828a94319a33c305063
|
||||
client_secret: 5ea20158d656eaf0141dbb4eb38dd91737e3ca7d
|
||||
admin:
|
||||
- ppoffice
|
||||
---
|
||||
|
||||
[Installation instructions](https://github.com/gitalk/gitalk)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: gitalk
|
||||
owner: xxxxxxxx # (required) GitHub user name
|
||||
repo: xxxxxxxx # (required) GitHub repository name
|
||||
client_id: xxxxxxxx # (required) OAuth application client id
|
||||
client_secret: xxxxxxxx # (required) OAuth application client secret
|
||||
admin: xxxxxxxx # (required) GitHub repo owner and collaborators who can initialize github issues
|
||||
# Can either be a string or an array.
|
||||
# admin:
|
||||
# - xxxxxx1
|
||||
# - xxxxxx2
|
||||
{% endcodeblock%}
|
|
@ -1 +1 @@
|
|||
Subproject commit d458ede0b22e92b7f639865324fbf5d33d3bb781
|
||||
Subproject commit 1d448583e5687453625f4699b28d6800abb4ba98
|
Loading…
Reference in New Issue