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

github.com/LordMathis/hugo-theme-nix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLordMathis <namesny.matus@gmail.com>2017-10-04 18:44:15 +0300
committerLordMathis <namesny.matus@gmail.com>2017-10-04 18:44:15 +0300
commitb0c7226c6abfdea1d4f3d7b23d11e87072cbc62a (patch)
tree33ef9b2c5e6c6e1adf0d5213ba6625e21fdc3445 /layouts
parent97d508b09ae8f08aef2e36c2589e0c38ba8bdb78 (diff)
Fix missing profile picture issue
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 282bc53..83e2758 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -9,16 +9,16 @@
<body>
{{ partial "header.html" . }}
<div class="container wrapper">
+ {{ with .Site.Params.ProfilePicture }}
<div class="row">
- <div class="col-sm-3 col-centered">
- <img alt="profile-picture" class="img-responsive img-circle user-picture" src="{{ .Site.Params.ProfilePicture }}">
- </div>
+ <div class="col-sm-3 col-centered">
+ <img alt="profile-picture" class="img-responsive img-circle user-picture" src="{{.}}">
+ </div>
</div>
+ {{ end }}
<div class="row">
<div class="col-xs-12 user-profile text-center">
-
<h1 id="user-name">{{ upper .Site.Params.Name }}</h1>
-
</div>
</div>
<div class="row">
@@ -42,13 +42,13 @@
{{ with .Site.Params.GitlabId }}
<a href="https://gitlab.com/{{.}}" title="GitLab"><i class="fa fa-gitlab fa-3x" aria-hidden="true"></i></a>
{{ end }}
- {{ with .Site.Params.CodepenID }}
+ {{ with .Site.Params.CodepenID }}
<a href="https://codepen.io/{{.}}" title="Codepen"><i class="fa fa-codepen fa-3x" aria-hidden="true"></i></a>
- {{ end }}
+ {{ end }}
{{ with .Site.Params.LinkedInID }}
<a href="http://linkedin.com/in/{{.}}" title="LinkedIn"><i class="fa fa-linkedin fa-3x" aria-hidden="true"></i></a>
{{ end }}
- {{ with .Site.Params.InstagramID }}
+ {{ with .Site.Params.InstagramID }}
<a href="https:/instagram.com/{{.}}" title="Instagram"><i class="fa fa-instagram fa-3x" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.Email }}