Update links to include UTM parameters for tracking and fix atom feed link reference

This commit is contained in:
Fundor333
2025-06-16 18:14:20 +02:00
parent 051fb5310d
commit 0cea7123ef
3 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
<a class="a-post" href="{{ .Destination | safeURL }}?utm_source=fundor333.com&utm_medium=link&utm_campaign=blogging&ref=fundor333.com"{{ with .Title}} title="{{ . }}"{{ end }} target="_blank">{{ .Text | safeHTML }}</a> <a class="a-post" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }} target="_blank">{{ .Text | safeHTML }}</a>

View File

@@ -44,7 +44,7 @@
"date_published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}", "date_published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
"date_modified": "{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}", "date_modified": "{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}",
"id": "{{ .Permalink }}", "id": "{{ .Permalink }}",
"url": "{{ .Permalink }}", "url": "{{ .Permalink }}?utm_source=fundor333.com&utm_medium=jsonfeed&utm_campaign=blogging&ref=fundor333feed.com",
{{ with .Params.author -}} {{ with .Params.author -}}
"authors": [ "authors": [
{ {

View File

@@ -60,7 +60,7 @@
<h3> <h3>
<a target="_blank"> <a target="_blank">
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="atom:id"/> <xsl:value-of select="atom:link"/>
</xsl:attribute> </xsl:attribute>
<xsl:value-of select="atom:title"/> <xsl:value-of select="atom:title"/>
</a> </a>