mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 23:15:31 -04:00
make optimize-image more function-like
....instead of relying on $.Scratch
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
{{ partial "head/meta" . }}
|
||||
{{ partial "head/social-images" . }}
|
||||
{{ partial "head/open-graph" . }}
|
||||
{{ partial "head/meta" . -}}
|
||||
{{ partial "head/social-images" . -}}
|
||||
{{ partial "head/open-graph" . -}}
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
||||
<meta name="apple-mobile-web-app-title" content="{{ .Site.Title }}">
|
||||
<meta name="theme-color" content="#0e6dc2">
|
||||
{{ partialCached "head/preload" . }}
|
||||
{{ partialCached "head/styles" . }}
|
||||
{{ partialCached "head/favicons" (dict "png_sizes" "192 48 32 16" "ico_sizes" "16x16 32x32 48x48") }}
|
||||
{{ partialCached "head/preload" . -}}
|
||||
{{ partialCached "head/styles" . -}}
|
||||
{{ partialCached "head/favicons" (dict "png_sizes" "192 48 32 16" "ico_sizes" "16 32 48") -}}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
<link rel="alternate" type="application/rss+xml" href="{{ "feed.xml" | absURL }}" title="{{ .Site.Title }} (RSS)">
|
||||
<link rel="author" href="{{ "humans.txt" | absURL }}">
|
||||
{{ if and .IsPage (eq .Type "notes") }}
|
||||
{{ with .OutputFormats.Get "amp" }}
|
||||
{{- with .OutputFormats.Get "amp" -}}
|
||||
<link rel="amphtml" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{ partial "head/schema-person" . }}
|
||||
{{ partial "head/schema-article" . }}
|
||||
{{ else }}
|
||||
{{ partial "head/schema-person" . }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
Reference in New Issue
Block a user