mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 10:04:04 +00:00
@@ -4,17 +4,20 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="clearfix mb-2">
|
<div class="clearfix mb-2">
|
||||||
<div class="float-left col-3 col-md-12 pr-3 pr-md-0">
|
<div class="float-left col-3 col-md-12 pr-3 pr-md-0">
|
||||||
|
{{ with $.Site.Params.avatar }}
|
||||||
<a itemprop="image" class="u-photo d-block position-relative" aria-hidden="true"
|
<a itemprop="image" class="u-photo d-block position-relative" aria-hidden="true"
|
||||||
href="{{ "images/avatar.png" | absURL }}">
|
href="{{ $.Site.Params.avatar }}">
|
||||||
{{ with $.Site.Params.avatar }}
|
|
||||||
<img alt="" width="260" height="260"
|
<img alt="" width="260" height="260"
|
||||||
class="avatar width-full height-full rounded-2" src="{{ $.Site.Params.avatar }}" />
|
class="avatar width-full height-full rounded-2" src="{{ $.Site.Params.avatar }}" />
|
||||||
{{ else }}
|
</a>
|
||||||
|
{{ else }}
|
||||||
|
<a itemprop="image" class="u-photo d-block position-relative" aria-hidden="true"
|
||||||
|
href="{{ "images/avatar.png" | absURL }}">
|
||||||
|
|
||||||
<img alt="" width="260" height="260"
|
<img alt="" width="260" height="260"
|
||||||
class="avatar width-full height-full rounded-2" src="{{ "images/avatar.png" | absURL }}" />
|
class="avatar width-full height-full rounded-2" src="{{ "images/avatar.png" | absURL }}" />
|
||||||
{{ end }}
|
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="float-left col-9 col-md-12 pl-2 pl-md-0">
|
<div class="float-left col-9 col-md-12 pl-2 pl-md-0">
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user