From 01418511856c11307f2048af761f518d481425eb Mon Sep 17 00:00:00 2001 From: George Field Date: Sat, 1 Aug 2020 07:19:14 +0100 Subject: [PATCH] Add Google Maps social icon support. Icon by https://icons8.com/icons/set/google-maps --- README.md | 3 +++ exampleSite/config.toml | 3 +++ layouts/partials/social.html | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 7eb31da..c7a2c1e 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,9 @@ codepen = "#" googlescholar = "#" impactstory = "#" orcid = "#" + +# Travel +googlemaps = "#" ``` diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2609614..1fb781a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -73,6 +73,9 @@ disqusShortname = "" impactstory = "#" orcid = "#" + # Travel + googlemaps = "#" + # Menu links along the sidebar navigation. [[menu.main]] identifier = "about" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 5372740..67ebeaa 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -218,6 +218,15 @@ {{ end }} + {{ if isset .Site.Params "googlemaps" }} + + + + + + + {{ end }} +