44 lines
1.3 KiB
HTML
44 lines
1.3 KiB
HTML
<section>
|
|
{{ 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>
|
|
<img class="u-photo" width="100px" src="/images/avatar.jpg">
|
|
</div>
|
|
</section>
|
|
<section>
|
|
<h1>current status</h1>
|
|
<div id="statuscafe"><div id="statuscafe-username"></div><div id="statuscafe-content"></div></div><script src="https://status.cafe/current-status.js?name=yequari" defer></script>
|
|
</section>
|
|
<section>
|
|
<h1>Social</h1>
|
|
<ul class="social">
|
|
{{ range site.Menus.social }}
|
|
<li class="social">
|
|
<img class="social" src="/icons/{{.Params.icon}}">
|
|
{{ if .URL }}
|
|
<a rel="me" href="{{ .URL }}">
|
|
{{ .Name }}
|
|
<!-- <span class="social {{.Params.class}}"></span> -->
|
|
</a>
|
|
{{ else }}
|
|
{{ .Name }}
|
|
{{ end }}
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</section>
|
|
<section>
|
|
<h1>yequari says...</h1>
|
|
<div id="quote">
|
|
<p id="subtitle">.</p>
|
|
</div>
|
|
</section>
|