This commit is contained in:
2026-03-25 15:45:57 +09:00
parent 266e0b0cf9
commit 1594477a83
8 changed files with 202 additions and 155 deletions

View File

@@ -1,11 +1,12 @@
{{ define "main" }}
<div class="home">
<h1>{{ .Site.Params.author }}</h1>
{{ with .Site.Params.description }}<p class="desc">{{ . }}</p>{{ end }}
<ul>
<div class="prompt">
<span class="user">{{ .Site.Params.author | lower }}</span><span class="at">@</span><span class="host">{{ replace .Site.BaseURL "https://" "" }}</span><span class="sep">:</span><span class="path">~</span><span class="dollar">$</span> ls
</div>
<nav class="home-nav">
{{ range .Site.Params.homeLinks }}
<li><a href="{{ .url }}">{{ .label }}</a></li>
<a href="{{ .url }}">{{ .label }}</a>
{{ end }}
</ul>
</nav>
</div>
{{ end }}