diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-16 19:32:18 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-17 01:28:57 +0300 |
commit | 239d68f94c6250276850fbe95eaa6cdd5c38fb26 (patch) | |
tree | c576da169afc442f51eae6213ad0ff749ed86589 /themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html | |
parent | 8e79098193fd0a8b65305dd8054cf7c424c60bc5 (diff) |
Своя тема, полностью всё переделал
Diffstat (limited to 'themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html')
-rw-r--r-- | themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html b/themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html deleted file mode 100644 index 8c22507..0000000 --- a/themes/hugo-theme-stack/layouts/partials/comments/provider/twikoo.html +++ /dev/null @@ -1,58 +0,0 @@ -<script src="//cdn.jsdelivr.net/npm/twikoo@1.6.39/dist/twikoo.all.min.js"></script> -<div id="tcomment"></div> -<style> - .twikoo { - background-color: var(--card-background); - border-radius: var(--card-border-radius); - box-shadow: var(--shadow-l1); - padding: var(--card-padding); - } - :root[data-scheme="dark"] { - --twikoo-body-text-color-main: rgba(255, 255, 255, 0.9); - --twikoo-body-text-color: rgba(255, 255, 255, 0.7); - } - .twikoo .el-input-group__prepend, - .twikoo .tk-action-icon, - .twikoo .tk-submit-action-icon, - .twikoo .tk-time, - .twikoo .tk-comments-no, - .twikoo .tk-comments-count { - color: var(--twikoo-body-text-color); - } - .twikoo .el-input__inner, - .twikoo .el-textarea__inner, - .twikoo .tk-preview-container, - .twikoo .tk-content, - .twikoo .tk-nick, - .twikoo .tk-send { - color: var(--twikoo-body-text-color-main); - } - .twikoo .el-button{ - color: var(--twikoo-body-text-color)!important; - } - .twikoo .el-input__count { - color: var(--twikoo-body-text-color) !important; - } - .OwO .OwO-body { - background-color: var(--body-background) !important; - color: var(--body-text-color) !important; - } -</style> - -{{- with .Site.Params.comments.twikoo -}} -<script> - twikoo.init({ - envId: '{{- .envId -}}', - el: '#tcomment', - {{- with .region -}} - region: '{{- . -}}', - {{- end -}} - {{- with .path -}} - path: '{{- . -}}', - {{- end -}} - {{- with .lang -}} - lang: '{{- . -}}', - {{- end -}} - }) -</script> -{{- end -}} |