Skip to content

Commit

Permalink
Implements pr #25
Browse files Browse the repository at this point in the history
Better implementation to apply only for mastodon
  • Loading branch information
AnXh3L0 committed Dec 16, 2024
1 parent b524209 commit 6ee8227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pluralizeListTitles = false
[[languages.de.menu.footer]]
identifier = "source"
name = "Quellcode"
url = "/source"
url = "https://github.com/uradotdesign/ura.design"
weight = "1"
[[languages.de.menu.footer]]
identifier = "datenschutz"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/social-icons.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ range . -}}
{{ $name := .name }}
{{ $path := printf "%s" $name | printf "%s%s" "brands/" }}
<a href="{{ .url }}" target="_blank" rel="noopener" title="{{ .name | humanize }}" aria-label="Ura Design on {{ .name | humanize }}">{{ partial "fontawesome.html" $path }}</a>
<a href="{{ .url }}" target="_blank" rel="noopener {{ if eq .name "mastodon" }}me{{ else }}{{ end }}" title="{{ .name | humanize }}" aria-label="Ura Design on {{ .name | humanize }}">{{ partial "fontawesome.html" $path }}</a>
{{- end -}}

0 comments on commit 6ee8227

Please sign in to comment.