Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

support twikoo comment system #239

Merged
merged 32 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2fd48f9
Merge pull request #184 from sunt-programator/dev
victor-pogor May 2, 2021
d50863d
build(npm): updated packages
victor-pogor May 2, 2021
272899d
build(npm): updated packages
victor-pogor May 2, 2021
5cedad5
build(npm): updated packages
victor-pogor May 10, 2021
fe9ee8c
build(npm): updated packages
victor-pogor May 13, 2021
bd1368e
docs: update README.md [skip ci]
allcontributors[bot] May 13, 2021
25e10de
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 13, 2021
646748c
Merge pull request #203 from sunt-programator/all-contributors/add-ai…
victor-pogor May 13, 2021
9904b35
build(npm): updated packages
victor-pogor Jun 1, 2021
fab6811
build(npm): updated packages
victor-pogor Jun 10, 2021
1fdda4d
build(npm): updated packages
victor-pogor Jun 23, 2021
0f2081d
fix(gist): fixed the lost of indentation
jesustorresdev Jun 28, 2021
650a791
fix(gist): fixed the lost of indentation
jesustorresdev Jun 29, 2021
de65a1d
docs: update README.md [skip ci]
allcontributors[bot] Jun 30, 2021
a7c218c
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jun 30, 2021
01ed5d2
build(npm): updated packages
victor-pogor Jul 5, 2021
248048c
build: ignored the 'missing Instagram AccessToken' error
victor-pogor Jul 5, 2021
1e4a013
Merge pull request #226 from aplatanado/fix/gist-indents
victor-pogor Jul 5, 2021
bdb018a
Merge pull request #229 from sunt-programator/all-contributors/add-ap…
victor-pogor Jul 5, 2021
59fb620
docs: update README.md [skip ci]
allcontributors[bot] Jul 10, 2021
ac5914c
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jul 10, 2021
d1fa357
Merge pull request #236 from sunt-programator/all-contributors/add-kt…
victor-pogor Jul 10, 2021
a74cdcf
build(npm): updated packages
victor-pogor Jul 12, 2021
6c3f99f
support twikoo comment system
OnlyFor Jul 14, 2021
df4fb33
add twikoo sample config
OnlyFor Jul 14, 2021
525df8d
fix config sample & add no script
OnlyFor Jul 14, 2021
d23c24c
support waline comment system
OnlyFor Jul 14, 2021
8a83c59
Update config.toml
OnlyFor Jul 14, 2021
be07d9b
update jsdeliver & update lib files & update config and doc & update …
OnlyFor Jul 15, 2021
0ce0bee
Update comment.html
OnlyFor Jul 15, 2021
ef9ae9d
Update VERSION
OnlyFor Jul 20, 2021
2134405
add {{< version 0.2.0 >}}
OnlyFor Jul 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,34 @@
"contributions": [
"code"
]
},
{
"login": "aiyasin",
"name": "Yasin",
"avatar_url": "https://avatars.githubusercontent.com/u/61509470?v=4",
"profile": "http://aimoon.top",
"contributions": [
"bug"
]
},
{
"login": "aplatanado",
"name": "Jesús Torres",
"avatar_url": "https://avatars.githubusercontent.com/u/266452?v=4",
"profile": "http://www.jesustorres.es/",
"contributions": [
"code"
]
},
{
"login": "ktw717",
"name": "Karl Webster",
"avatar_url": "https://avatars.githubusercontent.com/u/19327709?v=4",
"profile": "https://github.com/ktw717",
"contributions": [
"code",
"doc"
]
}
],
"contributorsPerLine": 7,
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ I hope you will CodeIT 👩‍💻!
- **Telegram comments** system supported by [Telegram Comments](https://comments.app/)
- **Commento** comment system supported by [Commento](https://commento.io/)
- **Utterances** comment system supported by [Utterances](https://utteranc.es/)
- **Waline** comment system supported by [Waline](https://waline.js.org/)
- **Twikoo** comment system supported by [Twikoo](https://twikoo.js.org/)

### :sparkles: Extended Features

Expand Down Expand Up @@ -272,10 +274,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center"><a href="https://sosiristseng.github.io"><img src="https://avatars2.githubusercontent.com/u/40054455?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Wen Wei Tseng</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=sosiristseng" title="Code">💻</a></td>
<td align="center"><a href="https://www.sheldonhull.com"><img src="https://avatars.githubusercontent.com/u/3526320?v=4?s=100" width="100px;" alt=""/><br /><sub><b>sheldonhull</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=sheldonhull" title="Code">💻</a></td>
<td align="center"><a href="https://www.sheldonhull.com"><img src="https://avatars.githubusercontent.com/u/3526320?v=4?s=100" width="100px;" alt=""/><br /><sub><b>sheldonhull</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=sheldonhull" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Asheldonhull" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://github.com/jadmadi"><img src="https://avatars.githubusercontent.com/u/29486218?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Madi</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=jadmadi" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Ajadmadi" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://tmendes.gitlab.io/28lbackpack"><img src="https://avatars.githubusercontent.com/u/16507629?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thiago Mendes</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=trmendes" title="Code">💻</a></td>
<td align="center"><a href="https://www.sheldonhull.com"><img src="https://avatars.githubusercontent.com/u/3526320?v=4?s=100" width="100px;" alt=""/><br /><sub><b>sheldonhull</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=sheldonhull" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Asheldonhull" title="Bug reports">🐛</a></td>
<td align="center"><a href="http://aimoon.top"><img src="https://avatars.githubusercontent.com/u/61509470?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yasin</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Aaiyasin" title="Bug reports">🐛</a></td>
<td align="center"><a href="http://www.jesustorres.es/"><img src="https://avatars.githubusercontent.com/u/266452?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jesús Torres</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=aplatanado" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ktw717"><img src="https://avatars.githubusercontent.com/u/19327709?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Karl Webster</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=ktw717" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/commits?author=ktw717" title="Documentation">📖</a></td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion assets/css/_partial/_single/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pre,
margin: 0;
padding: 0;
border: none !important;
white-space: nowrap;
white-space: pre;
}
}
}
Expand Down
16 changes: 10 additions & 6 deletions assets/data/cdn/jsdelivr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ libFiles:
# [email protected] https://github.com/alexmacarthur/typeit
typeitJS: [email protected]/dist/typeit.min.js
# [email protected] https://katex.org/
katexCSS: katex@0.11.1/dist/katex.min.css
katexJS: katex@0.11.1/dist/katex.min.js
katexAutoRenderJS: katex@0.11.1/dist/contrib/auto-render.min.js
katexCopyTexCSS: katex@0.11.1/dist/contrib/copy-tex.min.css
katexCopyTexJS: katex@0.11.1/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.11.1/dist/contrib/mhchem.min.js
katexCSS: katex@0.13.11/dist/katex.min.css
katexJS: katex@0.13.11/dist/katex.min.js
katexAutoRenderJS: katex@0.13.11/dist/contrib/auto-render.min.js
katexCopyTexCSS: katex@0.13.11/dist/contrib/copy-tex.min.css
katexCopyTexJS: katex@0.13.11/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.13.11/dist/contrib/mhchem.min.js
# [email protected] https://github.com/knsv/mermaid
mermaidJS: [email protected]/dist/mermaid.min.js
# [email protected] https://echarts.apache.org/
Expand All @@ -64,3 +64,7 @@ libFiles:
# [email protected] https://github.com/osano/cookieconsent
cookieconsentCSS: [email protected]/build/cookieconsent.min.css
cookieconsentJS: [email protected]/build/cookieconsent.min.js
# [email protected] https://github.com/imaegoo/twikoo
twikooJS: [email protected]/dist/twikoo.all.min.js
# [email protected] https://github.com/walinejs/waline
walineJS: @waline/[email protected]/dist/Waline.min.js
4 changes: 3 additions & 1 deletion assets/lib/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ [email protected] https://github.com/sachinchoolur/lg-zoom.js
[email protected] https://github.com/zenorocha/clipboard.js
[email protected] https://github.com/ellisonleao/sharer.js
[email protected] https://github.com/alexmacarthur/typeit
katex@0.11.1 https://katex.org/
katex@0.13.11 https://katex.org/
[email protected] https://github.com/knsv/mermaid
[email protected] https://echarts.apache.org/
[email protected] https://github.com/mapbox/mapbox-gl-js
Expand All @@ -24,3 +24,5 @@ [email protected] https://github.com/metowolf/MetingJS
[email protected] https://github.com/gitalk/gitalk
[email protected] https://valine.js.org/
[email protected] https://github.com/osano/cookieconsent
[email protected] https://github.com/imaegoo/twikoo
Copy link
Member

@victor-pogor victor-pogor Jul 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OnlyFor did you use some packaging tool or did you manually update this file? I'm asking this because I don't know how this file was generated ))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I……manually update this file……

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries. I just asked. I thought maybe there is some package manager tool.

