add option to customise avatar link

feature/cover-image
Chalk 7 years ago
parent c440b95f20
commit 11688e80fa

@ -1,7 +1,7 @@
<div class="profile"> <div class="profile">
<section id="wrapper"> <section id="wrapper">
<header id="header"> <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"/> <img id="avatar" class="2x" src="{{ .Site.BaseURL }}images/avatar.png"/>
</a> </a>
<h1>{{ .Site.Title }}</h1> <h1>{{ .Site.Title }}</h1>

Loading…
Cancel
Save