Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zhaohuabing/hugo-theme-cleanwhite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhaohuabing <zhaohuabing@gmail.com>2020-01-19 17:21:30 +0300
committerGitHub <noreply@github.com>2020-01-19 17:21:30 +0300
commitc920d8f16345b49d2a8fb83257712304bf7f7908 (patch)
tree4570a92874db377ed6adb2c5e3709f9338c64711
parent3c087f56ba45ab39fbdf410ff94dfd86e04e462f (diff)
parent0bf88003f77b44217abfc443452d5e0c2193bcd6 (diff)
Merge pull request #74 from fearlesscodes/master
Adds social param xing
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/footer.html10
-rw-r--r--layouts/partials/sidebar.html10
3 files changed, 21 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 54243dc..35b16ea 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -83,6 +83,7 @@ home = ["HTML", "RSS", "Algolia"]
#gitlab = "full profile url in gitlab"
#mastodon = "full profile url in mastodon"
#keybase = "full profile url in keybase"
+ #xing = "https://www.xing.com/profile/yourxingid"
#git = "full profile url for git user"
[[params.friend_link]]
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e736f6f..b7da6d1 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -168,6 +168,16 @@
</a>
</li>
{{ end }}
+ {{ with .Site.Params.social.xing }}
+ <li>
+ <a target="_blank" href="{{ . }}">
+ <span class="fa-stack fa-lg">
+ <i class="fa fa-circle fa-stack-2x"></i>
+ <i class="fa fa-xing fa-stack-1x fa-inverse"></i>
+ </span>
+ </a>
+ </li>
+ {{ end }}
</ul>
<p class="copyright text-muted">
Copyright &copy; {{ .Site.Title }} {{ now.Year }}
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 5758a5f..1f84981 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -190,6 +190,16 @@
</a>
</li>
{{ end }}
+ {{ with .Site.Params.social.xing }}
+ <li>
+ <a target="_blank" href="{{ . }}">
+ <span class="fa-stack fa-lg">
+ <i class="fa fa-circle fa-stack-2x"></i>
+ <i class="fa fa-xing fa-stack-1x fa-inverse"></i>
+ </span>
+ </a>
+ </li>
+ {{ end }}
</ul>
</div>
</section>