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" twitter = "Your Twitter username"
github = "Your GitHub username" github = "Your GitHub username"
linkedin = "Your LinkedIn username" linkedin = "Your LinkedIn username"
googleplus = "Your Google+ user id"
facebook = "Your Facebook username" facebook = "Your Facebook username"
stackoverflow = "Your Stackoverflow profile" stackoverflow = "Your Stackoverflow user id (number)"
# Google Analytics API key. # Google Analytics API key.
ga_api_key = "Your Google Analytics tracking id" ga_api_key = "Your Google Analytics tracking id"
# Mixpanel API key. # Mixpanel API key.
@ -53,6 +54,7 @@ copyright = "© Copyright notice"
bio = "Your short bio/tagline" bio = "Your short bio/tagline"
# Short subtitle/tagline. This is displayed in the header. # 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." 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 ## Usage

View File

@ -4,6 +4,9 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" /> <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 }}" /> <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:site_name" content="{{ .Site.Title }}" />
<meta property="og:url" content="{{ .Permalink }}" /> <meta property="og:url" content="{{ .Permalink }}" />
{{ with .Params.images }}{{ range first 5 . }} {{ with .Params.images }}{{ range first 5 . }}

View File

@ -1,9 +1,19 @@
<div class="sns-links hidden-print"> <div class="sns-links hidden-print">
{{ with .Site.Params.contact }}
<a href="{{ . }}">
<i class="fa fa-envelope"></i>
</a>
{{ end }}
{{ with .Site.Params.twitter }} {{ with .Site.Params.twitter }}
<a href="https://twitter.com/{{ . }}" target="_blank"> <a href="https://twitter.com/{{ . }}" target="_blank">
<i class="fa fa-twitter"></i> <i class="fa fa-twitter"></i>
</a> </a>
{{ end }} {{ 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 }} {{ with .Site.Params.facebook }}
<a href="https://facebook.com/{{ . }}" target="_blank"> <a href="https://facebook.com/{{ . }}" target="_blank">
<i class="fa fa-facebook"></i> <i class="fa fa-facebook"></i>
@ -15,12 +25,12 @@
</a> </a>
{{ end }} {{ end }}
{{ with .Site.Params.stackoverflow }} {{ with .Site.Params.stackoverflow }}
<a href="{{ . }}" target="_blank"> <a href="https://stackoverflow.com/users/{{ . }}" target="_blank">
<i class="fa fa-stack-overflow"></i> <i class="fa fa-stack-overflow"></i>
</a> </a>
{{ end }} {{ end }}
{{ with .Site.Params.linkedin }} {{ 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> <i class="fa fa-linkedin"></i>
</a> </a>
{{ end }} {{ end }}

View File

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