Added missing icons

I never added font awesome fonts and I didn't notice because I use nerd
fonts on my own computer :/
This commit is contained in:
Alejandro Angulo 2023-08-26 07:44:04 -07:00
parent b8174db215
commit 6bb0ba652d
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 12 additions and 1 deletions

View file

@ -7,6 +7,10 @@ body {
font-family: Hack, monospace;
}
.fab {
font-size: 20px;
}
a {
color: #00a7af;
padding: 0.1em;

View file

@ -5,7 +5,7 @@
class="glyph-link"
href="{{ $.Param "githubURL" }}/commits/{{ $.Param "gitBranch" }}/content/{{ .File.Dir }}/{{ .File.LogicalName }}"
>
View post history <i class="nf nf-fa-github_alt"></i>
View post history <i class="fab fa-github-alt"></i>
</a>
{{ .Content }}
{{ end }}

View file

@ -6,6 +6,13 @@
type="text/css"
href="https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.css"
integrity="sha512-/0+jCMeks7Sm7B2Jai6K8JDYQqiwWiY73tw+G6BQkisKhUC0fqKt9Sd8noZvHPHl5rm9/cJ5hcuzzONlFvLMQQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
{{ $main_style := resources.Get "css/main.css" | minify }}
{{ $highlight_style := resources.Get "css/highlight.css" | minify }}
{{ $nerdfont_style := resources.Get "css/nerd-fonts-generated.css" | minify }}