[postgis-tickets] [SCM] postgis.net branch hugo updated. 4b104fa30a33209de1568c6360a32a8c827a8df9

git at osgeo.org git at osgeo.org
Sat Feb 26 01:21:18 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  4b104fa30a33209de1568c6360a32a8c827a8df9 (commit)
      from  95188b2dde17044eb8faece6abba92c278110cf5 (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 4b104fa30a33209de1568c6360a32a8c827a8df9
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Feb 26 04:19:58 2022 -0500

    Numerous changes:
    1. Fix dates on posts
    2. Remove tips partial and put directly on homepage layout
    3. Rename posts to md so formatted right
    4. Add news to home page
    5. color fussing

diff --git a/assets/sass/_variables.sass b/assets/sass/_variables.sass
index 21a3278..7c90b64 100644
--- a/assets/sass/_variables.sass
+++ b/assets/sass/_variables.sass
@@ -2,10 +2,10 @@ $font-path: '../fonts'
 // $icons: '{{ printf "../%s" (default "icons/" .Site.Params.iconsDir) }}'
 $images: '../images/'
 $light: #fff
-$haze: #002538
+$haze: #5a7e08
 $xhaze: darken($haze, 11%)
 $bg: #fafafa
-$theme: #0077b8
+$theme: #5f676b
 $mobile-menu-breakpoint: 769px
 $single-column-breakpoint: 42rem
 
@@ -100,7 +100,7 @@ html
           background-image: url("#{$images}night-moon.jpg")
           transform: translateX(1.4rem)
 
-  @media (prefers-color-scheme: light)
+  @media (prefers-color-scheme: dark)
 
     &:not([data-mode="lit"])
       @include darkmode
@@ -121,4 +121,5 @@ html
       .color
         &_choice
           &::after
+            background-image: url("#{$images}night-moon.jpg")
             transform: translateX(1.4rem)
diff --git a/config/_default/params.toml b/config/_default/params.toml
index 5149034..7a3497b 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -25,7 +25,7 @@ usePageBundles = false
 fallBackOgImage = "images/thumbnail.png"
 
 # sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
-codeMaxLines = 7
+codeMaxLines = 12
 
 # disable showing line numbers by default. Switch to `true` if you'd rather have them on.
 codeLineNumbers = false
@@ -47,7 +47,7 @@ figurePositionShow = false # toggle on or off globally
 figurePositionLabel = "Figure" # the text before image number e.g Figure 1.0
 
 # Set the collapsed mobile navigation to either appear from the left or the right
-mobileNavigation = "left" # if you prefer right change to 'right'
+mobileNavigation = "right" # if you prefer right change to 'right'
 
 # some site owners want to decide how they would like their sites to be introduced users. These settings give you as a site owner to decide how the user will view your site for the first time.
 
diff --git a/content/_index.md b/content/_index.md
index 29f049c..bb0a528 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -3,14 +3,15 @@ title: About PostGIS
 description: PostGIS provides spatial objects for the PostgreSQL database, allowing storage and query of information about location and mapping.
 date: 2022-02-20
 draft: false
-relatedInSidebar: false
-recentPosts: false
+relatedInSidebar: true
+recentPosts: true
 ---
 
 <span itemscope itemtype="http://www.schema.org/SoftwareApplication">
 <span itemprop="about">
 <span itemprop="name">PostGIS</span> is a  <span itemprop="applicationSubCategory">spatial</span> <span itemprop="applicationCategory">database</span> extender for [<span itemprop="requirements">PostgreSQL</span>][1] object-relational database.  It adds support for geographic objects allowing location queries to be run in SQL. </span>
-{{< highlight postgres>}}
+
+```postgres
 WITH city AS (
   SELECT 'Gotham' AS name,
 	ST_Buffer(ST_Point(0,0), 10) AS geom
@@ -22,9 +23,8 @@ WITH city AS (
 )
 SELECT superhero.name
 FROM city INNER JOIN superhero
-	ON ST_Contains(city.geom, superhero.geom)
-WHERE city.name = 'Gotham';
-{{< / highlight >}}
+	ON ST_Contains(city.geom, superhero.geom);
+```
 
 
 [Docs for latest stable release](/docs/)
diff --git a/content/pages/source.md b/content/pages/source.md
index 7adb63f..c8eb013 100644
--- a/content/pages/source.md
+++ b/content/pages/source.md
@@ -2,17 +2,14 @@
 title: Source Downloads
 description: PostGIS source downloads for released and development versions
 singlecolumn: true
+sidebar: false
 ---
+
 {{< columns >}}
-# Source Code
 The latest source code and companion user doc releases are:
 
-* [postgis-3.1.0alpah1.tar.gz]({{ .Site.params.postgis.release_source }}/postgis-3.1.0alpah1.tar.gz) [pdf]({{postgis.release_docs}}/postgis-3.1.0alpah1.pdf) [html]({{postgis.release_docs}}/doc-html-3.1.0alpah1.tar.gz) ([Release Notes]({{postgis.release_notes}}/3.1.0alpha1/NEWS))
-* [postgis-{{ postgis.version }}.tar.gz]({{postgis.release_source}}/postgis-{{ postgis.version }}.tar.gz) [pdf]({{postgis.release_docs}}/postgis-{{ postgis.version }}.pdf) [html]({{postgis.release_docs}}/doc-html-{{ postgis.version }}.tar.gz) ([Release Notes]({{postgis.release_notes}}/{{ postgis.version }}/NEWS))
-* [postgis-2.5.4.tar.gz]({{postgis.release_source}}/postgis-2.5.4.tar.gz) [pdf]({{postgis.release_docs}}/postgis-2.5.4.pdf) [html]({{postgis.release_docs}}/doc-html-2.5.4.tar.gz) ([Release Notes]({{postgis.release_notes}}/2.5.4/NEWS))
-* [postgis-2.4.8.tar.gz]({{postgis.release_source}}/postgis-2.4.8.tar.gz) [pdf]({{postgis.release_docs}}/postgis-2.4.8.pdf) [html]({{postgis.release_docs}}/doc-html-2.4.8.tar.gz) ([Release Notes]({{postgis.release_notes}}/2.4.8/NEWS))
-* [postgis-2.3.10.tar.gz]({{postgis.release_source}}/postgis-2.3.10.tar.gz) [pdf]({{postgis.release_docs}}/postgis-2.3.10.pdf) [html]({{postgis.release_docs}}/doc-html-2.3.10.tar.gz) ([Release Notes]({{postgis.release_notes}}/2.3.10/NEWS))
-* [postgis-2.2.8.tar.gz EOL]({{postgis.release_source}}/postgis-2.2.8.tar.gz) [pdf]({{postgis.release_docs}}/postgis-2.2.8.pdf) [html]({{postgis.release_docs}}/doc-html-2.2.8.tar.gz) ([Release Notes]({{postgis.release_notes}}/2.2.8/NEWS))
+{{< sourcelinks stable>}}
+
 
 **Can't find your version listed here? it's probably been EOL'd**
 
@@ -26,10 +23,12 @@ Versions that have reached end of life can still be downloaded from [PostGIS sou
 
 ## Latest stable branch snapshots:
 
-* [postgis-3.0.1dev.tar.gz]({{postgis.dev_download}}/postgis-3.0.1dev.tar.gz)
-* [postgis-2.5.5dev.tar.gz]({{postgis.dev_download}}/postgis-2.5.5dev.tar.gz)
-* [postgis-2.4.9dev.tar.gz]({{postgis.dev_download}}/postgis-2.4.9dev.tar.gz)
-* [postgis-2.3.11dev.tar.gz]({{postgis.dev_download}}/postgis-2.3.11dev.tar.gz)
+* [postgis-3.2.1dev.tar.gz]({{postgis.dev_download}}/postgis-3.2.1dev.tar.gz)
+* [postgis-3.1.5dev.tar.gz]({{postgis.dev_download}}/postgis-3.1.5dev.tar.gz)
+* [postgis-3.0.4dev.tar.gz]({{postgis.dev_download}}/postgis-3.0.4dev.tar.gz)
+* [postgis-2.5.6dev.tar.gz]({{postgis.dev_download}}/postgis-2.5.6dev.tar.gz)
+* [postgis-2.4.10dev.tar.gz]({{postgis.dev_download}}/postgis-2.4.10dev.tar.gz)
+
 
 A complete set of historical releases are available in the [source download directory]({{postgis.release_source}}).  Logos are available in the [logo directory](http://download.osgeo.org/postgis/logo_suite/).
 
@@ -40,6 +39,7 @@ Source code repository:
 * [GitLab mirror](https://gitlab.com/postgis/postgis/)
 * [Official PostGIS-java](https://github.com/postgis/postgis-java/) - As of June 2015, PostGIS JDBC development has been split from PostGIS core and is now on github.
 
+
 ---column---
 # Compiling Source
 For platform specific compilation instructions refer to [Compile and Install for various Operating Systems](http://trac.osgeo.org/postgis/wiki/UsersWikiInstall).
@@ -48,10 +48,10 @@ To build from source, you will need a complete installation of PostgreSQL, eithe
 
 You will also need to install and/or build [GEOS](http://trac.osgeo.org/geos), [Proj](https://proj.org), [GDAL](http://gdal.org), [LibXML2](http://www.xmlsoft.org/) and [JSON-C](https://github.com/json-c/json-c).
 
-{{< highlight sql>}}tar xvzf postgis-{{ postgis.version }}.tar.gz
+{{< highlight bash >}}tar xvzf postgis-{{ postgis.version }}.tar.gz
 cd postgis-{{ postgis.version }}
 ./configure
 make
-make install{{< / highlight >}}
-{{< /columns >}}
+make install {{< /highlight >}}
 
+{{< /columns >}}
diff --git a/content/post/2021/01-28_postgis-3.1.1.html b/content/post/2021/01-28_postgis-3.1.1.md
similarity index 98%
rename from content/post/2021/01-28_postgis-3.1.1.html
rename to content/post/2021/01-28_postgis-3.1.1.md
index e0b3b58..a0fd513 100644
--- a/content/post/2021/01-28_postgis-3.1.1.html
+++ b/content/post/2021/01-28_postgis-3.1.1.md
@@ -5,6 +5,7 @@ category: news
 tags: [release, 3.1, 3.1.1]
 author: Paul Ramsey
 thumbnail: postgis.png
+date: "2021-01-28"
 ---
 
 The PostGIS Team is pleased to release the release of PostGIS 3.1.1!
diff --git a/content/post/2021/05-21_postgis-3.1.2.html b/content/post/2021/05-21_postgis-3.1.2.md
similarity index 99%
rename from content/post/2021/05-21_postgis-3.1.2.html
rename to content/post/2021/05-21_postgis-3.1.2.md
index 0766f41..ef2b26b 100644
--- a/content/post/2021/05-21_postgis-3.1.2.html
+++ b/content/post/2021/05-21_postgis-3.1.2.md
@@ -5,6 +5,7 @@ category: news
 tags: [release, 3.1, 3.1.2]
 author: Paul Ramsey
 thumbnail: postgis.png
+date: "2021-05-21"
 ---
 
 The PostGIS Team is pleased to release the release of PostGIS 3.1.2!
diff --git a/content/post/2021/07-02_postgis-3.1.3.html b/content/post/2021/07-02_postgis-3.1.3.md
similarity index 98%
rename from content/post/2021/07-02_postgis-3.1.3.html
rename to content/post/2021/07-02_postgis-3.1.3.md
index e494efc..4d6eb80 100644
--- a/content/post/2021/07-02_postgis-3.1.3.html
+++ b/content/post/2021/07-02_postgis-3.1.3.md
@@ -5,6 +5,7 @@ category: news
 tags: [release, 3.1, 3.1.3]
 author: Regina Obe
 thumbnail: postgis.png
+date: "2021-07-02"
 ---
 
 The PostGIS Team is pleased to release PostGIS 3.1.3!
diff --git a/content/post/2021/09-04_postgis-patches.html b/content/post/2021/09-04_postgis-patches.md
similarity index 99%
rename from content/post/2021/09-04_postgis-patches.html
rename to content/post/2021/09-04_postgis-patches.md
index 2b66406..ab33587 100644
--- a/content/post/2021/09-04_postgis-patches.html
+++ b/content/post/2021/09-04_postgis-patches.md
@@ -5,6 +5,7 @@ category: news
 tags: [release,3.1,3.0]
 author: Regina Obe
 thumbnail: postgis.png
+date: "2021-09-11"
 ---
 
 The PostGIS development team is pleased to provide
diff --git a/content/post/2021/09-11_postgis-3.2.0alpha1.html b/content/post/2021/09-11_postgis-3.2.0alpha1.md
similarity index 99%
rename from content/post/2021/09-11_postgis-3.2.0alpha1.html
rename to content/post/2021/09-11_postgis-3.2.0alpha1.md
index c9a302c..fc14f36 100644
--- a/content/post/2021/09-11_postgis-3.2.0alpha1.html
+++ b/content/post/2021/09-11_postgis-3.2.0alpha1.md
@@ -5,6 +5,7 @@ category: news
 tags: [release,3.2]
 author: Regina Obe
 thumbnail: postgis.png
+date: "2021-09-11"
 ---
 
 The PostGIS Team is pleased to release the first alpha of the upcoming PostGIS
diff --git a/content/post/2021/10-23_postgis-3.2.0beta1.html b/content/post/2021/10-23_postgis-3.2.0beta1.md
similarity index 100%
rename from content/post/2021/10-23_postgis-3.2.0beta1.html
rename to content/post/2021/10-23_postgis-3.2.0beta1.md
diff --git a/content/post/2021/11-26_postgis-3.2.0beta2.md b/content/post/2021/11-26_postgis-3.2.0beta2.md
index 555149d..e50cef6 100644
--- a/content/post/2021/11-26_postgis-3.2.0beta2.md
+++ b/content/post/2021/11-26_postgis-3.2.0beta2.md
@@ -5,6 +5,7 @@ category: news
 tags: [release,3.2]
 author: Regina Obe
 thumbnail: postgis.png
+date: "2021-11-26"
 ---
 
 The PostGIS Team is pleased to release the second beta of the upcoming PostGIS
diff --git a/content/post/2021/12-04_postgis-3.2.0beta3.md b/content/post/2021/12-04_postgis-3.2.0beta3.md
index f05336e..17438d0 100644
--- a/content/post/2021/12-04_postgis-3.2.0beta3.md
+++ b/content/post/2021/12-04_postgis-3.2.0beta3.md
@@ -5,6 +5,7 @@ category: news
 tags: [release,3.2]
 author: Regina Obe
 thumbnail: postgis.png
+date: "2021-12-04"
 ---
 
 The PostGIS Team is pleased to release the third beta of the upcoming PostGIS
diff --git a/content/post/2021/12-10_postgis-3.2.0rc1.md b/content/post/2021/12-10_postgis-3.2.0rc1.md
index 71c12db..b6e0185 100644
--- a/content/post/2021/12-10_postgis-3.2.0rc1.md
+++ b/content/post/2021/12-10_postgis-3.2.0rc1.md
@@ -5,6 +5,7 @@ category: news
 tags: [release,3.2]
 author: Regina Obe
 thumbnail: postgis.png
+date: "2021-12-10"
 ---
 
 The PostGIS Team is pleased to release the first rc of the upcoming PostGIS
diff --git a/layouts/index.html b/layouts/index.html
index dc11e62..52c549b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -13,7 +13,7 @@
   <article class="post_content">
     {{- $t := .Title }}
     <h1 class="post_title">{{ $t }}</h1>
-    {{- partial "post-meta" . }}
+    {{- partial "page-meta" . }}
     {{- partial "image-feature" . }}
     {{ if $p.toc }}
     <div class="post_toc">
@@ -23,6 +23,15 @@
     {{ end }}
     <div class="post_body">
       {{- .Content }}
+			<h2>News</h2>
+			<div class="wrap content">
+				<ul class="posts" >
+					{{- range where .Site.RegularPages ".Params.category" "eq" ("news") }}
+						{{ partial "excerpt" . }}
+					{{- end }}
+				</ul>
+
+			</div>
     </div>
 
     {{- $showRelatedInArticle := true }}
diff --git a/layouts/partials/sidehome.html b/layouts/partials/sidehome.html
index 757d4db..aaca149 100644
--- a/layouts/partials/sidehome.html
+++ b/layouts/partials/sidehome.html
@@ -43,6 +43,15 @@
 						{{ .Content }}
 			</div>
 			{{end }}
+
+			<h2>Tips</h2>
+			{{ range where .Site.RegularPages ".Params.category" "eq" ("tips") }}
+			<div class="flex-column">
+						{{ partial "excerpt" . }}
+			</div>
+			{{end }}
+
+
     {{- $tagsLimit := (default 100 $s.numberOfTagsShown) }}
     {{- range $key, $value := .Site.Taxonomies }}
     {{- if gt $value 0 }}
diff --git a/layouts/partials/tips.html b/layouts/partials/tips.html
deleted file mode 100644
index 55035ca..0000000
--- a/layouts/partials/tips.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{ $pages := site.RegularPages }}
-
-	<h2>Tips</h2>
-	{{ range where .Site.RegularPages ".Params.category" "eq" ("tips") }}
-	<div class="post_body">
-				{{ partial "excerpt" . }}
-	</div>
-  {{end }}
diff --git a/themes/hugo-clarity/assets/sass/_variables.sass b/themes/hugo-clarity/assets/sass/_variables.sass
index 9ff4f2c..072483d 100644
--- a/themes/hugo-clarity/assets/sass/_variables.sass
+++ b/themes/hugo-clarity/assets/sass/_variables.sass
@@ -59,7 +59,7 @@ html
   --notice-tip-background: #E6F9E6
   --notice-warning-border-color: rgba(217, 83, 79, 0.8)
   --notice-warning-background: #FAE2E2
-  
+
   &.page
     --choice-bg: var(--light)
   @mixin darkmode

-----------------------------------------------------------------------

Summary of changes:
 assets/sass/_variables.sass                        |  7 +++---
 config/_default/params.toml                        |  4 ++--
 content/_index.md                                  | 12 +++++-----
 content/pages/source.md                            | 28 +++++++++++-----------
 ...8_postgis-3.1.1.html => 01-28_postgis-3.1.1.md} |  1 +
 ...1_postgis-3.1.2.html => 05-21_postgis-3.1.2.md} |  1 +
 ...2_postgis-3.1.3.html => 07-02_postgis-3.1.3.md} |  1 +
 ...stgis-patches.html => 09-04_postgis-patches.md} |  1 +
 ...2.0alpha1.html => 09-11_postgis-3.2.0alpha1.md} |  1 +
 ...3.2.0beta1.html => 10-23_postgis-3.2.0beta1.md} |  0
 content/post/2021/11-26_postgis-3.2.0beta2.md      |  1 +
 content/post/2021/12-04_postgis-3.2.0beta3.md      |  1 +
 content/post/2021/12-10_postgis-3.2.0rc1.md        |  1 +
 layouts/index.html                                 | 11 ++++++++-
 layouts/partials/sidehome.html                     |  9 +++++++
 layouts/partials/tips.html                         |  8 -------
 themes/hugo-clarity/assets/sass/_variables.sass    |  2 +-
 17 files changed, 54 insertions(+), 35 deletions(-)
 rename content/post/2021/{01-28_postgis-3.1.1.html => 01-28_postgis-3.1.1.md} (98%)
 rename content/post/2021/{05-21_postgis-3.1.2.html => 05-21_postgis-3.1.2.md} (99%)
 rename content/post/2021/{07-02_postgis-3.1.3.html => 07-02_postgis-3.1.3.md} (98%)
 rename content/post/2021/{09-04_postgis-patches.html => 09-04_postgis-patches.md} (99%)
 rename content/post/2021/{09-11_postgis-3.2.0alpha1.html => 09-11_postgis-3.2.0alpha1.md} (99%)
 rename content/post/2021/{10-23_postgis-3.2.0beta1.html => 10-23_postgis-3.2.0beta1.md} (100%)
 delete mode 100644 layouts/partials/tips.html


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list