Skip to content

Commit

Permalink
themes: add site pv/uv
Browse files Browse the repository at this point in the history
  • Loading branch information
changkun committed Nov 10, 2021
1 parent d13abe3 commit 357bfae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions themes/research/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
{{- range .Site.Menus.footer }}
| <a class="footer-link" href="{{ .URL }}"><b>{{ .Name }}</b></a>
{{- end }}
| PV/UV: <span id="urlstat-site-pv"><!-- info will be inserted --></span>/<span id="urlstat-site-uv"><!-- info will be inserted --></span>
</p>
</footer>
<script async src="//changkun.de/urlstat/client.js"></script>
3 changes: 1 addition & 2 deletions themes/research/layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@
theme="preferred-color-scheme"
crossorigin="anonymous"
async>
</script>
<script async src="//changkun.de/urlstat/client.js"></script>
</script>

0 comments on commit 357bfae

Please sign in to comment.