From: Joann Mõndresku Date: Sat, 11 May 2024 09:39:01 +0000 (+0300) Subject: We are actually using caddy these days X-Git-Url: https://git.based.quest/?p=bquest.git;a=commitdiff_plain;h=HEAD;hp=3d3f8b5c32a990e668937e6edfb897c7c03842c4 We are actually using caddy these days --- diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d45fa5f..badd94c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,8 +1,20 @@ {{ partial "header.html" . -}} +

<-- Back

{{.Site.Title}} – Articles for {{.Title}}

+ +{{ if gt .Paginator.TotalPages 1 }} +

+{{ if .Paginator.HasPrev }}<{{ end }} +{{ range .Paginator.Pagers }} + {{if ne $paginator . }}{{.PageNumber}}{{ else }}{{.PageNumber}}{{ end }} +{{ end }} +{{ if .Paginator.HasNext }}>{{ end }} +

+{{ end }} {{ partial "footer.html" .}} diff --git a/layouts/index.html b/layouts/index.html index 0495271..4714a05 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,7 +8,7 @@ > Accept */*
>

< HTTP/1.1 200 OK
-< Server: nginx
+< Server: Caddy
< Date: Right now o'clock
< Content-Type: base/based
< Last-Modified: Doesn't need to be modified, is perfect as-is.
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 26e9c59..59dc5da 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,2 +1,2 @@



Join us at Matrix: {{ .Site.Params.Matrix }}

-

© 2021 - 2022 {{ .Site.Title }} | Powered by Hugo | Donate | Atom RSS

+

© 2021 - 2024 {{ .Site.Title }} | Powered by Hugo | Donate | Atom RSS

diff --git a/static/bquest.css b/static/bquest.css index f640d12..78cd5f1 100644 --- a/static/bquest.css +++ b/static/bquest.css @@ -1 +1 @@ -body,html{background:#000;color:#fff;max-width:1024px;margin:1em auto;padding:0 0.5em;font-family:monospace;font-size:large;}.cern-blue{color:#397ef6;}a,a:visited{color:#fff;}p{margin:0;padding:0}#post p{margin:12px 0;margin:revert;text-align:justify;}#post a,#post a:visited{color:#00b7ff;}pre code {display:block;padding:1em 1em 1em 1em;overflow-x:auto;}code{border:1px solid #ffb300;border-radius:5px;color:#19ca24;background:#202020;display:inline-block;} +body,html{background:#000;color:#fff;max-width:1024px;margin:1em auto;padding:0 0.5em;font-family:monospace;font-size:large;}.cern-blue{color:#397ef6 !important;}a,a:visited{color:#fff;}p{margin:0;padding:0}#post p{margin:12px 0;margin:revert;text-align:justify;}#post a,#post a:visited{color:#00b7ff;}pre code {display:block;padding:1em 1em 1em 1em;overflow-x:auto;}code{border:1px solid #ffb300;border-radius:5px;color:#19ca24;background:#202020;display:inline-block;}