We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should use the same code (with small alteration) for every social icon as this partial is getting out of hand :)
Something like:
{{ range $social_services }} {{ with .Param .key }} <a href="{{ .URL }}" target="_blank" class="link-transition medium link dib z-999 pt3 pt0-l mr1" title="{{ .title }} link" rel="noopener" aria-label="follow on Medium——Opens in a new window"> {{ partial (printf "svg/%s.svg" ,.key }} (dict "size" $icon_size) }} {{- partial "new-window-icon.html" . -}} </a> {{ end }} {{ end }}
Of course with checking that the svg partial exist and fallback on a default etc...
svg
The text was updated successfully, but these errors were encountered:
Closed in favor of #422
Sorry, something went wrong.
regisphilibert
No branches or pull requests
We should use the same code (with small alteration) for every social icon as this partial is getting out of hand :)
Something like:
Of course with checking that the
svg
partial exist and fallback on a default etc...The text was updated successfully, but these errors were encountered: