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:
authorsomrat-gyver <somrat.gyver@gmail.com>2020-07-05 09:23:26 +0300
committersomrat-gyver <somrat.gyver@gmail.com>2020-07-05 09:23:26 +0300
commit48eaf5ed33fbc1cc198438cfa6a51ac677f2d1b3 (patch)
tree41fade4b9b0735ac0c86f9ea2e420182367e1e3c
parent9d1aaebeb070c0c6e1ccb8c561922b7fec907499 (diff)
parentb974946475717b9c4d98bf98446dce9e6b0ffe4d (diff)
Merge branch 'master' of https://github.com/themefisher/wordpress-tweenty-tweenty-hugo
-rw-r--r--exampleSite/config.toml3
-rw-r--r--layouts/index.html4
-rw-r--r--layouts/partials/social.html10
3 files changed, 14 insertions, 3 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/index.html b/layouts/index.html
index 0c66d63..f8ae0f8 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -36,7 +36,7 @@
<figure class="wp-block-image alignfull size-full"><img src="{{ .Params.Image |absURL }}"
alt="{{.Title }}" class="wp-image-37" /></figure>
<h3>{{ .Title }}</h3>
- <p>{{ .PublishDate.Format "January 06, 2006"}}</p>
+ <p>{{ .PublishDate.Format "January 6, 2006"}}</p>
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link"
href="{{ .Permalink }}">Read More</a></div>
</div>
@@ -99,4 +99,4 @@
</div><!-- .post-inner -->
</article>
-{{ end }} \ No newline at end of file
+{{ end }}
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