Skip to content

Commit

Permalink
Update Fontawesome and fix header icons (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
kastnerp authored Jan 3, 2021
1 parent c50ae4a commit 987f270
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions layouts/partials/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 987f270

Please sign in to comment.