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

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChalk <chalk@chalk.pe>2018-02-14 11:49:18 +0300
committerChalk <chalk@chalk.pe>2018-02-14 11:49:18 +0300
commit11688e80fa51d9b620285d20bd1f9d6e4b5d55fb (patch)
treeca7ae997b6c3f8c2a5a41a8022b182d932b6960c
parentc440b95f209d665097a485ad1547eb046d375f6d (diff)
add option to customise avatar link
-rw-r--r--layouts/partials/profile.html2
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>