Font to fork (#420)

* Switch FontAwesome CDN to ForkAwesome

* Converted font-awesome icons to fork-awesome

* converted icons to forkawesome

* Converted folder icon to fork-awesome icon

* Update tags.html

* Update config.toml
This commit is contained in:
Demetrios Lambropoulos
2020-09-29 12:28:08 -04:00
committed by GitHub
parent 0fb4eafa63
commit 6c97691f5e
6 changed files with 13 additions and 13 deletions

View File

@@ -73,32 +73,32 @@ disqusShortname = "yourdiscussshortname"
[[params.social]]
name = "Github"
icon = "fab fa-github"
icon = "fa fa-github"
weight = 1
url = "https://github.com/johndoe/"
[[params.social]]
name = "Gitlab"
icon = "fab fa-gitlab"
icon = "fa fa-gitlab"
weight = 2
url = "https://gitlab.com/johndoe/"
[[params.social]]
name = "Twitter"
icon = "fab fa-twitter"
icon = "fa fa-twitter"
weight = 3
url = "https://twitter.com/johndoe/"
[[params.social]]
name = "LinkedIn"
icon = "fab fa-linkedin"
icon = "fa fa-linkedin"
weight = 4
url = "https://www.linkedin.com/in/johndoe/"
[[params.social]]
name = "Medium"
icon = "fab fa-medium"
icon = "fa fa-medium"
weight = 5
url = "https://medium.com/@johndoe"
[[params.social]]
name = "RSS"
icon = "fas fa-rss"
icon = "fa fa-rss"
weight = 6
url = "https://myhugosite.com/index.xml"
rel = "alternate"

View File

@@ -24,7 +24,7 @@
{{ end }}
<link href="https://fonts.googleapis.com/css?family=Lato:400,700%7CMerriweather:300,700%7CSource+Code+Pro:400,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.css" integrity="sha256-JEhNp+O24k1/UR+4Os54SetU/6ugBQsDuwlyckeN5aA=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha256-l85OmPOjvil/SOvVt3HnSSjzF1TUMyT9eV0c2BzEGzU=" crossorigin="anonymous" />
{{ if .Site.IsServer }}

View File

@@ -5,11 +5,11 @@
</a>
{{ if or .Site.Menus.main .Site.IsMultiLingual }}
<span id="dark-mode-toggle" class="float-right">
<i class="fas fa-adjust fa-fw"></i>
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</span>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fas fa-bars fa-fw"></i>
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
{{ with .Site.Menus.main}}

View File

@@ -1,5 +1,5 @@
<div class="categories">
<i class="fas fa-folder"></i>
<i class="fa fa-folder" aria-hidden="true"></i>
{{- range $index, $el := . -}}
{{- if gt $index 0 }}
<span class="separator"></span>

View File

@@ -1,5 +1,5 @@
<div class="tags">
<i class="fas fa-tag"></i>
<i class="fa fa-tag" aria-hidden="true"></i>
{{- range $index, $el := . -}}
{{- if gt $index 0 }}
<span class="separator"></span>

View File

@@ -11,13 +11,13 @@
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fas fa-calendar"></i>
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fas fa-clock"></i>
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>