Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keichi/vienna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeichi Takahashi <keichi.t@me.com>2015-02-23 16:10:35 +0300
committerKeichi Takahashi <keichi.t@me.com>2015-02-23 16:11:59 +0300
commit9e14c071b3bc27950dbb54bd3243b3902edd8a9c (patch)
tree72235c50993596907ae640a07a09f6b4b54ea7c9 /layouts
parentd3bc7876fef3444b50e1a91cad26bf17ed6babdc (diff)
Add author contact button
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0811706..9f7f5d1 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -28,13 +28,21 @@
{{ end }}
</div>
<div class="author-meta col-md-6">
- {{ with .Site.Params.author }}
- <h1 class="author-name text-primary">{{ . }}</h1>
- {{ end }}
- {{ with .Site.Params.bio }}
- <div class="author-bio">{{ . }}</div>
- {{ end }}
+ {{ with .Site.Params.author }}
+ <h1 class="author-name text-primary">{{ . }}</h1>
+ {{ end }}
+ {{ with .Site.Params.bio }}
+ <div class="author-bio">{{ . }}</div>
+ {{ end }}
+ </div>
+ {{ with .Site.Params.contact }}
+ <div class="author-contact col-md-4">
+ <a href="{{ . }}">
+ <i class="fa fa-envelope-o"></i>
+ &nbsp;Contact me
+ </a>
</div>
+ {{ end }}
</section>
<ul class="pager">
{{ if .Next }}