diff options
author | Keichi Takahashi <keichi.t@me.com> | 2015-06-16 07:23:27 +0300 |
---|---|---|
committer | Keichi Takahashi <keichi.t@me.com> | 2015-06-16 07:23:27 +0300 |
commit | ff7b17393a8da8919c435fd6414b0260a00a7baf (patch) | |
tree | ab1ad4c7bccfce166dcb016c134081843e2392bc | |
parent | 9a0270e424b551f9eb3395f81856735deeee0352 (diff) | |
parent | 4d7a1fb6212b3267f8ea614d479152dbacbddbe0 (diff) |
Merge branch 'master' of github.com:keichi/vienna
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | layouts/partials/header.html | 3 | ||||
-rw-r--r-- | layouts/partials/link.html | 16 | ||||
-rw-r--r-- | static/css/main.css | 1 |
4 files changed, 20 insertions, 4 deletions
@@ -41,8 +41,9 @@ copyright = "© Copyright notice" twitter = "Your Twitter username" github = "Your GitHub username" linkedin = "Your LinkedIn username" + googleplus = "Your Google+ user id" facebook = "Your Facebook username" - stackoverflow = "Your Stackoverflow profile" + stackoverflow = "Your Stackoverflow user id (number)" # Google Analytics API key. ga_api_key = "Your Google Analytics tracking id" # Mixpanel API key. @@ -53,6 +54,7 @@ copyright = "© Copyright notice" bio = "Your short bio/tagline" # Short subtitle/tagline. This is displayed in the header. subtitle = "is a software developer, hardware hacker and a beer lover. He believes in the power of code." + themecolor = "#hexcolor" # Defines the tab color in Chrome for Android. ``` ## Usage diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0c06441..8546a94 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,6 +4,9 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" /> <meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" /> + {{ with .Site.Params.themecolor }} + <meta name="theme-color" content="{{ . }}" /> + {{ end }} <meta property="og:site_name" content="{{ .Site.Title }}" /> <meta property="og:url" content="{{ .Permalink }}" /> {{ with .Params.images }}{{ range first 5 . }} diff --git a/layouts/partials/link.html b/layouts/partials/link.html index 831abae..b3d5714 100644 --- a/layouts/partials/link.html +++ b/layouts/partials/link.html @@ -1,7 +1,17 @@ <div class="sns-links hidden-print"> + {{ with .Site.Params.contact }} + <a href="{{ . }}"> + <i class="fa fa-envelope"></i> + </a> + {{ end }} {{ with .Site.Params.twitter }} <a href="https://twitter.com/{{ . }}" target="_blank"> - <i class="fa fa-twitter"></i> + <i class="fa fa-twitter"></i> + </a> + {{ end }} + {{ with .Site.Params.googleplus }} + <a href="https://plus.google.com/+{{ . }}" target="_blank"> + <i class="fa fa-google"></i> </a> {{ end }} {{ with .Site.Params.facebook }} @@ -15,12 +25,12 @@ </a> {{ end }} {{ with .Site.Params.stackoverflow }} - <a href="{{ . }}" target="_blank"> + <a href="https://stackoverflow.com/users/{{ . }}" target="_blank"> <i class="fa fa-stack-overflow"></i> </a> {{ end }} {{ with .Site.Params.linkedin }} - <a href="https://jp.linkedin.com/in/{{ . }}" target="_blank"> + <a href="https://linkedin.com/in/{{ . }}" target="_blank"> <i class="fa fa-linkedin"></i> </a> {{ end }} diff --git a/static/css/main.css b/static/css/main.css index c6ddd85..2b2b8a7 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,5 +1,6 @@ main { max-width: 750px; + word-wrap: break-word; } /* Header */ |