[postgis-tickets] [SCM] postgis.net branch hugo updated. 27a7791998f5d94dbe6b3e6b0eae81381d16042c

git at osgeo.org git at osgeo.org
Thu Mar 3 22:22:39 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  27a7791998f5d94dbe6b3e6b0eae81381d16042c (commit)
      from  f0859a62d0a3a83d0ed04016d3162d98b6b46cac (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 27a7791998f5d94dbe6b3e6b0eae81381d16042c
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Mar 4 01:22:34 2022 -0500

    Make 2-column responsive

diff --git a/assets/sass/_custom.sass b/assets/sass/_custom.sass
index e5bdf1c..f078302 100644
--- a/assets/sass/_custom.sass
+++ b/assets/sass/_custom.sass
@@ -31,3 +31,41 @@ h2
   font-face: arial
 
 
+#column_left
+	width: 48%
+	float: left
+	padding-bottom: 3em
+#column_right
+	width: 48%
+	float: right
+	padding-bottom: 3em
+
+ at media screen and (max-width: $mobile-menu-breakpoint)
+  #sidebar_right
+	  width: auto
+  #column_left
+    width: auto
+  #column_right
+    width: auto
+  #header
+    margin-bottom: 0
+    h2
+      display: none
+    ul
+      &.nav
+        margin-top: 170px
+        margin-left: 0px
+        font-size: 1.0em
+        li
+          line-height: 2.5em
+          font-size: 1.0em
+          &:last-child
+            display: none
+  h1
+    font-size: 1.1em
+  body
+    padding-left: 1.5em
+    padding-right: 1.5em
+  #footer
+    margin-left: -1.5em
+    margin-right: -1.5em
diff --git a/assets/sass/_variables.sass b/assets/sass/_variables.sass
index 4da76b3..663c239 100644
--- a/assets/sass/_variables.sass
+++ b/assets/sass/_variables.sass
@@ -1,10 +1,10 @@
 $font-path: '../fonts'
 // $icons: '{{ printf "../%s" (default "icons/" .Site.Params.iconsDir) }}'
 $images: '../images/'
-$light: #fff
+$light: #edeeef
 $haze: #fafafa
 $xhaze: darken($haze, 11%)
-$bg: #006699
+$bg: #468
 $theme: #0077b8
 $mobile-menu-breakpoint: 769px
 $single-column-breakpoint: 42rem
diff --git a/content/pages/development.md b/content/pages/development.md
index 1a97d7f..8729bde 100644
--- a/content/pages/development.md
+++ b/content/pages/development.md
@@ -8,7 +8,7 @@ relatedInSidebar: false
 singlecolumn: true
 sidebar: false
 ---
-{{< columns >}}
+{{< col "left">}}
 # How It Works
 
 PostGIS adds extra types (geometry, geography, raster and others) to the [PostgreSQL](http://postgresql.org/) database. It also adds functions and indexes that apply to those types. It does this by:
@@ -27,7 +27,10 @@ Since PostGIS is in C, it can make use of other libraries in C and C++, and it d
 
 ## Developer Documentation
 {{< doclinks "doxygen">}}
----column---
+
+{{< /col>}}
+
+{{< col "right">}}
 # Getting Involved
 
 PostGIS is an open source development community of people,
@@ -51,5 +54,5 @@ Key things we need:
 2. For enhancements and new features we expect <a href="http://trac.osgeo.org/postgis/wiki/DevWikiCUnit" target="_blank">CUnit tests</a> and <a href="http://trac.osgeo.org/postgis/wiki/DevWikiPGRegress" target="_blank">PostgreSQL test</a> included. Non-lwgeom patches don't need CUnit tests.
 3. For new features we expect a <a href="http://trac.osgeo.org/postgis/wiki/DevWikiDocNewFeature" target="_blank">documentation patch</a>.
 4. Make sure your code has copyright info and is GPLv2 compatible.
-{{< /columns >}}
+{{< /col>}}
 
diff --git a/content/pages/documentation.md b/content/pages/documentation.md
index d2a01d8..3eea8f5 100644
--- a/content/pages/documentation.md
+++ b/content/pages/documentation.md
@@ -6,10 +6,11 @@ buildbot_pre_release_docs:
 buildbot_pre_release_trunk:
     has_tags: [trunk, pre_release_source]
 draft: false
+relatedInSidebar: false
 singlecolumn: true
 sidebar: false
 ---
-{{< columns >}}
+{{< col "left">}}
 ## Stable Branch User Documentation
 This documentation is for the released branches and will contain corrections and errata as they are available
 
@@ -27,7 +28,9 @@ 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---
+{{< /col>}}
+
+{{< col "right">}}
 ## Search Docs
 
 Type search criteria here and enter:
@@ -64,5 +67,5 @@ 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 >}}
+{{< /col >}}
 