[email protected] https://github.com/walinejs/waline
2 changes: 1 addition & 1 deletion assets/lib/katex/auto-render.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/lib/katex/copy-tex.min.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.katex,.katex-display{user-select:all;-moz-user-select:all;-webkit-user-select:all;-ms-user-select:all}
.katex,.katex-display{-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}
2 changes: 1 addition & 1 deletion assets/lib/katex/copy-tex.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/katex/mhchem.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions assets/lib/twikoo/twikoo.all.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions assets/lib/waline/Waline.min.js

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ enableGitInfo = true
# whether to use emoji code
enableEmoji = true

# Ignore get JSON errors.
ignoreErrors = ["error-remote-getjson"]
# Ignore build errors.
ignoreErrors = ["error-missing-instagram-accesstoken"]

[languages]
[languages.en]
Expand Down Expand Up @@ -854,6 +854,15 @@ ignoreErrors = ["error-remote-getjson"]
label = ""
lightTheme = "github-light"
darkTheme = "github-dark"
[params.page.comment.waline]
enable = false
serverURL = "https://xxx.vercel.app"
visitor = true
dark = 'auto'
[params.page.comment.twikoo]
enable = false
evnId = "https://xxx.vercel.app"

# Third-party library config
[params.page.library]
[params.page.library.css]
Expand Down
11 changes: 11 additions & 0 deletions exampleSite/content/posts/theme-documentation-basics/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,17 @@ Please open the code block below to view the complete sample configuration :(far
label = ""
lightTheme = "github-light"
darkTheme = "github-dark"
# {{< version 0.2.0 >}} {{< link "https://waline.js.org/en/" "Waline" >}} comment config
[params.page.comment.waline]
enable = false
serverURL = "https://xxx.vercel.com"
visitor = true
dark = 'auto'
# {{< version 0.2.0 >}} {{< link "https://twikoo.js.org" "Twikoo" >}} comment config
[params.page.comment.twikoo]
enable = false
evnId = "https://xxx.vercel.com"

# Third-party library config
[params.page.library]
[params.page.library.css]
Expand Down
10 changes: 10 additions & 0 deletions exampleSite/content/posts/theme-documentation-basics/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,16 @@ Please open the code block below to view the complete sample configuration :(far
label = ""
lightTheme = "github-light"
darkTheme = "github-dark"
# {{< version 0.2.0 >}} {{< link "https://waline.js.org/en/" "Waline" >}} comment config
[params.page.comment.waline]
enable = false
serverURL = "https://xxx.vercel.com"
visitor = true
dark = 'auto'
# {{< version 0.2.0 >}} {{< link "https://twikoo.js.org" "Twikoo" >}} comment config
[params.page.comment.twikoo]
enable = false
evnId = "https://xxx.vercel.com"
# Third-party library config
[params.page.library]
[params.page.library.css]
Expand Down
Loading