mirror of
https://github.com/morgan9e/blog
synced 2026-04-15 00:34:35 +09:00
Overhaul
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user