1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 11:55:31 -04:00

more shortcode tweaks for valid RSS

This commit is contained in:
2019-12-15 14:06:00 -05:00
parent 77f3233702
commit 951c5f2c3f
7 changed files with 49 additions and 7 deletions

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 -}}