adjust social menu; add goatcounter

This commit is contained in:
Greg Gauthier 2021-11-27 10:08:12 +00:00
parent 0af35912a5
commit 7ba148cb16
3 changed files with 33 additions and 18 deletions

View File

@ -25,6 +25,7 @@ enableGitInfo = true
#highlightjs_extra_languages = [] #highlightjs_extra_languages = []
custom_js = ["js/math-code.js"] custom_js = ["js/math-code.js"]
dateFormat = "02 Jan 2006, 15:04" dateFormat = "02 Jan 2006, 15:04"
goatcounterAnalytics = "gmgauthier"
[markup] [markup]
[markup.goldmark.renderer] [markup.goldmark.renderer]
@ -65,7 +66,9 @@ enableGitInfo = true
[social] [social]
gab = "exitingthecave" gab = "exitingthecave"
gitea = "gmgauthier" gitea = "gmgauthier"
odysee = "@gmgauthier:0" odysee1 = "@gmgauthier:0"
odysee2 = "@exitingthecave:1"
odysee3 = "@TheCaveWall:e"
anchorfm = "exitingthecave" anchorfm = "exitingthecave"
# minds = "greg_gauthier" # minds = "greg_gauthier"
# locals = "exitingthecave" # locals = "exitingthecave"

View File

@ -4,8 +4,6 @@
<script src="{{ .Site.BaseURL }}js/menus.js"></script> <script src="{{ .Site.BaseURL }}js/menus.js"></script>
{{ partial "goatcounter_analytics.html" . }} {{ partial "goatcounter_analytics.html" . }}
{{ partial "google_analytics.html" . }}
{{ partial "piwik_analytics.html" . }}
{{ partial "footer_mathjax" . }} {{ partial "footer_mathjax" . }}

View File

@ -5,35 +5,49 @@
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" href='{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}'><i <a class="pure-menu-link" href='{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}'><i
class="fas fa-rss fa-fw"></i>RSS</a> class="fas fa-rss fa-fw"></i>RSS</a>
<hr style="border:1px solid #333333"/>
</li> </li>
{{ end }} {{ end }}
<!-- Social Media --> <!-- Social Media -->
{{ with .Site.Social.gab }} {{ with .Site.Social.gab }}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" href="https://gab.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-frog fa-fw"></i>Gab</a> <a class="pure-menu-link" href="https://gab.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-frog fa-fw"></i>My Gab</a>
</li>
{{ end }}
{{ with .Site.Social.anchorfm }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="https://anchor.fm/{{ . }}" rel="me" target="_blank"><i class="fa fa-podcast fa-fw"></i>Anchor.FM</a>
</li>
{{ end }}
{{ with .Site.Social.odysee }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="https://odysee.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-video fa-fw"></i>Odysee</a>
</li> </li>
{{ end }} {{ end }}
{{ with .Site.Social.gitea }} {{ with .Site.Social.gitea }}
<li class="pure-menu-item"> <li class="pure-menu-item">
<a class="pure-menu-link" href="https://gitea.gmgauthier.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-code fa-fw"></i>Gitea</a> <a class="pure-menu-link" href="https://gitea.gmgauthier.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-code fa-fw"></i>My Code</a>
</li> </li>
{{ end }} {{ end }}
{{ with .Site.Social.anchorfm }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="https://anchor.fm/{{ . }}" rel="me" target="_blank"><i class="fa fa-podcast fa-fw"></i>My Podcast</a>
</li>
{{ end }}
{{ with .Site.Social.odysee1 }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="https://odysee.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-video fa-fw"></i>My Vlog</a>
</li>
{{ end }}
{{ with .Site.Social.odysee2 }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="https://odysee.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-video fa-fw"></i>My Philo Vids</a>
</li>
{{ end }}
{{ with .Site.Social.odysee3 }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="https://odysee.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-video fa-fw"></i>My Archive</a>
</li>
{{ end }}
<!-- <!--
{{ with .Site.Social.linkedin }} {{ with .Site.Social.linkedin }}
<li class="pure-menu-item"> <li class="pure-menu-item">