From 43bcb579a29ecc354b63760e1aef976189de818b Mon Sep 17 00:00:00 2001 From: kimcc <15278020+kimcc@users.noreply.github.com> Date: Mon, 9 Mar 2020 20:00:10 -0500 Subject: [PATCH] new social icons & Google Analytics fix --- exampleSite/config.toml | 16 +++++++++++----- layouts/partials/social.html | 26 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1965858..a97614b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,6 +6,12 @@ enableRobotsTXT = true paginate = 4 # Set the number of posts to show before overflowing to the next page. summaryLength = 10 # Configure how long the post summary should be on the homepage. +# Add your Google Analytics identifier: UA-XXXXXXXX-X +googleAnalytics = "" + +# Add your Disqus shortname here. +disqusShortname = "" + [taxonomies] tag = "tags" @@ -31,6 +37,7 @@ summaryLength = 10 # Configure how long the post summary should be on the homepa reddit = "#" pinterest = "#" youtube = "#" + vimeo = "#" weibo = "#" vk = "#" linkedin = "#" @@ -52,11 +59,10 @@ summaryLength = 10 # Configure how long the post summary should be on the homepa gitlab = "#" codepen = "#" -# Add your Disqus shortname here. -disqusShortname = "" - -# Add your Google Analytics identifier: UA-XXXXXXXX-X -googleAnalytics = "" + # Academic + google-scholar = "#" + impactstory = "#" + orcid = "#" # Menu links along the sidebar navigation. [[menu.main]] diff --git a/layouts/partials/social.html b/layouts/partials/social.html index b573acd..4f5ef33 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -183,6 +183,32 @@ {{ end }} + + {{ if isset .Site.Params "google-scholar" }} + + + + + + {{ end }} + + {{ if isset .Site.Params "impactstory" }} + + + + + + + {{ end }} + + {{ if isset .Site.Params "google-scholar" }} + + + + + + {{ end }} +