feat/css-cleanup #2

Merged
millironx merged 41 commits from feat/css-cleanup into master 2024-12-02 02:51:14 +00:00
2 changed files with 17 additions and 15 deletions
Showing only changes of commit 27b1a25a53 - Show all commits

View file

@ -63,15 +63,15 @@ stories.
Around the web you can find me at (in order of subjective importance)
- {{< fa fab github yes >}} GitHub: [@MillironX](https://github.com/MillironX)
- {{< fa fab orcid yes >}} ORDiD:
- {{< fa github yes >}} GitHub: [@MillironX](https://github.com/MillironX)
- {{< fa orcid yes >}} ORDiD:
[0000-0003-1219-9320](https://orcid.org/0000-0003-1219-9320)
- {{< fa fab gitlab yes >}} GitLab: [@MillironX](https://gitlab.com/MillironX)
- {{< fa fab vimeo yes >}} Vimeo:
- {{< fa gitlab yes >}} GitLab: [@MillironX](https://gitlab.com/MillironX)
- {{< fa vimeo yes >}} Vimeo:
[Thomas Christensen II](https://vimeo.com/tchristensenii)
- {{< fa fab stack-overflow yes >}} StackExchange:
- {{< fa stack-overflow yes >}} StackExchange:
[Milliron X](https://stackexchange.com/users/4863541/milliron-x)
- {{< fa fab steam yes >}} Steam:
- {{< fa steam yes >}} Steam:
[MillironX](https://steamcommunity.com/id/millironx)
This list is intended to verify my identity on other sites. Please do _not_ use

View file

@ -1,11 +1,13 @@
{{- $faStyle := .Get 0 -}}
{{- $faName := .Get 1 -}}
{{- $isFullWidth := .Get 2 -}}
<i
class="
{{- $faStyle }}
fa-{{ $faName }}
{{- if eq $isFullWidth "yes" }}
{{- $faName := .Get 0 -}}
{{- $isFullWidth := .Get 1 -}}
{{- $fontAwesomePath := print "assets/graphics/fa/" $faName ".svg" -}}
<span
class="fa-container{{- if eq $isFullWidth "yes" }}
fa-fw
{{ end -}}"
></i>
>
{{- readFile $fontAwesomePath | safeHTML -}}
</span>