fixup links under resources & inspiration section of pages (notes/recipes)

This commit is contained in:
KemoNine 2022-12-04 15:10:27 -05:00
parent 54fb9beb76
commit 57b0678804
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@
{{ range .Params.inspiration }} {{ range .Params.inspiration }}
<ul class="recipe-source"> <ul class="recipe-source">
{{ if .url }} {{ if .url }}
<li><a href="{{ .URL }}">{{ .title }}</a></li> <li><a href="{{ .url | safeURL }}" target="_blank" rel="noopener me">{{ .title }}</a></li>
{{ else }} {{ else }}
<li>{{ .title }}</li> <li>{{ .title }}</li>
{{ end }} {{ end }}

View file

@ -77,7 +77,7 @@
{{ range .Params.inspiration }} {{ range .Params.inspiration }}
<ul class="center"> <ul class="center">
{{ if .url }} {{ if .url }}
<li><a href="{{ .url | safeURL }}">{{ .title }}</a></li> <li><a href="{{ .url | safeURL }}" target="_blank" rel="noopener me">{{ .title }}</a></li>
{{ else }} {{ else }}
<li>{{ .title }}</li> <li>{{ .title }}</li>
{{ end }} {{ end }}