mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 11:55:31 -04:00
fix a few RSS validation warnings
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
<figcaption>{{ . | $.Page.RenderString | safeHTML }}</figcaption>
|
||||
</figure>
|
||||
{{- else -}}
|
||||
{{- else }}
|
||||
<p class="image">
|
||||
{{ with .Get "link" }}<a class="no-underline" href="{{ . }}"{{ if strings.HasPrefix . "http" }} target="_blank" rel="noopener"{{ end }}>{{ end }}
|
||||
<img src="{{ $optimized.Permalink }}" width="{{ $optimized.Width }}" height="{{ $optimized.Height }}"
|
||||
|
Reference in New Issue
Block a user