Skip to content

Commit

Permalink
Merge pull request #188 from toppers/fix_icon
Browse files Browse the repository at this point in the history
twitter icon  周りを修正、合わせて.Site.IsMultiLingualをhugo.IsMultilingualに変更
  • Loading branch information
mitsut authored Oct 31, 2024
2 parents db5b138 + 2b5e28f commit 4e08313
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<a href="{{ .Permalink }}">{{ .Name }}</a>
</li>
{{ end }}
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{ range .Site.Languages }}
{{ if eq . $.Site.Language }}
<li><a href="#" class="active language">{{ .LanguageName }}</a></li>
Expand Down
24 changes: 12 additions & 12 deletions layouts/shortcodes/snsicon.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@


{{- with $github }}
<a href="https://github.com/{{ $github }}" target="_blank">
<img src="{{ "img/common/GitHub-Mark-32px.png" | relURL }}" width="24">
</a>
<a href="https://github.com/{{ $github }}" target="_blank" style="text-decoration: none;">
<img src="{{ "img/common/GitHub-Mark-32px.png" | relURL }}" width="24">
</a>
{{- end }}

{{- with $twitter }}
<a href="https://twitter.com/{{ $twitter }}" target="_blank">
<img src="{{ "img/common/Twitter_Social_Icon_Circle_Color.png" | relURL }}" width="24">
</a>
<a href="https://twitter.com/{{ $twitter }}" target="_blank" style="text-decoration: none;">
<img src="{{ "img/common/X_logo_black.png" | relURL }}" style="height: 24px;">
</a>
{{- end }}

{{- with $facebook }}
<a href="https://www.facebook.com/{{ $facebook }}" target="_blank">
<img src="{{ "img/common/f_logo_RGB-Blue_58.png" | relURL }}" width="24">
</a>
<a href="https://www.facebook.com/{{ $facebook }}" target="_blank" style="text-decoration: none;">
<img src="{{ "img/common/f_logo_RGB-Blue_58.png" | relURL }}" width="24">
</a>
{{- end }}

{{- with $linkedin }}
<a href="https://www.linkedin.com/in/{{ $linkedin }}" target="_blank">
<img src="{{ "img/common/LI-In-Bug.png" | relURL }}" width="24">
</a>
<a href="https://www.linkedin.com/in/{{ $linkedin }}" target="_blank" style="text-decoration: none;">
<img src="{{ "img/common/LI-In-Bug.png" | relURL }}" width="24">
</a>
{{- end }}
Binary file added static/img/common/X_logo_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4e08313

Please sign in to comment.