[postgis-tickets] [SCM] postgis.net branch hugo updated. 011f3bc453231cab9a1959461e9a33f9049a8c94

git at osgeo.org git at osgeo.org
Wed Feb 23 14:01:56 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  011f3bc453231cab9a1959461e9a33f9049a8c94 (commit)
      from  cd47349700764457996bc5719794e796d727de97 (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 011f3bc453231cab9a1959461e9a33f9049a8c94
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Feb 23 17:01:21 2022 -0500

    CHANGES
    
    1. Get rid of read time on pages
    2. More cleanup of docs links

diff --git a/content/pages/documentation.md b/content/pages/documentation.md
index 6c79e25..7089f51 100644
--- a/content/pages/documentation.md
+++ b/content/pages/documentation.md
@@ -9,6 +9,7 @@ draft: false
 singlecolumn: true
 sidebar: false
 ---
+
 {{< columns >}}
 
 ## Stable Branch User Documentation
@@ -24,7 +25,7 @@ translate the manual into your language of choice go to [PostGIS Transifex](http
 {{< doclinks "dev">}}
 
 ## Can't find your version listed here? it's been EOL'd
-Refer to our [Version compatibility and EOL Policy]({{ pcurl('eol_policy') }}) for details.
+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]({{postgis.release_docs}}).
 
diff --git a/layouts/partials/page-meta.html b/layouts/partials/page-meta.html
index 4297d36..7eef1fc 100644
--- a/layouts/partials/page-meta.html
+++ b/layouts/partials/page-meta.html
@@ -3,10 +3,6 @@
 {{- $showReadTime := ne (.Param "showreadtime") false }}
 {{- $scratch := newScratch }}
 {{- $scratch.Set "writeSeparator" false }}
-  {{- if $showReadTime }}
-    <span class="post_time">{{ if ($scratch.Get "writeSeparator") }} · {{ end }}{{ T "reading_time" . }}</span>
-    {{- $scratch.Set "writeSeparator" true }}
-  {{- end }}
   {{- with .Params.tags -}}
     <span>
       {{- if ($scratch.Get "writeSeparator") }} · {{ end }}
diff --git a/layouts/shortcodes/doclinks.html b/layouts/shortcodes/doclinks.html
index 358f3ed..53db73c 100644
--- a/layouts/shortcodes/doclinks.html
+++ b/layouts/shortcodes/doclinks.html
@@ -1,9 +1,11 @@
 {{ $md := $.Site.Params.postgis.dev_releases }}
-{{ $ver := default "" (.Get 0)  }}
+{{ $ver :=  (.Get 0)  }}
 {{ range $key, $value := $md}}
-	{{ if ( and (eq $key "dev") (eq $ver "dev") )  }}
-* PostGIS {{ $key }} HTML: <a href="{{ $.Site.Params.baseurl }}docs/manual-dev">en</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-ja.html">ja</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-br.html">br</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-de.html">de</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-ko_KR.html">ko_KR</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-es.html">es</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-it.html">it</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-dev/postgis-fr.html">fr</a>
-	{{ else if (ne $key "dev")  }}
+	{{ if ( and (eq $key "dev") (ne $ver "stable") )   }}
+* PostGIS {{ $key }} HTML: <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}">en</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ja.html">ja</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-br.html">br</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-de.html">de</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ko_KR.html">ko_KR</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-es.html">es</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-it.html">it</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-fr.html">fr</a>
+* PostGIS {{ $key }} PDF: <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}.pdf">en</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ja.pdf">ja</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-br.pdf">br</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-de.pdf">de</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-ko_KR.pdf">ko_KR</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-es.pdf">es</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-it.pdf">it</a> <a href="{{ $.Site.Params.baseurl }}docs/manual-{{ $key }}/postgis-fr.pdf">fr</a>
+	{{ end }}
+	{{ if ( and (ne $key "dev") (ne $ver "dev")  )  }}
 * PostGIS {{ $key }} ([HTML]({{ $.Site.Params.baseurl }}docs/manual-{{ $key }})) ([PDF]({{ $.Site.Params.baseurl }}stuff/postgis-{{ $key }}.pdf)) ([EPUB]({{ $.Site.Params.baseurl }}stuff/postgis-{{ $key }}.epub))
 	{{ end }}
 {{ end }}

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

Summary of changes:
 content/pages/documentation.md   |  3 ++-
 layouts/partials/page-meta.html  |  4 ----
 layouts/shortcodes/doclinks.html | 10 ++++++----
 3 files changed, 8 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list