Move view counter
This commit is contained in:
parent
52ae011cb6
commit
c78d79d795
2 changed files with 5 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ primary_color: '#ffc107'
|
|||
secondary_color: '#296126'
|
||||
sidebar: true # Display sidebar
|
||||
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
|
||||
hexo: true # Display "Powered by Hexo" in footer
|
||||
|
|
|
|||
|
|
@ -16,7 +16,9 @@
|
|||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="<%= config.url %>">
|
||||
|
||||
<script data-goatcounter="https://bashynx.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
|
||||
<% if (theme.visitCounter) { %>
|
||||
<%- theme.visitCounter %>
|
||||
<% } %>
|
||||
|
||||
<link rel="icon" href="<%= url_for(theme.favicon) %>">
|
||||
|
||||
|
|
@ -114,7 +116,7 @@
|
|||
<div class="footer smoll">
|
||||
<% if (theme.hexo) { %>
|
||||
<div class="hexo footer">
|
||||
Powered by Hexo, theme <a href="https://tapestry.demo.bashynx.dev" target="_blank">Tapestry Code (WIP)</a><br>
|
||||
Powered by Hexo, theme <a href="https://github.com/HackmanClub/tapestry-code" target="_blank">Tapestry Code</a><br>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (theme.copyright) { %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue