clean up rss feed. fix copyright. add spotify link

This commit is contained in:
Greg Gauthier 2022-01-07 22:41:46 +00:00
parent 486736133c
commit 80596ab465
4 changed files with 14 additions and 6 deletions

View File

@ -2,12 +2,12 @@ baseURL = "https://gmgauthier.com/"
languageCode = "en-us"
title = "Greg Gauthier"
copyright = "Copyright 2022. All rights reserved."
[author]
name = "Greg Gauthier"
email = "gmgauthier@protonmail.com"
copyright = "Copyright 2022. All rights reserved."
canonifyurls = true
paginate = 10
@ -95,6 +95,7 @@ enableGitInfo = true
minds = "greg_gauthier"
gitea = "gmgauthier"
odysee1 = "@gmgauthier:0"
spotify = "https://open.spotify.com/show/3qkV9mvW7vMu4kd6CzawQq"
# anchorfm = "exitingthecave"
# odysee2 = "@exitingthecave:1"
# odysee3 = "@TheCaveWall:e"

View File

@ -32,4 +32,5 @@
{{ partial "social.html" . }}
{{ partial "copyright.html" . }}
</div>

View File

@ -9,9 +9,15 @@
</li>
{{ end }}
{{ with .Site.Social.spotify }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ . }}" rel="me" target="_blank"><i class="fa fa-podcast fa-fw"></i>My Spotify</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>
<a class="pure-menu-link" href="https://odysee.com/{{ . }}" rel="me" target="_blank"><i class="fa fa-video fa-fw"></i>My Odysee</a>
</li>
{{ end }}

View File

@ -15,7 +15,10 @@
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<author>{{ .Site.Author.name }}</author>
<email>{{ .Site.Author.email }}</email>
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}by {{ .Site.Title }}</description>
<image>
<url>{{ .Site.BaseURL }}img/website-avatar-large.png</url>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }}</title>
@ -41,9 +44,6 @@
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
{{ with .Site.Author.email }}<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}
{{ with .Site.Author.email }}<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}
<author>{{ .Site.Author.name }}</author>
<email>{{ .Site.Author.email }}</email>
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
{{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}