Skip to content

Commit

Permalink
style: align profile texts and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 17, 2022
1 parent 91236fd commit 619d9ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/sidebar/profile/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<div class="profile-location"><i class="fas fa-fw fa-map-marker-alt"></i>{{ . | safeHTML }}</div>
{{- end -}}
{{- if .about -}}
<div class="profile-about"><i class="fas fa-fw fa-user"></i><a target="_blank" rel="noopener noreferrer" href="{{ .about }}">{{ i18n "about_me" }}</a></div>
<a class="profile-about" target="_blank" rel="noopener noreferrer" href="{{ .about }}"><i class="fas fa-fw fa-user"></i>{{ i18n "about_me" }}</a>
{{- else -}}
{{- with $.GetPage "about" -}}
<div class="profile-about text-primary"><i class="fas fa-fw fa-user"></i><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></div>
<a class="profile-about text-primary" href="{{ .Permalink }}"><i class="fas fa-fw fa-user"></i>{{ .LinkTitle }}</a>
{{- end -}}
{{- end -}}
{{- with $.GetPage "contact" -}}
<div class="profile-contact text-primary"><i class="fas fa-fw fa-question-circle"></i><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></div>
<a class="profile-contact text-primary" href="{{ .Permalink }}"><i class="fas fa-fw fa-question-circle"></i>{{ .LinkTitle }}</a>
{{- end -}}
{{- end -}}

0 comments on commit 619d9ba

Please sign in to comment.