Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ThemeTony/hugo-theme-tony.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoraMrKim <““nn_201312@qq.comgit config --global user.email ““nn_201312@163.com>2020-05-05 12:40:03 +0300
committerDoraMrKim <““nn_201312@qq.comgit config --global user.email ““nn_201312@163.com>2020-05-05 12:40:03 +0300
commita61b3d4d73a6d0bde238339b574842516ee9c272 (patch)
tree298e62a0ee00386625a96517ea1d740a1e0dd5c4
parentb94d28b2de11871fcd7306246a319b5d9246ef5d (diff)
added valine1.0
-rw-r--r--README.md6
-rw-r--r--exampleSite/config.toml45
-rw-r--r--layouts/_default/single.html4
-rw-r--r--layouts/partials/components/comments.html18
-rw-r--r--layouts/partials/components/home/article-list.html2
-rw-r--r--layouts/partials/components/home/header-info.html2
-rw-r--r--layouts/partials/head.html6
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/third-party/instant-page.html1
-rw-r--r--layouts/partials/third-party/medium-zoom.html7
-rw-r--r--layouts/partials/third-party/qrcode-generator.html10
-rw-r--r--layouts/partials/third-party/service-worker.html30
-rw-r--r--layouts/partials/third-party/smooth-scroll.html8
-rw-r--r--layouts/partials/third-party/utterances.html50
-rw-r--r--layouts/partials/third-party/valine.html58
15 files changed, 240 insertions, 9 deletions
diff --git a/README.md b/README.md
index e59c1a0..a6f95f4 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,5 @@
-[wordpress-theme-tony](https://github.com/ThemeTony/wordpress-theme-tony)的简单移植,正在开发中 \ No newline at end of file
+[wordpress-theme-tony](https://github.com/ThemeTony/wordpress-theme-tony)的简单移植,正在开发中
+
+### Demo
+
+<https://themetony.github.io/hugo-theme-tony/> \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index cb4704a..711259f 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -15,6 +15,12 @@ newContentEditor = "D:/Typora/Typora.exe"
# 摘要的字数限制
summaryLength = 235
+# 是否开启 GitHub 风格的 Emoji 书写方式
+enableEmoji = true
+
+# 每一分页的文章数
+paginate = 10
+
# 作者信息
[author]
# 名字
@@ -70,12 +76,51 @@ summaryLength = 235
endLevel = 6
ordered = true
+# Hugo 的输出控制
+[outputs]
+ page = ["HTML"]
+ home = ["HTML"]
+ section = ["HTML"]
+ # 类别
+ taxonomyTerm = ["HTML"]
+ # 类别项
+ taxonomy = ["HTML"]
+ # 说明:https://github.com/gohugoio/hugo/issues/4528#issuecomment-508488859
+
##########################################
# 主题配置
[params]
+
######################################
# 站点信息
# 站点的 LOGO
siteLogo = "/images/t.jpg"
+
+ ######################################
+ # 评论
+
+ # 是否开启(全局设置)
+ enableComments = true
+ # 说明:文章的 Front Matter 中的 `comments`
+ # 的优先级高于此处
+
+ ## Valine
+ enableValine = true
+ valineVersion = "latest"
+ valineAppId = ""
+ valineAppKey = ""
+ valinePlaceholder = ""
+ valinePath = ""
+ valineAvatar = "mm"
+ valineMeta = ["nick", "mail", "link"]
+ valinePageSize = 15
+ valineVisitor = true
+ valineHighlight = true
+ avatarForce = true
+ valineRecordIP = true
+ valineServerURLs = ""
+ valineEnableQQ = false
+ valineRequiredFields = []
+ # 说明:https://valine.js.org/ \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index daaa115..d5a3156 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -24,9 +24,9 @@
</span>-->
{{ partial "components/post/header.html" . }}
<div class="article-content">
- {{.Content}}
+ {{ .Content }}
</div>
- <div id="article-comments" class="article-comments" style="margin-top: 50px;"></div>
+ {{ partial "components/comments.html" . }}
</div>
</div>
</div>
diff --git a/layouts/partials/components/comments.html b/layouts/partials/components/comments.html
index e69de29..854cbb6 100644
--- a/layouts/partials/components/comments.html
+++ b/layouts/partials/components/comments.html
@@ -0,0 +1,18 @@
+{{ if .Params.comments | default .Site.Params.enableComments }}
+ {{ if or (in .Site.Params.mainSections .Section) .Params.comments }}
+
+ <div id="article-comments" class="article-comments" style="margin-top: 50px;">
+
+ {{ if .Site.Params.enableValine }}
+ <div id="vcomments"></div>
+ {{ partial "third-party/valine.html" . }}
+ {{ end }}
+
+ {{ if .Site.Params.enableUtterances }}
+ <div id="utterances"></div>
+ {{ partial "third-party/utterances.html" . }}
+ {{ end }}
+
+ </div>
+ {{ end }}
+{{ end }}
diff --git a/layouts/partials/components/home/article-list.html b/layouts/partials/components/home/article-list.html
index e06883e..db36e5d 100644
--- a/layouts/partials/components/home/article-list.html
+++ b/layouts/partials/components/home/article-list.html
@@ -8,7 +8,7 @@
{{ end }}
<div class="article-list-img-right">
<div>
- <a href="{{ .Permalink }}" class="" style="text-decoration: none;">
+ <a href="{{ .Permalink | relURL }}" class="" style="text-decoration: none;">
<h5 style="margin: 15px 0px 0px; padding: 0px;">{{.Title}}</h5>
</a>
<p>{{ .Summary }}...</p>
diff --git a/layouts/partials/components/home/header-info.html b/layouts/partials/components/home/header-info.html
index e99005f..f20eda3 100644
--- a/layouts/partials/components/home/header-info.html
+++ b/layouts/partials/components/home/header-info.html
@@ -1,6 +1,6 @@
<div id="header_info" class="index-top">
<nav class="header-nav reveal">
- <img src="{{ .Site.BaseURL }}{{ $.Site.Author.avatar }}" class="header-avatar-top">
+ <img src="{{ $.Site.Author.avatar | relURL }}" class="header-avatar-top">
<a href="/" title="TonyHe" class="header-logo" style="text-decoration: none;">{{ $.Site.Author.name }}</a>
<p class="lead" style="margin-top: 0px; margin-left: 5px;">{{ $.Site.Author.motto }}</p>
</nav>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 6aeb4f6..6ecbe95 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -2,9 +2,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
- <link rel="shortcut icon" href="{{ $.Site.Params.baseURL }}{{ $.Site.Params.siteLogo }}" type="image/x-icon" />
+ <link rel="shortcut icon" href="{{ $.Site.Params.siteLogo | relURL }}" type="image/x-icon" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
- <!--<link rel="stylesheet" href="./css/bootstrap.css">-->
- <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/tony.css">
+ <!--<link rel="stylesheet" href="{{ "/css/bootstrap.css" | relURL }}">-->
+ <link rel="stylesheet" href="{{ "/css/tony.css" | relURL }}">
<title>{{ .Title }}</title>
</head> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 698a9ac..2cdd655 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,7 @@
<header id="header-div" class="tony-header-scoll">
<div class="header-div1">
<a href="{{ $.Site.BaseURL }}" style="display:inline-block;">
- <img src="{{ $.Site.BaseURL }}{{ $.Site.Params.siteLogo }}">
+ <img src="{{ $.Site.Params.siteLogo | relURL}}">
</a>
</div>
{{ partial "menu.html" . }}
diff --git a/layouts/partials/third-party/instant-page.html b/layouts/partials/third-party/instant-page.html
new file mode 100644
index 0000000..08e8a94
--- /dev/null
+++ b/layouts/partials/third-party/instant-page.html
@@ -0,0 +1 @@
+<script src="https://cdn.jsdelivr.net/npm/instant.page@3.0.0/instantpage.min.js" type="module" defer></script>
diff --git a/layouts/partials/third-party/medium-zoom.html b/layouts/partials/third-party/medium-zoom.html
new file mode 100644
index 0000000..b46dbb0
--- /dev/null
+++ b/layouts/partials/third-party/medium-zoom.html
@@ -0,0 +1,7 @@
+<script src="https://cdn.jsdelivr.net/npm/medium-zoom@latest/dist/medium-zoom.min.js"></script>
+
+<script>
+ mediumZoom(document.querySelectorAll('div.post-body img'), {
+ background: 'hsla(var(--color-bg-h), var(--color-bg-s), var(--color-bg-l), 0.95)'
+ })
+</script>
diff --git a/layouts/partials/third-party/qrcode-generator.html b/layouts/partials/third-party/qrcode-generator.html
new file mode 100644
index 0000000..e25bec7
--- /dev/null
+++ b/layouts/partials/third-party/qrcode-generator.html
@@ -0,0 +1,10 @@
+<script src="https://cdn.jsdelivr.net/npm/qrcode-generator@1.4.4/qrcode.min.js"></script>
+
+<script>
+ var typeNumber = 0;
+ var errorCorrectionLevel = 'L';
+ var qr = qrcode(typeNumber, errorCorrectionLevel);
+ qr.addData('{{ .Permalink }}');
+ qr.make();
+ document.getElementById('qrcode-img').innerHTML = qr.createImgTag();
+</script>
diff --git a/layouts/partials/third-party/service-worker.html b/layouts/partials/third-party/service-worker.html
new file mode 100644
index 0000000..6e44f59
--- /dev/null
+++ b/layouts/partials/third-party/service-worker.html
@@ -0,0 +1,30 @@
+{{ if and .Site.Params.enableServiceWorker (eq hugo.Environment "production") }}
+ {{- partial "utils/relative-url.html" (dict "Deliver" . "filename" "sw.js") -}}
+ {{- $url := .Scratch.Get "url" }}
+
+ <div class="app-refresh" id="app-refresh">
+ <div class="app-refresh-wrap" onclick="location.reload()">
+ <label>{{ i18n "serviceWorkerUpdatedText" }}</label>
+ <span>{{ i18n "serviceWorkerUpdatedAction" }}</span>
+ </div>
+ </div>
+
+ <script>
+ if ('serviceWorker' in navigator) {
+ if (navigator.serviceWorker.controller) {
+ navigator.serviceWorker.addEventListener('controllerchange', function() {
+ showNotification();
+ });
+ }
+
+ window.addEventListener('load', function() {
+ {{ printf `navigator.serviceWorker.register('%s');` $url | safeJS }}
+ });
+ }
+
+ function showNotification() {
+ document.querySelector('meta[name=theme-color]').content = '#000';
+ document.getElementById('app-refresh').className += ' app-refresh-show';
+ }
+ </script>
+{{ end }}
diff --git a/layouts/partials/third-party/smooth-scroll.html b/layouts/partials/third-party/smooth-scroll.html
new file mode 100644
index 0000000..f071679
--- /dev/null
+++ b/layouts/partials/third-party/smooth-scroll.html
@@ -0,0 +1,8 @@
+<script src="https://cdn.jsdelivr.net/gh/cferdinandi/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>
+
+<script>
+ var scroll = new SmoothScroll('a[href*="#"]', {
+ speedAsDuration: true,
+ header: '[data-scroll-header]'
+ });
+</script>
diff --git a/layouts/partials/third-party/utterances.html b/layouts/partials/third-party/utterances.html
new file mode 100644
index 0000000..65c2089
--- /dev/null
+++ b/layouts/partials/third-party/utterances.html
@@ -0,0 +1,50 @@
+{{- if .Site.Params.enableDarkMode -}}
+ {{- with .Site.Params.defaultTheme | default "light" -}}
+ {{- if eq . "light" -}}
+ {{- $.Scratch.Set "theme" $.Site.Params.utterancesTheme -}}
+ {{- else -}}
+ {{- $.Scratch.Set "theme" $.Site.Params.utterancesThemeDark -}}
+ {{- end -}}
+ {{- end -}}
+{{- else -}}
+ {{- $.Scratch.Set "theme" $.Site.Params.utterancesTheme -}}
+{{- end -}}
+{{- $theme := $.Scratch.Get "theme" -}}
+<script>
+ function loadComments() {
+ (function() {
+ var utterances = document.getElementById("utterances");
+ var script = document.createElement('script');
+ script.src = 'https://utteranc.es/client.js';
+ script.async = true;
+ script.crossOrigin = 'anonymous';
+ script.setAttribute('repo', '{{ .Site.Params.utterancesRepo }}');
+ script.setAttribute('issue-term', '{{ .Site.Params.utterancesIssueTerm }}');
+ {{ template "theme" (dict "Deliver" . "theme" $theme) }}
+ {{ with .Site.Params.utterancesLabel }}
+ script.setAttribute('label', '{{ . }}');
+ {{ end }}
+ utterances.appendChild(script);
+ })();
+ }
+</script>
+{{- define "theme" -}}
+ {{- $Deliver := .Deliver -}}
+ {{- $theme := .theme -}}
+ {{- if $Deliver.Site.Params.enableDarkMode -}}
+ const userPrefers = localStorage.getItem('theme');
+ const darkModeMediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
+ const lightModeMediaQuery = window.matchMedia('(prefers-color-scheme: light)');
+ if (userPrefers === "dark") {
+ script.setAttribute('theme', '{{ $Deliver.Site.Params.utterancesThemeDark }}');
+ } else if (userPrefers === "light") {
+ script.setAttribute('theme', '{{ $Deliver.Site.Params.utterancesTheme }}');
+ } else if (darkModeMediaQuery.matches) {
+ script.setAttribute('theme', '{{ $Deliver.Site.Params.utterancesThemeDark }}');
+ } else if (lightModeMediaQuery.matches) {
+ script.setAttribute('theme', '{{ $Deliver.Site.Params.utterancesTheme }}');
+ }
+ {{- else -}}
+ script.setAttribute('theme', '{{ $theme }}');
+ {{- end -}}
+{{- end -}}
diff --git a/layouts/partials/third-party/valine.html b/layouts/partials/third-party/valine.html
new file mode 100644
index 0000000..91f8e3b
--- /dev/null
+++ b/layouts/partials/third-party/valine.html
@@ -0,0 +1,58 @@
+<script src="//cdn.jsdelivr.net/npm/valine@{{ .Site.Params.valineVersion }}/dist/Valine.min.js"></script>
+<script>
+var langName = 'Ray',
+langMode = {
+ "nick": "昵称~(〃'▽'〃)",
+ "mail": "邮箱~ヾ(o・ω・)ノ",
+ "link": "网站~( • ̀ω•́ )✧",
+ "nickFail":"昵称至少要三个字符喵!",
+ "mailFail":"请填写正确的邮箱(╬ ̄皿 ̄)",
+ "sofa": "空荡荡的大沙发~",
+ "submit": "发射犇犇!",
+ "reply": "回Foo",
+ "cancelReply": "俺不想回复了",
+ "comments": "条评论╮( ̄▽ ̄)╭",
+ "cancel": "取消",
+ "confirm": "确认",
+ "continue": "继续",
+ "more": "Load More...",
+ "preview": "预览一下喵ヽ(・ω・´メ)",
+ "emoji": "可爱的表情",
+ "expand": "查看更多不该看的",
+ "seconds": "秒钟前",
+ "minutes": "分钟前",
+ "hours": "小时前",
+ "days": "天前",
+ "now": "热乎的评论",
+ "uploading":"上传中啦~(*・ω-q) ",
+ "uploadDone":"上传成功啦!( ̄︶ ̄)↗",
+ "busy":"别辣么捉急提交,稍等一会~(づ ̄3 ̄)づ╭❤~",
+ "code-98":"Valine初始化失败,请检查av-min.js的版本~(;´д`)ゞ",
+ "code-99": "Valine初始化失败,请检查dom节点是否存在或是否正确~(;´д`)ゞ",
+ "code-100": "Valine初始化失败,请检查appId和appKey~(;´д`)ゞ",
+ "code-140":"调用次数超过开发版限制~(;´д`)ゞ",
+ "code-401": "未经授权的操作,请检查appId和appKey~(;´д`)ゞ",
+ "code-403": "域名被白名单拦截,请检查你的安全域名设置~(;´д`)ゞ"
+};
+valine = new Valine({
+ el: '#vcomments',
+ appId: '{{ .Site.Params.valineAppId }}',
+ appKey: '{{ .Site.Params.valineAppKey }}',
+ lang: langName,
+ langMode: langMode,
+ placeholder: '{{ .Site.Params.valinePlaceholder }}',
+ path: {{ .Site.Params.valinePath | default "location.pathname" | safeJS }},
+ avatar: '{{ .Site.Params.valineAvatar }}',
+ meta: {{ .Site.Params.valineMeta }},
+ pageSize: {{ .Site.Params.valinePageSize }},
+ visitor: {{ .Site.Params.valineVisitor }},
+ highlight: {{ .Site.Params.valineHighlight }},
+ avatarForce: {{ .Site.Params.avatarForce }},
+ recordIP: {{ .Site.Params.valineRecordIP }},
+ serverURLs: '{{ .Site.Params.valineServerURLs }}',
+ emojiCDN: '//cdn.jsdelivr.net/gh/FFRaycoder/cdn@latest/imgs/emoji/',
+ emojiMaps: {"custom/custom_1":"custom/1.webp","custom/custom_2":"custom/2.webp","custom/custom_3":"custom/3.jpg","custom/custom_4":"custom/4.jpg","custom/custom_5":"custom/5.gif","custom/custom_6":"custom/6.gif","custom/custom_7":"custom/7.webp","custom/custom_8":"custom/8.webp","custom/custom_9":"custom/9.webp","custom/custom_10":"custom/10.webp","custom/custom_11":"custom/11.webp","custom/custom_12":"custom/12.webp","custom/custom_13":"custom/13.webp","custom/custom_14":"custom/14.webp","custom/custom_15":"custom/15.gif","custom/custom_16":"custom/16.webp","custom/custom_17":"custom/17.webp","custom/custom_18":"custom/18.jpg","custom/custom_19":"custom/19.webp","custom/custom_20":"custom/20.webp","custom/custom_21":"custom/21.webp","custom/custom_22":"custom/22.webp","custom/custom_23":"custom/23.webp","custom/custom_24":"custom/24.webp","custom/custom_25":"custom/25.jpg","custom/custom_26":"custom/26.webp","custom/custom_27":"custom/27.webp","custom/custom_28":"custom/28.webp","custom/custom_29":"custom/29.webp","custom/custom_30":"custom/30.gif","custom/custom_31":"custom/31.webp","tv/tv_doge":"tv/tv_doge.gif","tv/tv_亲亲":"tv/tv_亲亲.png","tv/tv_偷笑":"tv/tv_偷笑.png","tv/tv_再见":"tv/tv_再见.png","tv/tv_冷漠":"tv/tv_冷漠.png","tv/tv_发怒":"tv/tv_发怒.png","tv/tv_发财":"tv/tv_发财.png","tv/tv_可爱":"tv/tv_可爱.gif","tv/tv_吐血":"tv/tv_吐血.gif","tv/tv_呆":"tv/tv_呆.png","tv/tv_呕吐":"tv/tv_呕吐.png","tv/tv_困":"tv/tv_困.png","tv/tv_坏笑":"tv/tv_坏笑.gif","tv/tv_大佬":"tv/tv_大佬.gif","tv/tv_大哭":"tv/tv_大哭.png","tv/tv_委屈":"tv/tv_委屈.png","tv/tv_害羞":"tv/tv_害羞.gif","tv/tv_尴尬":"tv/tv_尴尬.gif","tv/tv_微笑":"tv/tv_微笑.png","tv/tv_思考":"tv/tv_思考.png","tv/tv_惊吓":"tv/tv_惊吓.gif","tv/tv_打脸":"tv/tv_打脸.png","tv/tv_抓狂":"tv/tv_抓狂.png","tv/tv_抠鼻":"tv/tv_抠鼻.gif","tv/tv_斜眼笑":"tv/tv_斜眼笑.png","tv/tv_无奈":"tv/tv_无奈.gif","tv/tv_晕":"tv/tv_晕.png","tv/tv_流汗":"tv/tv_流汗.gif","tv/tv_流泪":"tv/tv_流泪.png","tv/tv_流鼻血":"tv/tv_流鼻血.png","tv/tv_点赞":"tv/tv_点赞.gif","tv/tv_生气":"tv/tv_生气.png","tv/tv_生病":"tv/tv_生病.png","tv/tv_疑问":"tv/tv_疑问.png","tv/tv_白眼":"tv/tv_白眼.png","tv/tv_皱眉":"tv/tv_皱眉.png","tv/tv_目瞪口呆":"tv/tv_目瞪口呆.png","tv/tv_睡着":"tv/tv_睡着.png","tv/tv_笑哭":"tv/tv_笑哭.gif","tv/tv_腼腆":"tv/tv_腼腆.gif","tv/tv_色":"tv/tv_色.gif","tv/tv_调侃":"tv/tv_调侃.png","tv/tv_调皮":"tv/tv_调皮.png","tv/tv_鄙视":"tv/tv_鄙视.png","tv/tv_闭嘴":"tv/tv_闭嘴.png","tv/tv_难过":"tv/tv_难过.gif","tv/tv_馋":"tv/tv_馋.png","tv/tv_鬼脸":"tv/tv_鬼脸.png","tv/tv_黑人问号":"tv/tv_黑人问号.gif","tv/tv_鼓掌":"tv/tv_鼓掌.gif","alu/alu_不出所料":"alu/不出所料.png","alu/alu_alu不说话":"alu/不说话.png","alu/alu_不高兴":"alu/不高兴.png","alu/alu_中刀":"alu/中刀.png","alu/alu_中指":"alu/中指.png","alu/alu_中枪":"alu/中枪.png","alu/alu_亲亲":"alu/亲亲.png","alu/alu_便便":"alu/便便.png","alu/alu_内伤":"alu/内伤.png","alu/alu_击掌":"alu/击掌.png","alu/alu_口水":"alu/口水.png","alu/alu_呲牙":"alu/呲牙.png","alu/alu_咽气":"alu/咽气.png","alu/alu_哭泣":"alu/哭泣.png","alu/alu_喜极而泣":"alu/喜极而泣.png","alu/alu_喷水":"alu/喷水.png","alu/alu_喷血":"alu/喷血.png","alu/alu_坐等":"alu/坐等.png","alu/alu_害羞":"alu/害羞.png","alu/alu_小眼睛":"alu/小眼睛.png","alu/alu_尴尬":"alu/尴尬.png","alu/alu_得意":"alu/得意.png","alu/alu_惊喜":"alu/惊喜.png","alu/alu_想一想":"alu/想一想.png","alu/alu_扇耳光":"alu/扇耳光.png","alu/alu_投降":"alu/投降.png","alu/alu_抠鼻":"alu/抠鼻.png","alu/alu_抽烟":"alu/抽烟.png","alu/alu_无奈":"alu/无奈.png","alu/alu_无所谓":"alu/无所谓.png","alu/alu_无语":"alu/无语.png","alu/alu_暗地观察":"alu/暗地观察.png","alu/alu_期待":"alu/期待.png","alu/alu_欢呼":"alu/欢呼.png","alu/alu_汗":"alu/汗.png","alu/alu_深思":"alu/深思.png","alu/alu_狂汗":"alu/狂汗.png","alu/alu_献花":"alu/献花.png","alu/alu_献黄瓜":"alu/献黄瓜.png","alu/alu_皱眉":"alu/皱眉.png","alu/alu_看不见":"alu/看不见.png","alu/alu_看热闹":"alu/看热闹.png","alu/alu_高兴":"alu/高兴.png","alu/alu_黑线":"alu/黑线.png","alu/alu_鼓掌":"alu/鼓掌.png","alu/alu_瞅你":"alu/瞅你.png","alu/alu_肿包":"alu/肿包.png","alu/alu_脸红":"alu/脸红.png","alu/alu_蜡烛":"alu/蜡烛.png","alu/alu_装大款":"alu/装大款.png","alu/alu_观察":"alu/观察.png","alu/alu_赞一个":"alu/赞一个.png","alu/alu_邪恶":"alu/邪恶.png","alu/alu_锁眉":"alu/锁眉.png","alu/alu_长草":"alu/长草.png","alu/alu_阴暗":"alu/阴暗.png","alu/alu_吐":"alu/吐.png","alu/alu_吐舌":"alu/吐舌.png","alu/alu_吐血倒地":"alu/吐血倒地.png","btext/btext_害":"btext/害.png","btext/btext_张三":"btext/张三.png","btext/btext_我全都要":"btext/我全都要.png","btext/btext_我哭了":"btext/我哭了.png","btext/btext_我太南了":"btext/我太南了.png","btext/btext_我裂开了":"btext/我裂开了.png","btext/btext_我酸了":"btext/我酸了.png","btext/btext_打卡":"btext/打卡.png","btext/btext_有内味了":"btext/有内味了.png","btext/btext_有生之年":"btext/有生之年.png","btext/btext_这次一定":"btext/这次一定.png","btext/btext_镇站之宝":"btext/镇站之宝.png","btext/btext_高产":"btext/高产.png","btext/btext_三连":"btext/三连.png","btext/btext_下次一定":"btext/下次一定.png","btext/btext_不愧是你":"btext/不愧是你.png","btext/btext_你币有了":"btext/你币有了.png","btext/btext_危":"btext/危.png","btext/btext_吹爆":"btext/吹爆.png","btext/btext_大师球":"btext/大师球.png","btext/btext_奥力给":"btext/奥力给.png","btext/btext_妙啊":"btext/妙啊.png","btext/btext_完结撒花":"btext/完结撒花.png","btext/btext_爱了爱了":"btext/爱了爱了.png","btext/btext_爷关更":"btext/爷关更.png","btext/btext_狼火":"btext/狼火.png","btext/btext_猛男必看":"btext/猛男必看.png","btext/btext_真香":"btext/真香.png","btext/btext_知识盲区":"btext/知识盲区.png","btext/btext_神仙UP":"btext/神仙UP.png","btext/btext_秀":"btext/秀.png","btext/btext_知识增加":"btext/知识增加.png","btext/btext_标准结局":"btext/标准结局.png","btext/btext_AWSL":"btext/AWSL.png","btext/btext_可以":"btext/可以.png","btext/btext_你细品":"btext/你细品.png"},
+ enableQQ: {{ .Site.Params.valineEnableQQ }},
+ requiredFields: {{ .Site.Params.valineRequiredFields }}
+});
+</script>