Merge branch 'main' of ssh://git.n07070.xyz:1968/n07070/blogotheme
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
|
||||
<body class="list-body">
|
||||
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
<main class="card-container side-gutter">
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
|
||||
{{- end }}
|
||||
@@ -23,13 +24,15 @@
|
||||
{{- range $paginator.Pages -}}
|
||||
{{ .Render "li" }}
|
||||
{{- end }}
|
||||
</main>
|
||||
|
||||
{{ if or ($paginator.HasPrev) ($paginator.HasNext) -}}
|
||||
<nav class="pagination-nav side-padding">
|
||||
<nav class="blog-card blog-card-feed">
|
||||
{{ if $paginator.HasPrev }}<a href="{{ $paginator.Prev.URL }}" class="pagination-newer pagination-text">< Newer Posts</a>{{ end }}
|
||||
{{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination-older pagination-text">Older Posts ></a>{{ end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
</main>
|
||||
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
@@ -30,18 +31,21 @@
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{ end }}
|
||||
|
||||
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
|
||||
{{ $pages := .Site.RegularPages }}
|
||||
{{ $paginator := .Paginate (where $pages "Params.displayinlist" "!=" false) -}}
|
||||
{{- range $paginator.Pages -}}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>
|
||||
{{ $.Content | html }}
|
||||
{{ .Content | html }}
|
||||
Last modification : {{ .Lastmod }}
|
||||
</description>
|
||||
</item>
|
||||
{{- end }}
|
||||
</channel>
|
||||
</rss>
|
||||
</rss>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
{{ partial "nav-bar.html" . }}
|
||||
|
||||
<main class="content side-text-padding">
|
||||
<main class="content side-text-padding side-gutter">
|
||||
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
@@ -29,13 +29,16 @@
|
||||
{{- end }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<nav class="end-nav card-container card">
|
||||
{{ with .PrevInSection }}
|
||||
{{ .Render "li-next" }}
|
||||
{{ end }}
|
||||
</nav>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</main>
|
||||
<nav class="end-nav card-container card">
|
||||
{{ with .PrevInSection }}
|
||||
{{ .Render "li-next" }}
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
|
||||
<nav class="end-nav side-padding card-container card content">
|
||||
<nav class="end-nav card-container card content">
|
||||
{{ partial "openring-out.html" . }}
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
<footer class="content card card-container side-padding" >
|
||||
<footer class="content card card-container" >
|
||||
<h3>The Octet Press is <a href="{{ .Site.BaseURL }}about-me/">N07070's</a> blog.</h3>
|
||||
<small>It's self-hosted, low-tech, without javascript and static, as it should be.</small>
|
||||
<br>
|
||||
<sup><a href="{{ .Site.BaseURL}}/notes/why-no-js/" rel="nofollow">Why ?</a></sup>
|
||||
<br>
|
||||
<p> Page last modified on {{ .Lastmod }}</p>
|
||||
</footer>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- License-Id: CC0-1.0 -->
|
||||
<section class="webring">
|
||||
<section class="webring side-padding">
|
||||
<h3>Articles from blogs I follow around the net</h3>
|
||||
<section class="articles">
|
||||
{{range .Articles}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
<section class="webring">
|
||||
<section class="webring side-padding">
|
||||
<h3>Articles from blogs I follow around the net</h3>
|
||||
<section class="articles">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user