From b103af69cf7acd438c934ea5a1bde2b017efe8cd Mon Sep 17 00:00:00 2001 From: Chester Leung Date: Tue, 5 May 2020 08:49:43 -0700 Subject: Support for Academicon Add Academicon icon set (https://jpswalsh.github.io/academicons/) --- README.md | 11 +++++++++++ layouts/index.html | 2 +- layouts/partials/head.html | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b609f1f..bca9e44 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,17 @@ It is possible to use an icon from [the solid set](https://fontawesome.com/icons url = "mailto:mail@example.org" ``` +It is also possible to use an icon from [the Academicon set](https://jpswalsh.github.io/academicons/). To do this, specify the icon set and icon origin. + +``` + [[params.links]] + iconorigin = "ai" + iconset = "ai" + icon = "google-scholar" + title = "Google Scholar" + url = "https://scholar.google.com" +``` + ### Additional content It's possible to add additional content to your site, for example a contact form. You can add this in `/layouts/partials/content.html`. Additional content will always be added "below the fold", ie. your introduction will always fill 100% of the height of the screen. 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 @@ 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 @@ + -- cgit v1.2.3