1
0
Fork 0

Merge pull request #148 from mdoff/remove-space-in-profile-url

Remove spaces in header url
This commit is contained in:
南小北 2023-02-09 04:24:46 +08:00 committed by GitHub
commit de3fdfa5bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@
<a
class="h-8 w-8 [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
style="--url: url(./{{ . }}.svg)"
href="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `mastodon` }} {{ site.Params.Get . }} {{ else }} https://{{ . }}.com/{{ site.Params.Get . }} {{ end }}"
href="{{ if eq . `rss` }}{{ `index.xml` | absURL }}{{ else if eq . `mastodon` }}{{ site.Params.Get . }}{{ else }}https://{{ . }}.com/{{ site.Params.Get . }}{{ end }}"
target="_blank"
{{ if ne . `rss` }}rel="me"{{ end }}
></a>