Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/layouts/partials/head-seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
-}}
{{- if not .Lastmod.IsZero -}}{{- $ld = merge $ld (dict "dateModified" (.Lastmod.Format "2006-01-02")) -}}{{- end -}}
{{- else if or (and .IsPage (eq .Section "brokers")) (eq .RelPermalink "/compare/") -}}
{{- /* opt-out guides per broker and the comparison page read as articles to crawlers */ -}}
{{- /* opt-out guides per broker and the comparison page read as articles to crawlers; Ahrefs only accepts plain Article here, TechArticle did not clear the check */ -}}
{{- $ld = dict
"@context" "https://schema.org"
"@type" (cond (eq .Section "brokers") "TechArticle" "Article")
"@type" "Article"
"headline" .Title
"description" $desc
"url" .Permalink
Expand Down