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

github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Caselli <damiencaselli@users.noreply.github.com>2018-03-20 12:16:35 +0300
committerGitHub <noreply@github.com>2018-03-20 12:16:35 +0300
commit5251fead2aa80829244d7d713b31600715529820 (patch)
treec9b5b56825f97400ab221ef722ed9896f47646eb
parente1a4e15eb070987909451c9436dc5e9ca0cd2417 (diff)
parent0723a1610c2c03d67d9004f92a9ead47a7c89b59 (diff)
Merge pull request #8 from themindfulcoder/feature/google-analytics
Add linkedin profile link in nav bar. Fix github profile link to use https.
-rw-r--r--README.md3
-rw-r--r--layouts/partials/nav.html5
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index dbec8f2..553a9ab 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,9 @@ GithubUsername = "damiencaselli"
# default: undefined
TwitterUsername = "damiencaselli"
+
+# default: undefined
+LinkedInUsername = "damiencaselli"
```
### Code highlighting
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 54d0ee4..c60e4c9 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -7,7 +7,10 @@
{{- end }}
{{ if isset .Site.Params "githubusername" }}
- <a href="http://github.com/{{ .Site.Params.githubusername }}">GitHub</a>
+ <a href="https://github.com/{{ .Site.Params.githubusername }}">GitHub</a>
{{- end }}
+ {{ if isset .Site.Params "linkedinusername" }}
+ <a href="https://www.linkedin.com/in/{{ .Site.Params.linkedinusername }}">LinkedIn</a>
+ {{- end }}
</nav>