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

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich <git0@bitservices.io>2018-01-24 23:06:05 +0300
committerPatrick Collins <thepatrickcollins@gmail.com>2018-01-24 23:06:05 +0300
commit25192165e0f73fea5596019a1576bc9fb4cd511d (patch)
tree756cdfd9797fd703522afef8d5f68fdcc941f0fe
parent805e4438b783a7983a44f9a90e337c9beb5a0652 (diff)
Enable LinkedIn Company Social Link (#107)
* Enable LinkedIn Company Links * Update examplesite
-rw-r--r--exampleSite/config.toml75
-rw-r--r--layouts/partials/social.html4
2 files changed, 42 insertions, 37 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 48d1ae7..394f8c9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -127,46 +127,47 @@ pluralizeListTitles = false
# and socialAppearAtBottom.
[social]
# Coding Communities
- github = "jpescador/hugo-future-imperfect"
- gitlab = ""
- stackoverflow = "" # User Number
- bitbucket = ""
- jsfiddle = ""
- codepen = ""
+ github = "jpescador/hugo-future-imperfect"
+ gitlab = ""
+ stackoverflow = "" # User Number
+ bitbucket = ""
+ jsfiddle = ""
+ codepen = ""
# Visual Art Communities
- deviantart = ""
- flickr = "example"
- behance = ""
- dribbble = ""
+ deviantart = ""
+ flickr = "example"
+ behance = ""
+ dribbble = ""
# Publishing Communities
- wordpress = ""
- medium = ""
+ wordpress = ""
+ medium = ""
# Professional/Business Oriented Communities
- linkedin = "example"
- foursquare = ""
- xing = ""
- slideshare = ""
+ linkedin = "example"
+ linkedin_company = "examplebusiness"
+ foursquare = ""
+ xing = ""
+ slideshare = ""
# Social Networks
- facebook = "example"
- googleplus = ""
- reddit = "example"
- quora = ""
- youtube = ""
- vimeo = ""
- whatsapp = "" # WhatsApp Number
+ facebook = "example"
+ googleplus = ""
+ reddit = "example"
+ quora = ""
+ youtube = ""
+ vimeo = ""
+ whatsapp = "" # WhatsApp Number
# WeChat and QQ need testing.
- wechat = ""
- qq = "" # User ID Number
- instagram = "example"
- tumblr = ""
- twitter = "example"
- skype = ""
- snapchat = ""
- pinterest = "example"
- telegram = "example"
- vine = ""
- googlescholar = ""
- orcid = ""
- researchgate = "example"
+ wechat = ""
+ qq = "" # User ID Number
+ instagram = "example"
+ tumblr = ""
+ twitter = "example"
+ skype = ""
+ snapchat = ""
+ pinterest = "example"
+ telegram = "example"
+ vine = ""
+ googlescholar = ""
+ orcid = ""
+ researchgate = "example"
# Email
- email = "example"
+ email = "example"
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 921d89f..055f2db 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -50,6 +50,10 @@
<li><a href="//linkedin.com/in/{{.}}" target="_blank" title="LinkedIn" class="fa fa-linkedin"></a></li>
{{ end }}
+{{ with .Site.Social.linkedin_company }}
+ <li><a href="//linkedin.com/company/{{.}}" target="_blank" title="LinkedIn Company" class="fa fa-linkedin"></a></li>
+{{ end }}
+
{{ with .Site.Social.foursquare }}
<li><a href="//foursquare.com/{{.}}" target="_blank" title="Foursquare" class="fa fa-foursquare"></a></li>
{{ end }}