diff --git a/content/pages/install.md b/content/pages/install.md
index da8986d..fd06a4e 100644
--- a/content/pages/install.md
+++ b/content/pages/install.md
@@ -3,10 +3,11 @@ title: Installation
 description: How to install PostGIS and where to download PostGIS binaries
 keywords: download, install
 draft: false
+relatedInSidebar: false
 singlecolumn: true
 sidebar: false
 ---
-{{< columns >}}
+{{< col "left">}}
 # Compiling from Source
 PostGIS has many packaged installations, but if you are more adventurous
 and want to compile your own, refer to our source download and compilation
@@ -63,8 +64,9 @@ Refer to [Installing PostGIS 3.1 and PostgreSQL 13 on CentOS 8](https://people.p
 ## Additional Install Guides
 * [Source, Yum and other installs for latest and older versions of PostGIS](http://trac.osgeo.org/postgis/wiki/UsersWikiInstall)
 
----column---
+{{< /col >}}
 
+{{< col "right">}}
 # Getting Started
 
 In order to use PostGIS you first need to [install the binaries](#binary-installers).  You can install these via package managers or compile PostGIS yourself.
@@ -160,4 +162,4 @@ WHERE ST_DWithin(
   1000
 );
 ```
-{{< /columns >}}
+{{< /col >}}
diff --git a/content/pages/source.md b/content/pages/source.md
index 021bdf3..a5c1735 100644
--- a/content/pages/source.md
+++ b/content/pages/source.md
@@ -2,10 +2,12 @@
 title: Source Downloads
 description: PostGIS source downloads for released and development versions
 singlecolumn: true
+relatedInSidebar: false
+singlecolumn: true
 sidebar: false
 ---
 
-{{< columns >}}
+{{< col "left">}}
 The latest source code and companion user doc releases are:
 
 {{< sourcelinks release>}}
@@ -34,9 +36,9 @@ A complete set of historical releases are available in the [source download dire
 * [GitHub mirror](https://github.com/postgis/postgis/)
 * [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.
+{{< /col >}}
 
-
----column---
+{{< col "right">}}
 # Compiling Source
 For platform specific compilation instructions refer to [Compile and Install for various Operating Systems](http://trac.osgeo.org/postgis/wiki/UsersWikiInstall).
 
@@ -52,4 +54,4 @@ make
 make install
 ```
 
-{{< /columns >}}
+{{< /col >}}
diff --git a/content/pages/support.md b/content/pages/support.md
index f58322c..942f4da 100644
--- a/content/pages/support.md
+++ b/content/pages/support.md
@@ -2,10 +2,11 @@
 title: Support
 description: Getting technical support for PostGIS, mailing lists, professional support
 draft: false
+relatedInSidebar: false
 singlecolumn: true
+sidebar: false
 ---
-
-{{< columns >}}
+{{< col "left">}}
 PostGIS is an open-source project, and support is available from a number of sources.
 
 ## Reporting Problems
@@ -45,7 +46,9 @@ For users who require professional support, development and consulting services,
 
 Many more PostGIS Service providers can be found using the <a href="http://www.osgeo.org/search_profile?SET=1&MUL_TECH[]=00036" target="_blank">OSGeo Service Provider</a> search tool.
 
----column---
+{{< /col >}}
+
+{{< col "right">}}
 
 # Other Support
 
@@ -71,4 +74,4 @@ For software development questions use [postgis-devel](http://lists.osgeo.org/ma
 ## Knowledge Base
 
 * [GIS Stack Exchange](http://gis.stackexchange.com/questions/tagged/postgis) may already have your answer: search before you ask!
-{{< /columns >}}
+{{< /col >}}
diff --git a/content/pages/windows_downloads/index.md b/content/pages/windows_downloads/index.md
index 5758324..62a7888 100644
--- a/content/pages/windows_downloads/index.md
+++ b/content/pages/windows_downloads/index.md
@@ -2,10 +2,12 @@
 title: Windows Downloads
 layout: column2
 description: PostGIS windows binaries for both 32-bit and 64-bit windows
+relatedInSidebar: false
 singlecolumn: true
 sidebar: false
+showTags: false
 ---
-{{< columns >}}
+{{< col "left">}}
 If you need help using these packages (the installers and buildbot binaries), please ask on our [users mailing list](https://lists.osgeo.org/mailman/listinfo/postgis-users).
 
 If you find a bug with the installers or the buildbot packages, please report these on our [Ticket Tracker](/support) under component: build/upgrade/install with keyword: windows.
@@ -54,7 +56,9 @@ You can also just extract the .exe setup file to get the binaries, but the extra
 [6]: http://download.osgeo.org/postgis/windows/source
 [7]: http://nsis.sourceforge.net/Download
 
----column---
+{{< /col>}}
+
+{{< col "right">}}
 # Unreleased PostGIS Versions
 If you are more adventurous, and risk-seeking you can partake in our experimental windows
 binaries of PostGIS built automatically by Winnie whenever there is a change in any of the PostGIS Stable or development branches.
@@ -122,5 +126,4 @@ See the [install](/install) section for more guidance.
 [14]: https://winnie.postgis.net/download/windows/pg10/buildbot/
 [15]: https://winnie.postgis.net/download/windows/pg11/buildbot/
 [16]: https://winnie.postgis.net/download/windows/pg12/buildbot/
-{{< /columns >}}
-
+{{< /col>}}
diff --git a/layouts/shortcodes/col.html b/layouts/shortcodes/col.html
new file mode 100644
index 0000000..cae1d6b
--- /dev/null
+++ b/layouts/shortcodes/col.html
@@ -0,0 +1,2 @@
+{{ $pos :=  (.Get 0)  }}
+<div id="column_{{$pos}}">{{.Inner | $.Page.RenderString}}</div>
diff --git a/layouts/shortcodes/columns.html b/layouts/shortcodes/columns.html
deleted file mode 100644
index 507842b..0000000
--- a/layouts/shortcodes/columns.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<div class="grid-container">{{ range $index, $value := split .Inner "---column---" }}<!-- start column --><div>{{ . | $.Page.RenderString }}</div><!-- end column -->{{ end }}
-</div>

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

Summary of changes:
 assets/sass/_custom.sass                 | 38 ++++++++++++++++++++++++++++++++
 assets/sass/_variables.sass              |  4 ++--
 content/pages/development.md             |  9 +++++---
 content/pages/documentation.md           |  9 +++++---
 content/pages/install.md                 |  8 ++++---
 content/pages/source.md                  | 10 +++++----
 content/pages/support.md                 | 11 +++++----
 content/pages/windows_downloads/index.md | 11 +++++----
 layouts/shortcodes/col.html              |  2 ++
 layouts/shortcodes/columns.html          |  2 --
 10 files changed, 79 insertions(+), 25 deletions(-)
 create mode 100644 layouts/shortcodes/col.html
 delete mode 100644 layouts/shortcodes/columns.html


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list