mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
My brother pointed out that, for the uninitiated, the list of icons can be a bit opaque. I've tried to add some context without overburdening the homepage.
27 lines
840 B
HTML
27 lines
840 B
HTML
{{ define "body" }}
|
|
<body class="homepage {{ if .Site.Params.backgroundImage }} background-image" style="background-image: url('{{ .Site.Params.backgroundImage }}');" {{ else }}"{{ end }}>
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<main aria-role="main">
|
|
<div>
|
|
<h1 class="accented">{{ .Site.Title }}</h1>
|
|
|
|
{{ partial "subtitle.html" . }}
|
|
|
|
{{- with .Site.Params.social }}
|
|
<ul class="social">
|
|
{{ partial "social-icons.html" . }}
|
|
</ul>
|
|
{{- end }}
|
|
</div>
|
|
<br />
|
|
<hr />
|
|
<section class="posts">
|
|
{{ partial "about-me.html" .}}
|
|
<hr class="mini" />
|
|
{{ partial "post-previews.html" .}}
|
|
</section>
|
|
</main>
|
|
{{ partialCached "site-last-update.html" . }}
|
|
{{ end }}
|