Browse Source

fix missing / at the end of the URL. Thanks Google for noticing such a small change !

main
Nicolas Massé 1 year ago
parent
commit
667c7274ac
  1. 4
      layouts/partials/post-metadata.html

4
layouts/partials/post-metadata.html

@ -12,7 +12,7 @@
<!-- Skip the item if we are on the term page presenting this item -->
{{- if or (not $.parent.Data.topic) (ne . $.parent.Data.Term) }}
<span class="topic">
{{- partial "icons/link.svg" . -}}<a href="{{ "/topics/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{- partial "icons/link.svg" . -}}<a href="{{ "/topics/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
</span>
{{- end -}}
{{- end }}
@ -22,7 +22,7 @@
<!-- Skip the item if we are on the term page presenting this item -->
{{- if or (not $.parent.Data.opensource) (ne . $.parent.Data.Term) }}
<span class="opensource">
{{- partial "icons/label.svg" . -}}<a href="{{ "/opensource/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{- partial "icons/label.svg" . -}}<a href="{{ "/opensource/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
</span>
{{- end -}}
{{- end }}

Loading…
Cancel
Save