Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion site/layouts/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#1f1f23" media="(prefers-color-scheme: dark)">
<title>{{ if .IsHome }}Eraser — data broker removal{{ else }}{{ .Title }} · Eraser{{ end }}</title>
<title>{{ if .IsHome }}Eraser — data broker removal{{ else }}{{ strings.Truncate 60 .Title }} · Eraser{{ end }}</title>
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<link rel="canonical" href="{{ .Permalink }}">
{{ with .Params.robots }}<meta name="robots" content="{{ . }}">{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/head-seo.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- /* Open Graph, Twitter card and JSON-LD. Kept in one partial so baseof.html
stays readable and the publisher Organization is defined once. */ -}}
{{- $isHome := .IsHome -}}
{{- $title := cond $isHome "Eraser — data broker removal" (printf "%s · Eraser" .Title) -}}
{{- $title := cond $isHome "Eraser — data broker removal" (printf "%s · Eraser" (strings.Truncate 60 .Title)) -}}
{{- $desc := or .Description .Site.Params.description -}}
{{- $org := dict "@type" "Organization" "name" "Drum and Bytes" "url" "https://drumandbytes.com" -}}
<meta property="og:type" content="{{ cond .IsPage "article" "website" }}">
Expand Down
Loading