[postgis-tickets] [SCM] postgis.net branch hugo updated. d5eb2bbdc1af6fd9221ad223546c507ae672c430
git at osgeo.org
git at osgeo.org
Sat Feb 26 00:43:08 PST 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "postgis.net".
The branch, hugo has been updated
via d5eb2bbdc1af6fd9221ad223546c507ae672c430 (commit)
from 3cdbc54e5e56a4d138ed6faf0e1576670529042d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d5eb2bbdc1af6fd9221ad223546c507ae672c430
Author: Regina Obe <lr at pcorp.us>
Date: Sat Feb 26 03:43:02 2022 -0500
Get rid of title on page single-page, preliminary work on release source
diff --git a/config/_default/params.toml b/config/_default/params.toml
index 7fd6a70..5149034 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -124,11 +124,13 @@ release_docs = "https://download.osgeo.org/postgis/docs"
release_source = "https://download.osgeo.org/postgis/source"
release_notes = "https://git.osgeo.org/gitea/postgis/postgis/raw/tag"
dev_download = "/stuff"
+releases = ['3.2.1', '3.1.5', '3.0.5', '2.5.5', '2.4.9']
+
[postgis.dev_releases]
"dev" = "3.3.0dev"
"3.2" = "3.2.2dev"
-"3.1" = "3.1.5dev"
+"3.1" = "3.1.6dev"
"3.0" = "3.0.6dev"
"2.5" = "2.5.6dev"
"2.4" = "2.4.10dev"
diff --git a/layouts/pages/single.html b/layouts/pages/single.html
index e5b6c7c..e48ac39 100644
--- a/layouts/pages/single.html
+++ b/layouts/pages/single.html
@@ -5,7 +5,6 @@
<div class="{{ if ne $p.singleColumn true }}grid-inverse {{ end }}wrap content">
<article class="post_content">
{{- $t := .Title }}
- <h1 class="post_title">{{ $t }}</h1>
{{- partial "page-meta" . }}
{{- partial "image-feature" . }}
{{ if $p.toc }}
diff --git a/layouts/shortcodes/sourcelinks.html b/layouts/shortcodes/sourcelinks.html
new file mode 100644
index 0000000..da3d9d6
--- /dev/null
+++ b/layouts/shortcodes/sourcelinks.html
@@ -0,0 +1,7 @@
+{{ $ver := (.Get 0) }}
+{{ $md := $.Site.Params.postgis.releases }}
+{{ range $key := $md }}
+* [postgis-{{ $key }}.tar.gz]({{ $.Site.Params.postgis.release_source }}/postgis-{{ $key }}.tar.gz) [md5]({{$.Site.Params.postgis.dev_download}}/postgis-{{ $key }}.tar.gz.md5) [pdf]({{ $.Site.Params.postgis.release_docs }}/postgis-{{ $key}}.pdf) [html]({{$.Site.Params.postgis.release_docs}}/doc-html-{{ $key }}.tar.gz) ([Release Notes]({{ $.Site.Params.postgis.release_notes }}/{{ $key }}/NEWS))
+{{ end }}
+
+
-----------------------------------------------------------------------
Summary of changes:
config/_default/params.toml | 4 +++-
layouts/pages/single.html | 1 -
layouts/shortcodes/sourcelinks.html | 7 +++++++
3 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 layouts/shortcodes/sourcelinks.html
hooks/post-receive
--
postgis.net
More information about the postgis-tickets
mailing list