mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
style(comment/vssue): format html
This commit is contained in:
parent
ef03c35658
commit
f145e77869
@ -7,21 +7,21 @@
|
|||||||
<script src="https://unpkg.com/vssue/dist/vssue.{{ .platform }}.min.js"></script>
|
<script src="https://unpkg.com/vssue/dist/vssue.{{ .platform }}.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
new Vue({
|
new Vue({
|
||||||
el: "#vssue",
|
el: "#vssue",
|
||||||
render: (h) =>
|
render: (h) =>
|
||||||
h("Vssue", {
|
h("Vssue", {
|
||||||
props: {
|
props: {
|
||||||
title: "{{ $.Title }}",
|
title: "{{ $.Title }}",
|
||||||
options: {
|
options: {
|
||||||
proxy: (url) => "https://cors-anywhere.azm.workers.dev/" + url,
|
proxy: (url) => "https://cors-anywhere.azm.workers.dev/" + url,
|
||||||
owner: "{{ .owner }}",
|
owner: "{{ .owner }}",
|
||||||
repo: "{{ .repo }}",
|
repo: "{{ .repo }}",
|
||||||
clientId: "{{ .clientId }}",
|
clientId: "{{ .clientId }}",
|
||||||
clientSecret: "{{ .clientSecret }}",
|
clientSecret: "{{ .clientSecret }}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user