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