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

github.com/themefisher/twenty-twenty-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan <58769763+developer-evan@users.noreply.github.com>2020-06-30 06:26:50 +0300
committerGitHub <noreply@github.com>2020-06-30 06:26:50 +0300
commitb974946475717b9c4d98bf98446dce9e6b0ffe4d (patch)
treed5c20da2e32b268a274f80b36cc0ba2b424eaaba
parentb0bd8ef7f4d9f4dc9c9f1c3e40f3327d3f6c0948 (diff)
parentf2facd9ec50aec0a7232ac76afc7b86df03f1e8b (diff)
Merge pull request #6 from donatoaz/master
Add linkedin social icon
-rw-r--r--exampleSite/config.toml3
-rw-r--r--layouts/partials/social.html10
2 files changed, 12 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f9333cf..309ce39 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -114,4 +114,5 @@ yelp = "#"
facebook = "#"
twitter = "#"
instagram = "#"
-email = "#" \ No newline at end of file
+email = "#"
+linkedin = "#" \ No newline at end of file
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 0e5174b..bffb519 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -48,4 +48,14 @@
</path>
</svg></a></li>
{{ end }}
+
+ {{ with .Site.Params.social.linkedin }}
+ <li id="menu-item-42" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-42"><a
+ href="{{ . | safeURL }}"><span class="screen-reader-text">LinkedIn</span><svg class="svg-icon" aria-hidden="true"
+ role="img" focusable="false" width="24" height="24" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M19,19H16V13.7A1.5,1.5 0 0,0 14.5,12.2A1.5,1.5 0 0,0 13,13.7V19H10V10H13V11.2C13.5,10.36 14.59,9.8 15.5,9.8A3.5,3.5 0 0,1 19,13.3M6.5,8.31C5.5,8.31 4.69,7.5 4.69,6.5A1.81,1.81 0 0,1 6.5,4.69C7.5,4.69 8.31,5.5 8.31,6.5A1.81,1.81 0 0,1 6.5,8.31M8,19H5V10H8M20,2H4C2.89,2 2,2.89 2,4V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V4C22,2.89 21.1,2 20,2Z">
+ </path>
+ </svg></a></li>
+ {{ end }}
</ul> \ No newline at end of file