[postgis-tickets] [SCM] postgis.net branch hugo updated. edfceef95e2dc720902381cf3f057ba597ebcaa3

git at osgeo.org git at osgeo.org
Sat Feb 26 21:31:03 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  edfceef95e2dc720902381cf3f057ba597ebcaa3 (commit)
      from  c7bb6b959c7ba02047f34410ab23e314fafba9d7 (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 edfceef95e2dc720902381cf3f057ba597ebcaa3
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Feb 27 00:30:58 2022 -0500

    Get rid of bio on posts, more content fixing

diff --git a/config/_default/config.toml b/config/_default/config.toml
index d7848dc..36236aa 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -7,7 +7,7 @@ paginate = 10
 disqusShortname = ""
 
 [taxonomies]
-category = "categories"
+category = "category"
 tag = "tags"
 series = "series"
 
diff --git a/content/post/ci/01-04_win-pgrouting-2-4_branch.html b/content/post/ci/01-04_win-pgrouting-2-4_branch.md
similarity index 100%
rename from content/post/ci/01-04_win-pgrouting-2-4_branch.html
rename to content/post/ci/01-04_win-pgrouting-2-4_branch.md
diff --git a/content/post/ci/01-05_win-pgrouting-2-5_branch.html b/content/post/ci/01-05_win-pgrouting-2-5_branch.md
similarity index 100%
rename from content/post/ci/01-05_win-pgrouting-2-5_branch.html
rename to content/post/ci/01-05_win-pgrouting-2-5_branch.md
diff --git a/content/post/ci/02-05_win-pgrouting-2-6_branch.html b/content/post/ci/02-05_win-pgrouting-2-6_branch.md
similarity index 90%
rename from content/post/ci/02-05_win-pgrouting-2-6_branch.html
rename to content/post/ci/02-05_win-pgrouting-2-6_branch.md
index 229c2fb..00cd882 100644
--- a/content/post/ci/02-05_win-pgrouting-2-6_branch.html
+++ b/content/post/ci/02-05_win-pgrouting-2-6_branch.md
@@ -1,25 +1,25 @@
----
-title: pgRouting 2.6 Windows binaries
-layout: post
-category: buildbot
-pr_major_version: 2
-pr_minor_version: 6
-pr_micro_version: 1
-branch: 2.6
-tags: [pre_release_win_bin, pgrouting_2.6]
-author: Winnie
-thumbnail: postgis.png
----
-**pgRouting Package 2.6.2**
-
-For 9.5-10 (32-bit / 64-bit), 9.6 (32-bit / 64-bit), 11 (64-bit)
-refer to <a href="https://docs.pgrouting.org/2.6/en/pgRouting-concepts.html#getting-started" target="_blank">getting started guide</a> for more details.
-
-Also find in same folder companion osm2pgrouting-2.2.0 package for loading osm data.
-
-Will work with PostGIS 2.1-3.0 (not tested on PostGIS 2.0, but should work)
-
-  * <a href="https://docs.pgrouting.org/2.6/en/release_notes.html#changelog-2-6-2" target="_blank">pgRouting 2.6.2 release notes</a> 
-  * compiled with CGAL 4.11
-  * compiled with boost 1.59.0
-  * PostgreSQL Extension files included
\ No newline at end of file
+---
+title: pgRouting 2.6 Windows binaries
+layout: page
+category: buildbot
+pr_major_version: 2
+pr_minor_version: 6
+pr_micro_version: 1
+branch: 2.6
+tags: [pre_release_win_bin, pgrouting_2.6]
+author: Winnie
+thumbnail: postgis.png
+---
+**pgRouting Package 2.6.2**
+
+For 9.5-10 (32-bit / 64-bit), 9.6 (32-bit / 64-bit), 11 (64-bit)
+refer to <a href="https://docs.pgrouting.org/2.6/en/pgRouting-concepts.html#getting-started" target="_blank">getting started guide</a> for more details.
+
+Also find in same folder companion osm2pgrouting-2.2.0 package for loading osm data.
+
+Will work with PostGIS 2.1-3.0 (not tested on PostGIS 2.0, but should work)
+
+  * <a href="https://docs.pgrouting.org/2.6/en/release_notes.html#changelog-2-6-2" target="_blank">pgRouting 2.6.2 release notes</a>
+  * compiled with CGAL 4.11
+  * compiled with boost 1.59.0
+  * PostgreSQL Extension files included
diff --git a/content/post/ci/02-05_win-pgrouting-3-0_branch.html b/content/post/ci/02-05_win-pgrouting-3-0_branch.md
similarity index 100%
rename from content/post/ci/02-05_win-pgrouting-3-0_branch.html
rename to content/post/ci/02-05_win-pgrouting-3-0_branch.md
diff --git a/content/post/ci/04-04_win-postgis-2-3_branch.html b/content/post/ci/04-04_win-postgis-2-3_branch.md
similarity index 100%
rename from content/post/ci/04-04_win-postgis-2-3_branch.html
rename to content/post/ci/04-04_win-postgis-2-3_branch.md
diff --git a/layouts/post/events/single.html b/layouts/events/single.html
similarity index 95%
rename from layouts/post/events/single.html
rename to layouts/events/single.html
index 357e0c6..c75d639 100644
--- a/layouts/post/events/single.html
+++ b/layouts/events/single.html
@@ -15,7 +15,6 @@
     <h1 class="post_title">{{ $t }}</h1>
 
     <div class="post_body">
-			{{- .DateLocation }}
       {{- .Content }}
     </div>
 
diff --git a/layouts/pages/single.html b/layouts/pages/single.html
index e48ac39..dff3f10 100644
--- a/layouts/pages/single.html
+++ b/layouts/pages/single.html
@@ -2,9 +2,17 @@
 {{- $s := .Site.Params }}
 {{- $p := .Params }}
 {{- $scratch := newScratch }}
+{{- if isset $p "image" }}
+  {{- $scratch.Set "image" $p.image }}
+{{- else }}
+  {{ $scratch.Set "image" $s.fallBackOgImage }}
+{{- end }}
+{{- $image := $scratch.Get "image" }}
+{{- $bg := absLangURL (path.Join "images" $image) }}
 <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 }}
@@ -27,8 +35,19 @@
       {{- partial "related" . }}
     {{- end }}
 
+    {{- $showComments := true }}
+    {{- if eq $s.comments false }}
+      {{- $showComments = false }}
+    {{- else if eq $p.comments false }}
+      {{- $showComments = false }}
+    {{- end }}
+    {{- if ne $showComments false }}
+      {{- partial "comments" . }}
+    {{- end }}
+    {{- partial "i18nlist" . }}
+
   </article>
-  {{- if ( eq $p.sidebar true ) }}
+  {{- if ( ne $p.sidebar false ) }}
     {{- partial "sidebar" . }}
   {{ end }}
 </div>
diff --git a/themes/hugo-clarity/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
similarity index 73%
copy from themes/hugo-clarity/layouts/partials/sidebar.html
copy to layouts/partials/sidebar.html
index 0a2bc6f..41ae88a 100644
--- a/themes/hugo-clarity/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,42 +1,14 @@
 {{ $s := site.Params }}
 <aside class="sidebar">
   <section class="sidebar_inner">
-    {{- $introDescription := $s.introDescription }}
-    {{- with .Params.introDescription }}
-      {{- $introDescription = . }}
-    {{- end }}
-    {{- if $introDescription }}
-      {{- $author := $s.Author  }}
-      {{- $showAuthorPhoto := false }}
-      {{- $fullAuthor := reflect.IsMap $author }}
-      {{- if $fullAuthor }}
-        {{-  if $author.photo }}
-          {{- $showAuthorPhoto = true }}
-        {{- end }}
-      {{- end }}
-      {{- if $showAuthorPhoto }}
-        <div class="author_header">
-          <img src="{{ absURL $author.photo }}" alt="{{ $author.name }} photo">
-          <h2>{{  $author.name }}</h2>
-        </div>
-      {{- else }}
-        <h2>{{  if $fullAuthor }}{{ $author.name }}{{ else }}{{ $author }}{{ end }}</h2>
-      {{- end }}
-      <div class="author_bio">
-        {{ markdownify $introDescription }}
-      </div>
-      {{- if ( ne $s.introURL false ) }}
-      {{- $r := T "read_more" }}
-      <a href='{{ absLangURL (default "about/" $s.introURL) }}' class="button mt-1" role="button" title='{{ $r }}'>{{ $r }}</a>
-      {{- end }}
-    {{- end }}
+
 
     {{ if .Site.Params.sidebardisclaimer }}
-      <div class="sidebardisclaimer"> 
-        <h2 class="mt-4">Disclaimer</h2> 
+      <div class="sidebardisclaimer">
+        <h2 class="mt-4">Disclaimer</h2>
         {{ .Site.Params.disclaimerText }}
-      </div> 
-    {{ end }}  
+      </div>
+    {{ end }}
 
     {{- $relatedInSidebar := true }}
     {{- if eq $s.showRelatedInSidebar false }}
