1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 03:15:30 -04:00

minify HTML on build

This commit is contained in:
2019-11-22 16:23:45 -05:00
parent 7887aeb6ed
commit cf3e2ca5cf
17 changed files with 248 additions and 180 deletions

View File

@@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
{{ hugo.Generator }}
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
<script async custom-element="amp-video" src="https://cdn.ampproject.org/v0/amp-video-0.1.js"></script>
@@ -10,7 +11,6 @@
<title>{{ .Title }} &ndash; {{ .Site.Title }}</title>
{{ with .OutputFormats.Get "html" }}<link rel="canonical" href="{{ .Permalink }}">{{ end }}
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
{{ hugo.Generator }}
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta name="author" content="{{ .Site.Author.name }}">
{{ partial "open-graph.html" . }}