diff options
author | Olivier Roques <ojroques@users.noreply.github.com> | 2022-10-03 17:36:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 17:36:56 +0200 |
commit | 60fd8186bff740860f1c77c37e8e1cd26bbc6d3e (patch) | |
tree | 9f69ccb38a4c160bebb649ee3c321e141d08a052 | |
parent | 027e9d194cc652f4abe1b2cc1da30cfa381aa4b3 (diff) | |
parent | 12617ed68485b5c5f248a7b1fd2549b4cc31aa11 (diff) |
Merge pull request #31 from aniolm9/master
Add support for Academicicons
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/head.html | 1 |
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 }}"> |