more shortcode tweaks for valid RSS

This commit is contained in:
jake committed 2019-12-15 14:06:00 -05:00
1 parent 77f3233702
commit 951c5f2c3f
7 files changed
+49 -7

No files matched your search

+1 -2
View File
@@ -1,9 +1,8 @@
<!-- Automatic resizing for HiDPI/retina images -->
{{- /* Automatic resizing for HiDPI/retina images */ -}}
{{- $original := .Page.Resources.GetMatch (.Get "src") -}}
{{- .Scratch.Set "image" $original -}}
<!-- TODO: automatically pull max-width of page -->
{{- $maxWidth := 910 -}}
{{- $setWidth := 0 -}}