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:
@@ -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 -}}
|
||||
|
||||
|
Reference in New Issue
Block a user