mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-01 12:41:47 +01:00
17 lines
441 B
HTML
17 lines
441 B
HTML
|
<div class="intro">
|
||
|
{{ $cdn_url := .Scratch.Get "cdn_url" }}
|
||
|
{{ with .Site.Params.avatar}}
|
||
|
{{ $avatar := .}}
|
||
|
<div class="avatar">
|
||
|
<a href="/posts/"> <img src="{{ (printf "%s%s" $cdn_url $avatar)}}"> </a>
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
{{ with .Site.Params.subtitle}}
|
||
|
<h2 class="description">
|
||
|
{{ . }}
|
||
|
</h2>
|
||
|
{{ end }}
|
||
|
<div class="social-links">
|
||
|
{{ partial "social.html" . }}
|
||
|
</div>
|
||
|
</div>
|