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

github.com/ojroques/hugo-researcher.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Roques <ojroques@users.noreply.github.com>2022-10-03 18:36:56 +0300
committerGitHub <noreply@github.com>2022-10-03 18:36:56 +0300
commitbd335ad38c469f448270dc99b338768ef1765e69 (patch)
tree9f69ccb38a4c160bebb649ee3c321e141d08a052
parentcd2233558f3ac4c552bd2d6f408c381bda26974b (diff)
parent343b05bac3f52265958eaf85c99150cbd2603347 (diff)
Merge pull request #31 from aniolm9/master
Add support for Academicicons
-rw-r--r--exampleSite/config.toml4
-rw-r--r--layouts/partials/head.html1
2 files changed, 5 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 69c23fd..5488fe2 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -29,6 +29,10 @@ googleAnalytics = "" # add your tracking id
icon = "fas fa-envelope"
title = "E-mail"
url = "mailto:mail@example.com"
+ [[params.socialIcons]]
+ icon = "ai ai-google-scholar"
+ title = "Scholar"
+ url = "https://scholar.google.com/"
[permalinks]
"/" = "/:filename"
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index df307bb..b4c5357 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -9,6 +9,7 @@
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
{{ $style := resources.Get "sass/researcher.scss" | resources.ExecuteAsTemplate "sass/researcher.scss" . | toCSS | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">