Move visit counter into config
This commit is contained in:
parent
d90f7e6b8f
commit
93a71be8ef
2 changed files with 5 additions and 1 deletions
|
|
@ -11,6 +11,8 @@ primary_color: '#ffc107 !important'
|
||||||
tag_border: false # Add border to tags
|
tag_border: false # Add border to tags
|
||||||
sidebar: true # Display sidebar
|
sidebar: true # Display sidebar
|
||||||
scarves: true # Display scarves
|
scarves: true # Display scarves
|
||||||
|
visitCounter: false # Insert a link for visit counter, eg: '<script data-goatcounter="https://x.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>'
|
||||||
|
|
||||||
|
|
||||||
#Footer
|
#Footer
|
||||||
hexo: true # Display "Powered by Hexo" in footer
|
hexo: true # Display "Powered by Hexo" in footer
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,9 @@
|
||||||
<script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
|
<script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
|
||||||
<script src="https://unpkg.com/infinite-scroll@4/dist/infinite-scroll.pkgd.min.js"></script>
|
<script src="https://unpkg.com/infinite-scroll@4/dist/infinite-scroll.pkgd.min.js"></script>
|
||||||
|
|
||||||
<script data-goatcounter="https://bashynx.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
|
<% if (theme.visitCounter) { %>
|
||||||
|
<%- theme.visitCounter %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue