diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 3 | ||||
-rw-r--r-- | layouts/partials/link.html | 16 |
2 files changed, 16 insertions, 3 deletions
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 }} |