*Major Overhaul* Give theme a modern look!

This commit is contained in:
Joe Hutchinson
2020-10-21 17:55:25 -04:00
parent e68d21541a
commit f222420c12
12 changed files with 249 additions and 67 deletions

View File

@@ -6,7 +6,7 @@
{{ with $.Resources.GetMatch (replace (.Title) (path.Ext (.Title)) ".webp") -}}
<source srcset="{{ .Permalink }}" type="image/webp">
{{- end }}
{{ $thumbnail := .Fit "400x300 Lanczos" }}
{{ $thumbnail := .Fit "800x600 Lanczos" }}
<source srcset="{{ $thumbnail.Permalink }}">
<img src="{{ $thumbnail.Permalink }}" class="card-img" {{ with .Params.description -}} alt="{{ . }}" {{- end }}>
</picture>