diff options
author | Angelo Stavrow <contact@angelostavrow.com> | 2018-10-25 11:34:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 11:34:37 +0300 |
commit | 582bc0cb6c4700be3e2a3ec5832b2b5d712598fe (patch) | |
tree | 9b8e9ff41970bb1cce8572bb88d07997d660abbc | |
parent | 077716564d2898022f12f307b5fffc619fd0f7dd (diff) | |
parent | 3e2f4b9af4cdf0f50800b25d3371607709d4a10a (diff) |
Merge pull request #31 from RicardoBelchior/master
Add Medium and LinkedIn to social partial
-rw-r--r-- | config.toml.example | 4 | ||||
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/social.html | 10 | ||||
-rw-r--r-- | static/icons/linkedin.svg | 1 | ||||
-rw-r--r-- | static/icons/medium.svg | 1 |
5 files changed, 18 insertions, 2 deletions
diff --git a/config.toml.example b/config.toml.example index cc66b3b..5e9e402 100644 --- a/config.toml.example +++ b/config.toml.example @@ -21,6 +21,8 @@ theme = "indigo" GitLabUser = "GitLabUserName" GlitchUser = "GlitchUserName" KeybaseUser = "KeybaseUserName" + LinkedInUser = "LinkedInUserName" + MediumUser = "MediumUserName" MicroBlogUser = "MicroBlogUserName" RedditUser = "RedditUserName" StackOverflowUser = "StackOverflowUserName" @@ -36,4 +38,4 @@ theme = "indigo" TwitterUser = "TwitterUserName" MicroBlogUser = "MicroBlogUserName" Country = "CountryName" - City = "CityName"
\ No newline at end of file + City = "CityName" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4b41519..af98cdb 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -22,6 +22,8 @@ paginate = 3 GitLabUser = "GitLabUserName" GlitchUser = "GlitchUserName" KeybaseUser = "KeybaseUserName" + LinkedInUser = "LinkedInUserName" + MediumUser = "MediumUserName" MicroBlogUser = "MicroBlogUserName" RedditUser = "RedditUserName" StackOverflowUser = "StackOverflowUserName" @@ -37,4 +39,4 @@ paginate = 3 TwitterUser = "TwitterUserName" MicroBlogUser = "MicroBlogUserName" Country = "CountryName" - City = "CityName"
\ No newline at end of file + City = "CityName" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 53d98ff..cf9a08a 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -35,6 +35,16 @@ <a class="glyph" alt="Keybase profile" href="https://keybase.io/{{ .Site.Params.KeybaseUser }}"><img src="{{ .Site.BaseURL }}icons/keybase.svg" height="24px" width="24px"></a> </div> {{ end }} + {{ if isset .Site.Params "linkedinuser" }} + <div class="icon-24x24"> + <a class="glyph" alt="LinkedIn profile" href="https://www.linkedin.com/in/{{ .Site.Params.LinkedInUser }}"><img src="{{ .Site.BaseURL }}icons/linkedin.svg" height="24px" width="24px"></a> + </div> + {{ end }} + {{ if isset .Site.Params "mediumuser" }} + <div class="icon-24x24"> + <a class="glyph" alt="Medium profile" href="https://medium.com/{{ .Site.Params.MediumUser }}"><img src="{{ .Site.BaseURL }}icons/medium.svg" height="24px" width="24px"></a> + </div> + {{ end }} {{ if isset .Site.Params "microbloguser" }} <div class="icon-24x24"> <a class="glyph" alt="Micro.Blog profile" href="https://micro.blog/{{ .Site.Params.MicroBlogUser }}"><img src="{{ .Site.BaseURL }}icons/microblog.svg" height="24px" width="24px"></a> diff --git a/static/icons/linkedin.svg b/static/icons/linkedin.svg new file mode 100644 index 0000000..cd55f45 --- /dev/null +++ b/static/icons/linkedin.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path style="fill:#3f3f3f" d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/></svg> diff --git a/static/icons/medium.svg b/static/icons/medium.svg new file mode 100644 index 0000000..2ad9fb4 --- /dev/null +++ b/static/icons/medium.svg @@ -0,0 +1 @@ +<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path style="fill:#3f3f3f" d="M2.846 6.887c.03-.295-.083-.586-.303-.784l-2.24-2.7v-.403h6.958l5.378 11.795 4.728-11.795h6.633v.403l-1.916 1.837c-.165.126-.247.333-.213.538v13.498c-.034.204.048.411.213.537l1.871 1.837v.403h-9.412v-.403l1.939-1.882c.19-.19.19-.246.19-.537v-10.91l-5.389 13.688h-.728l-6.275-13.688v9.174c-.052.385.076.774.347 1.052l2.521 3.058v.404h-7.148v-.404l2.521-3.058c.27-.279.39-.67.325-1.052v-10.608z"/></svg> |