Skip to content
Permalink
Browse files
Update Fontawesome and fix header icons (#112)
  • Loading branch information
kastnerp committed Jan 3, 2021
1 parent c50ae4a commit 987f270dfee350c561a4c588724c8eae290aeaa8
Showing 3 changed files with 8 additions and 8 deletions.
@@ -43,25 +43,25 @@ googleAnalytics = ""

[[menu.icon]]
url = "mailto:me@example.com"
name = "envelope-o"
name = "fas fa-envelope"
weight = 1

[[menu.icon]]
url = "https://github.com/username/"
name = "github"
name = "fab fa-github"
weight = 2

[[menu.icon]]
url = "https://twitter.com/username/"
name = "twitter"
name = "fab fa-twitter"
weight = 3

[[menu.icon]]
url = "https://www.linkedin.com/in/username/"
name = "linkedin"
name = "fab fa-linkedin"
weight = 4

[[menu.icon]]
url = "https://www.stackoverflow.com/username/"
name = "stack-overflow"
name = "fab fa-stack-overflow"
weight = 5
@@ -25,7 +25,7 @@
{{ if .Site.Params.highlight | default false }} <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ .Site.Params.highlightStyle | default "default" }}.min.css"> {{ end }}

<!-- bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" crossorigin="anonymous">

<!-- font awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
@@ -54,7 +54,7 @@
{{ if .Site.Menus.icon }}
<ul class="nav navbar-nav navbar-right">
{{ range sort .Site.Menus.icon }}
<li class="navbar-icon"><a href="{{ .URL }}"><i class="fa fa-{{ .Name }}"></i></a></li>
<li class="navbar-icon"><a href="{{ .URL }}"><i class="{{ .Name }}"></i></a></li>
{{ end }}
</ul>
{{ end }}

0 comments on commit 987f270

Please sign in to comment.