Merge branch 'master' of github.com:keichi/vienna

This commit is contained in:
Keichi Takahashi 2015-06-16 13:23:27 +09:00
commit ff7b17393a
4 changed files with 20 additions and 4 deletions

View File

@ -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

View File

@ -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 }} &middot; {{ 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 . }}

View File

@ -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 }}

View File

@ -1,5 +1,6 @@
main {
max-width: 750px;
word-wrap: break-word;
}
/* Header */