mirror of
https://codeberg.org/mclemens/amberterm.git
synced 2024-09-28 21:56:40 -04:00
fixed some inconsistencies
This commit is contained in:
parent
6211fef2d4
commit
a2136bd0b2
@ -8,7 +8,7 @@
|
||||
<title>{{ .Site.Title }}</title>
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
<link rel="stylesheet" href="{{ "css/style.css?v1.42" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/style.css?v1.43" | relURL }}">
|
||||
|
||||
{{ range .Site.Params.customCSS -}}
|
||||
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
||||
|
@ -1,5 +1,6 @@
|
||||
{{ define "main" }}
|
||||
<main>
|
||||
<article>
|
||||
{{ $listtitle := .Title }}
|
||||
{{ if or .Title .Content }}
|
||||
<div>
|
||||
@ -22,5 +23,6 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "pagination.html" . }}
|
||||
</article>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
@ -1,9 +1,9 @@
|
||||
<article>
|
||||
<h1><a href="{{ .Permalink }}">[<time>{{ .Date.Format (default "2006-01-02" .Site.Params.dateFmt) }}</time>] {{ .Title }}</a></h1>
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div>
|
||||
{{ .Summary }}
|
||||
<b><time>{{ .Date.Format (default "2006-01-02" .Site.Params.dateFmt) }}</time>:</b> {{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
<a href="{{ .Permalink }}">Read more...</a>
|
||||
[...]
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
|
@ -1,12 +1,15 @@
|
||||
<header>
|
||||
<nav>
|
||||
<span>
|
||||
<a href="/"><b>{{ $.Site.Title }}</b></a>
|
||||
<a href="/"><b>{{ $.Site.Title }}</b></a>
|
||||
</span>
|
||||
<span>
|
||||
{{ with .Site.Menus.main }}
|
||||
{{ range first 1 . }} <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
||||
{{ range after 1 . }} - <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
||||
|
||||
</span>
|
||||
<span>
|
||||
{{ with .Site.Menus.main }}
|
||||
{{ range first 1 . }} <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
||||
{{ range after 1 . }} - <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
||||
</span>
|
||||
</nav>
|
||||
{{ end }}
|
||||
|
@ -62,7 +62,7 @@ pre{
|
||||
border: 1px solid orange;
|
||||
}
|
||||
article{
|
||||
padding:24px 0
|
||||
padding:10px 0
|
||||
}
|
||||
.center {
|
||||
display: block;
|
||||
|
Loading…
Reference in New Issue
Block a user