IMPROVEMENT make pangu optional & make hugo comments
This commit is contained in:
parent
07d45aa322
commit
f6ca73459c
3 changed files with 29 additions and 10 deletions
|
@ -41,9 +41,11 @@
|
|||
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/grids-min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/grids-responsive-min.css">
|
||||
|
||||
<!-- pangu support (js in the end before the body closing tag) -->
|
||||
<!-- todo make it optional -->
|
||||
{{/* pangu support: js in the end before the body closing tag */}}
|
||||
{{ if .Site.Params.features.pangu }}
|
||||
<!-- pangu support -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pangu/4.0.7/pangu.min.js"></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- website title -->
|
||||
<title>{{ .Site.Params.title }}</title>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue