Merge pull request #302 from codyjtclark/patch-1

Removes extra slash (/)
This commit is contained in:
zzossig 2020-07-20 03:14:49 +09:00 committed by GitHub
commit 7b49b382f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
{{ if not (in ($.Param "notAllowedTypesInHomeFeed") .Type) }}
{{ $exclude := slice "tags" "series" "categories" }}
{{ if not (in $exclude .Type) }}
<a href="{{ if eq hugo.Version "0.65.2" }}{{ .CurrentSection.FirstSection.Permalink }}{{ else }}{{ .FirstSection.Permalink }}{{ end }}/index.xml" type="application/rss+xml" title="RSS" aria-label="RSS Feed Link">
<a href="{{ if eq hugo.Version "0.65.2" }}{{ .CurrentSection.FirstSection.Permalink }}{{ else }}{{ .FirstSection.Permalink }}{{ end }}index.xml" type="application/rss+xml" title="RSS" aria-label="RSS Feed Link">
{{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }}
</a>
{{ else }}
@ -11,4 +11,4 @@
</a>
{{ end }}
{{ end }}
{{ end }}
{{ end }}