From b3147e3dd8f91601e2f5ce14862bb6a740c5f171 Mon Sep 17 00:00:00 2001 From: George Field Date: Sat, 1 Aug 2020 15:00:22 +0100 Subject: [PATCH] Add Tripadvisor social icon support. Icon by https://icons8.com/icons/set/tripadvisor --- README.md | 1 + exampleSite/config.toml | 1 + layouts/partials/social.html | 9 +++++++++ 3 files changed, 11 insertions(+) diff --git a/README.md b/README.md index c7a2c1e..bf540ba 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ orcid = "#" # Travel googlemaps = "#" +tripadvisor = "#" ``` diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1fb781a..a8ecb5d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -75,6 +75,7 @@ disqusShortname = "" # Travel googlemaps = "#" + tripadvisor = "#" # Menu links along the sidebar navigation. [[menu.main]] diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 67ebeaa..c4eba73 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -227,6 +227,15 @@ {{ end }} + {{ if isset .Site.Params "tripadvisor" }} + + + + + + + {{ end }} +