Merge pull request #47 from ChalkPE/master

Add option to customise avatar link
feature/cover-image
Hang Jiang 7 years ago committed by GitHub
commit c85b0c9b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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