pangu.min.js

This commit is contained in:
JamesFlare1212
2023-04-27 10:28:27 +08:00
parent abc7006454
commit 0079bd21d8
8 changed files with 35 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
{{- /* PanguJS */ -}}
{{- if eq .Site.Params.pangu.enable true -}}
<script src="/js/pangu.min.js"></script>
<script>pangu.spacingPage();</script>
{{- end -}}

View File

@@ -0,0 +1,8 @@
{{ range .Site.Params.custom_css -}}
<link rel="stylesheet" href="{{ . | absURL }}">
{{- end }}
{{ range .Site.Params.custom_js -}}
<script type="text/javascript" src="{{ . | absURL }}"></script>
<script>pangu.spacingPage();</script>
{{- end }}