style(comment/vssue): format html

This commit is contained in:
Jimmy Cai 2021-04-26 18:25:00 +02:00 committed by GitHub
parent ef03c35658
commit f145e77869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 -}}