diff --git a/layouts/post/single.html b/layouts/post/single.html
deleted file mode 100644
index 157a27f..0000000
--- a/layouts/post/single.html
+++ /dev/null
@@ -1,54 +0,0 @@
-{{- define "main" }}
-{{- $s := .Site.Params }}
-{{- $p := .Params }}
-{{- $scratch := newScratch }}
-{{- if isset $p "image" }}
-  {{- $scratch.Set "image" $p.image }}
-{{- else }}
-  {{ $scratch.Set "image" $s.fallBackOgImage }}
-{{- end }}
-{{- $image := $scratch.Get "image" }}
-{{- $bg := absLangURL (path.Join "images" $image) }}
-<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 "post-meta" . }}
-    {{- partial "image-feature" . }}
-    {{ if $p.toc }}
-    <div class="post_toc">
-      <h2>{{ T "overview" }}</h2>
-      {{ .TableOfContents }}
-    </div>
-    {{ end }}
-    <div class="post_body">
-      {{- .Content }}
-    </div>
-
-    {{- $showRelatedInArticle := true }}
-    {{- if eq $s.showRelatedInArticle false }}
-      {{- $showRelatedInArticle = false }}
-    {{- else if eq $p.showRelatedInArticle false }}
-      {{- $showRelatedInArticle = false }}
-    {{- end }}
-    {{- if ne $showRelatedInArticle false }}
-      {{- partial "related" . }}
-    {{- end }}
-
-    {{- $showComments := true }}
-    {{- if eq $s.comments false }}
-      {{- $showComments = false }}
-    {{- else if eq $p.comments false }}
-      {{- $showComments = false }}
-    {{- end }}
-    {{- if ne $showComments false }}
-      {{- partial "comments" . }}
-    {{- end }}
-    {{- partial "i18nlist" . }}
-
-  </article>
-  {{- if ( ne $p.sidebar false ) }}
-    {{- partial "sidebar" . }}
-  {{ end }}
-</div>
-{{- end }}
diff --git a/themes/hugo-clarity/layouts/partials/sidebar.html b/themes/hugo-clarity/layouts/partials/sidebar.html
index 0a2bc6f..633929f 100644
--- a/themes/hugo-clarity/layouts/partials/sidebar.html
+++ b/themes/hugo-clarity/layouts/partials/sidebar.html
@@ -32,11 +32,11 @@
     {{- end }}
 
     {{ if .Site.Params.sidebardisclaimer }}
-      <div class="sidebardisclaimer"> 
-        <h2 class="mt-4">Disclaimer</h2> 
+      <div class="sidebardisclaimer">
+        <h2 class="mt-4">Disclaimer</h2>
         {{ .Site.Params.disclaimerText }}
-      </div> 
-    {{ end }}  
+      </div>
+    {{ end }}
 
     {{- $relatedInSidebar := true }}
     {{- if eq $s.showRelatedInSidebar false }}

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

Summary of changes:
 config/_default/config.toml                        |  2 +-
 ...anch.html => 01-04_win-pgrouting-2-4_branch.md} |  0
 ...anch.html => 01-05_win-pgrouting-2-5_branch.md} |  0
 ...anch.html => 02-05_win-pgrouting-2-6_branch.md} | 50 ++++++++++----------
 ...anch.html => 02-05_win-pgrouting-3-0_branch.md} |  0
 ...branch.html => 04-04_win-postgis-2-3_branch.md} |  0
 layouts/{post => }/events/single.html              |  1 -
 layouts/pages/single.html                          | 21 ++++++++-
 layouts/partials/{sidehome.html => sidebar.html}   | 30 +++++-------
 layouts/post/single.html                           | 54 ----------------------
 themes/hugo-clarity/layouts/partials/sidebar.html  |  8 ++--
 11 files changed, 61 insertions(+), 105 deletions(-)
 rename content/post/ci/{01-04_win-pgrouting-2-4_branch.html => 01-04_win-pgrouting-2-4_branch.md} (100%)
 rename content/post/ci/{01-05_win-pgrouting-2-5_branch.html => 01-05_win-pgrouting-2-5_branch.md} (100%)
 rename content/post/ci/{02-05_win-pgrouting-2-6_branch.html => 02-05_win-pgrouting-2-6_branch.md} (90%)
 rename content/post/ci/{02-05_win-pgrouting-3-0_branch.html => 02-05_win-pgrouting-3-0_branch.md} (100%)
 rename content/post/ci/{04-04_win-postgis-2-3_branch.html => 04-04_win-postgis-2-3_branch.md} (100%)
 rename layouts/{post => }/events/single.html (95%)
 copy layouts/partials/{sidehome.html => sidebar.html} (85%)
 delete mode 100644 layouts/post/single.html


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list