diff options
author | Hang Jiang <jianghangscu@gmail.com> | 2018-02-14 19:26:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14 19:26:00 +0300 |
commit | c85b0c9b8fbfe4d7bb33f7ae00e22f9f61140094 (patch) | |
tree | ca7ae997b6c3f8c2a5a41a8022b182d932b6960c | |
parent | c440b95f209d665097a485ad1547eb046d375f6d (diff) | |
parent | 11688e80fa51d9b620285d20bd1f9d6e4b5d55fb (diff) |
Merge pull request #47 from ChalkPE/master
Add option to customise avatar link
-rw-r--r-- | layouts/partials/profile.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html index 3d69c71..2b5d98e 100644 --- a/layouts/partials/profile.html +++ b/layouts/partials/profile.html @@ -1,7 +1,7 @@ <div class="profile"> <section id="wrapper"> <header id="header"> - <a href='{{ .Site.BaseURL }}about'> + <a href='{{ with .Site.Params.avatarLink }}{{ . }}{{ else }}{{ .Site.BaseURL }}about{{ end }}'> <img id="avatar" class="2x" src="{{ .Site.BaseURL }}images/avatar.png"/> </a> <h1>{{ .Site.Title }}</h1> |