Skip to content

Commit

Permalink
Merge pull request #245 from PDOK/seo-fix
Browse files Browse the repository at this point in the history
fix: add full URL to thumbnail + remove redundant comma.
  • Loading branch information
rkettelerij authored Oct 1, 2024
2 parents 03dbacd + 7cb9907 commit 2542661
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"license": "{{ .Config.License.URL }}",
"isAccessibleForFree": true
{{- if and .Params.Metadata .Params.Metadata.Thumbnail }}
,"thumbnail": "resources/{{ .Params.Metadata.Thumbnail }}",
,"thumbnail": "{{ .Config.BaseURL }}/resources/{{ .Params.Metadata.Thumbnail }}"
{{- end }}
{{- if and .Params.Metadata .Params.Metadata.LastUpdated }}
,"version": "{{ toDate "2006-01-02T15:04:05Z07:00" .Params.Metadata.LastUpdated | date "2006-01-02" }}"
Expand Down

0 comments on commit 2542661

Please sign in to comment.