Commit 19775dea authored by Laura Kalbag's avatar Laura Kalbag

Remove template code leftover from Laura’s site.

parent 049395e6
<!-- 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 eq .Type "status" }}
<meta name="twitter:title" content="{{ .Date.Format "Monday, 2 January 2006" }}">
<meta name="twitter:description" content="{{ .Summary }}">
{{ else }}
<meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:description" content="{{ .Summary }}">
{{ end }}
{{ if .Params.Image }}
<!-- Twitter Summary Card with Large Image data -->
<!-- Aspect ratio 2:1, minimum dimension 300x157 -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ .Site.BaseURL }}{{ .Params.Image }}">
<meta name="twitter:image:alt" content="{{ .Params.imagealt }}">
{{ else if eq .Type "photos" }}
{{ with .Resources }}
{{ with .GetMatch "{*.*,*.jpg,*.png,*.jpeg}" }}{{ $photo := .Resize "600x314" }}
{{ with $photo }}
<!-- Twitter Summary Card with Large Image data -->
<!-- Aspect ratio 2:1, minimum dimension 300x157 -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ .Permalink }}">
<meta name="twitter:image:alt" content="{{ .Params.imagealt }}">
{{ end }}
{{ end }}{{ end }}
{{ else }}
<!-- Twitter Summary Card -->
<!-- Aspect ratio 1:1, minimum dimension 144x144 -->
......
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