Merge branch 'master' of github.com:keichi/vienna
This commit is contained in:
commit
ff7b17393a
@ -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
|
||||
|
@ -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 . }}
|
||||
|
@ -1,9 +1,19 @@
|
||||
<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>
|
||||
</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 }}
|
||||
<a href="https://facebook.com/{{ . }}" target="_blank">
|
||||
<i class="fa fa-facebook"></i>
|
||||
@ -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 }}
|
||||
|
@ -1,5 +1,6 @@
|
||||
main {
|
||||
max-width: 750px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
Loading…
Reference in New Issue
Block a user