meta description

This commit is contained in:
Michael Zhang 2021-10-31 22:45:54 -05:00
parent 09e274a481
commit f17a37183a
2 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>michael's blog</title>
{{ block "headExtra" . }}{{ end }}
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
</head>

View file

@ -1,3 +1,7 @@
{{- define "headExtra" -}}
<meta name="description" content="{{ .Summary }}" />
{{- end -}}
{{- define "content" -}}
<a href="../">&laquo; back</a>