Commit 8481bdcb authored by Laura Kalbag's avatar Laura Kalbag

Show social platform title as site title on Home page.

parent 19775dea
<!-- From Indiego partials/micro-schema.html https://github.com/growdigital/indiego/blob/master/themes/indiegomin/layouts/partials/micro-schema.html -->
<!-- Schema.org markup -->
{{ if .IsHome }}
<meta itemprop="headline" content="{{ .Site.Title }}">
{{ else }}
<meta itemprop="headline" content="{{ .Title }}">
{{ end }}
<meta itemprop="description" content="{{ .Summary }}">
<meta itemprop="image" content="{{ .Site.BaseURL }}{{ .Params.image }}">
<meta itemprop="image" content="{{ .Site.BaseURL }}{{ .Site.Params.publisherLogo }}">
......
<!-- From Indiego partials/micro-twitog.html https://github.com/growdigital/indiego/blob/master/themes/indiegomin/layouts/partials/micro-twitog.html -->
<!-- Twitter -->
<meta name="twitter:site" content="@{{ .Site.Params.twitter }}">
{{ if .IsHome }}
<meta name="twitter:title" content="{{ .Site.Title }}">
{{ else }}
<meta name="twitter:title" content="{{ .Title }}">
{{ end }}
<meta name="twitter:description" content="{{ .Summary }}">
{{ if .Params.Image }}
<!-- Twitter Summary Card with Large Image data -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment