2024-04-25 06:22:05 +00:00
|
|
|
{{ range first 1 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
|
|
|
{{ $d1 := time.ParseDuration "-168h" }}
|
|
|
|
{{ $t1 := time.Now.Add $d1 }}
|
|
|
|
{{ $t2 := time.AsTime .PublishDate }}
|
|
|
|
{{ if $t2.After $t1 }}
|
|
|
|
<div id="avatar-frame" class="online">
|
|
|
|
{{ else }}
|
|
|
|
<div id="avatar-frame" class="busy">
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<span class="gloss"></span>
|
2024-07-13 01:10:18 +00:00
|
|
|
<img class="u-photo avatar" src="/images/avatar.jpg">
|
2024-04-25 06:22:05 +00:00
|
|
|
</div>
|