mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add automatic anchor symbols using anchorjs
This commit is contained in:
@@ -6,4 +6,5 @@
|
||||
{{ .Content }}
|
||||
</article>
|
||||
|
||||
{{ partial "anchorjs.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
<link href="/atom.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script>
|
||||
{{ partial "analytics.html" . }}
|
||||
|
||||
<!-- redirect from phil-opp.github.io/blog_os -->
|
||||
|
||||
@@ -24,4 +24,5 @@
|
||||
<hr>
|
||||
|
||||
{{ partial "disqus.html" . }}
|
||||
{{ partial "anchorjs.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user