Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/hallo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChester Leung <chester.leung@berkeley.edu>2020-05-05 18:49:43 +0300
committerGitHub <noreply@github.com>2020-05-05 18:49:43 +0300
commitb103af69cf7acd438c934ea5a1bde2b017efe8cd (patch)
tree46ed86ca72e7cd669fd797b04462a6b3db509261 /layouts
parentbd77fd297fce0ed615fc09b00a2b8f08408cbd4a (diff)
Support for Academicon
Add Academicon icon set (https://jpswalsh.github.io/academicons/)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/head.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index ae274ae..61ca658 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -17,7 +17,7 @@
<div class="links">
{{- range .Site.Params.links -}}
<a rel="me" href="{{ .url | safeURL }}" title="{{ .title }}">
- <span class="{{ .iconset | default "fab" }} fa-{{ .icon }}"></span>
+ <span class="{{ .iconset | default "fab" }} {{.iconorigin | default "fa" }}-{{ .icon }}"></span>
</a>
{{- end -}}
</div>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index aed1b99..ba067ae 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -23,6 +23,7 @@
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700">
+ <link rel="stylesheet" href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<!-- Favicon -->