Skip to content

Commit

Permalink
Open personal website in new page
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylee97 committed Feb 20, 2024
1 parent f5e9152 commit 281ee8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/name-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h6 class="card-title fs-6 fw-bold">{{ . }}</h6>
<i class="bi bi-github me-1" style="color: #BBB;"></i>
{{ end }}
{{ if (and (isset .Params "materials") (isset .Params.materials "website")) }}
<a clas="link-dark" href="{{ .Params.materials.website }}"><i class="bi bi-house-fill me-1" style="color: #000;"></i></a>
<a clas="link-dark" href="{{ .Params.materials.website }}" target="_blank"><i class="bi bi-house-fill me-1" style="color: #000;"></i></a>
{{ else }}
<i class="bi bi-house-fill me-1" style="color: #BBB;"></i>
{{ end }}
Expand Down

0 comments on commit 281ee8b

Please sign in to comment.