diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-06-14 19:38:10 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-06-14 19:38:10 +0300 |
commit | 06542c91da5356bfad0529303984b691528c1642 (patch) | |
tree | b3e8f3c3adad4cb7bc94d88d41bd51ba158aa2b5 | |
parent | ff019b8cac212562bcd39dc0c64c7d3e1bf8ae5c (diff) |
Allow external avatar sources in profile
-rw-r--r-- | layouts/partials/profile.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html index 5a077c5..e5e3322 100644 --- a/layouts/partials/profile.html +++ b/layouts/partials/profile.html @@ -1,7 +1,7 @@ <aside id="profile"> <div class="inner profile-inner"> <div class="base-info profile-block"> - <img id="avatar" src="{{ .Site.BaseURL }}{{ .Site.Params.avatar }}"> + <img id="avatar" src="{{ .Site.Params.avatar | absURL }}"> {{ with .Site.Params.author}}<h2 id="name">{{ . }}</h2>{{ end }} {{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }} {{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }} @@ -21,7 +21,7 @@ {{ len .Site.Taxonomies.tags }} {{ else }} 0 - {{ end }} + {{ end }} <span> {{with .Site.Data.l10n.profile.tags}}{{.}}{{end}} </span> |