[postgis-tickets] [SCM] postgis.net branch hugo updated. 3637f4b6b077483970220be07a1db4821f681000

git at osgeo.org git at osgeo.org
Sun Feb 27 22:02:09 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  3637f4b6b077483970220be07a1db4821f681000 (commit)
      from  5d9faf678ce709f07caffa4fdf039eecb2b117ec (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 3637f4b6b077483970220be07a1db4821f681000
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Feb 28 01:02:02 2022 -0500

    Get rid of blank lines in smartcodes, they add white space. Change .editorconfig to not force a new line

diff --git a/.editorconfig b/.editorconfig
index fcb5d58..0e41387 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -8,7 +8,7 @@ root = true
 charset = utf-8
 end_of_line = lf
 trim_trailing_whitespace = true
-insert_final_newline = true
+insert_final_newline = false
 
 # Program files
 [*.{pl,php,html,.md}]
diff --git a/content/pages/documentation.md b/content/pages/documentation.md
index 3cd0f51..56577cb 100644
--- a/content/pages/documentation.md
+++ b/content/pages/documentation.md
@@ -10,6 +10,7 @@ singlecolumn: true
 sidebar: false
 ---
 
+Versions that have reached end of life can still be downloaded from [PostGIS Release docs]({{< loc "postgis.release_docs">}}).
 {{< columns >}}
 
 ## Stable Branch User Documentation
@@ -27,9 +28,8 @@ translate the manual into your language of choice go to [PostGIS Transifex](http
 ## Can't find your version listed here? it's been EOL'd
 Refer to our [Version compatibility and EOL Policy](/eol_policy) for details.
 
-Versions that have reached end of life can still be downloaded from [PostGIS Release docs]({{< loc "postgis.release_docs">}}).
-
----column---
+</div>
+<div>
 ## Search Docs
 
 Type search criteria here and enter:
@@ -67,6 +67,7 @@ window.location.href=url;
 * [Planet PostGIS](http://planet.postgis.net) - keep a pulse on what people are saying about PostGIS and learn how to take advantage of new features as they are added.
 * [GIS Stack Exchange](http://gis.stackexchange.com/questions/tagged/postgis) may already have your answer: search before you ask!
 
-{{< / columns >}}
+</div>
+</div>
 
 
diff --git a/content/pages/install.md b/content/pages/install.md
index 2320c47..d5ad47b 100644
--- a/content/pages/install.md
+++ b/content/pages/install.md
@@ -24,7 +24,7 @@ Production ready PostGIS Docker builds can be pulled from <a href="https://regis
 
 ## Windows
 
-* More details about getting up and running with windows can be found on [Windows Downloads]({{ pcurl('windows_downloads') }}) page.
+* More details about getting up and running with windows can be found on [Windows Downloads](/windows_downloads) page.
 
 ## Red Hat / Centos / Scientific Linux
 
diff --git a/layouts/shortcodes/columns.html b/layouts/shortcodes/columns.html
index 91a0b7b..507842b 100644
--- a/layouts/shortcodes/columns.html
+++ b/layouts/shortcodes/columns.html
@@ -1,7 +1,2 @@
-<div class="grid-container">
-	{{ range $index, $value := split .Inner "---column---" }}
-	<!-- start column -->
-			<div>{{ . | $.Page.RenderString }}</div>
-	<!-- end column -->
-	{{ end }}
+<div class="grid-container">{{ range $index, $value := split .Inner "---column---" }}<!-- start column --><div>{{ . | $.Page.RenderString }}</div><!-- end column -->{{ end }}
 </div>
diff --git a/layouts/shortcodes/loc.html b/layouts/shortcodes/loc.html
index cf2f4dd..060b368 100644
--- a/layouts/shortcodes/loc.html
+++ b/layouts/shortcodes/loc.html
@@ -1,11 +1 @@
-{{ $var :=  (.Get 0)  }}
-{{- if eq $var "postgis.version" }}{{ site.Params.postgis.version}}{{- end }}
-{{- if eq $var "postgis.release_docs" }}
-{{ site.Params.postgis.release_docs}}{{- print "" -}}
-{{- end }}
-{{- if eq $var "postgis.release_source" }}
-{{ site.Params.postgis.release_source}}{{- print "" -}}
-{{- end }}
-{{- if eq $var "postgis.release_notes" }}{{ site.Params.postgis.release_notes}}{{- print "" -}}{{- end }}
-{{- if eq $var "site.root" }}{{ site.BaseURL}}{{- print "" -}}{{- end }}
-
+{{- $var :=  (.Get 0)  }}{{- $data := newScratch }}{{- $data.Set $var "" }}{{- if eq $var "postgis.version" }}{{ $data.Set $var site.Params.postgis.version}}{{- end }}{{- if eq $var "postgis.release_docs" }}{{$data.Set $var site.Params.postgis.release_docs}}{{end }}{{- if eq $var "postgis.release_source" }}{{- $data.Set $var site.Params.postgis.release_source}}{{- end }}{{- if eq $var "postgis.release_notes" }}{{ $data.Set $var site.Params.postgis.release_notes}}{{end }}{{- if eq $var "site.root" }}{{  $data.Set $var site.BaseURL}}{{- end }}{{- $data.Get $var}}
\ No newline at end of file

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

Summary of changes:
 .editorconfig                   |  2 +-
 content/pages/documentation.md  |  9 +++++----
 content/pages/install.md        |  2 +-
 layouts/shortcodes/columns.html |  7 +------
 layouts/shortcodes/loc.html     | 12 +-----------
 5 files changed, 9 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list