[postgis-tickets] [SCM] postgis.net branch hugo updated. 39a8f1fdc361eb1a6fb1eaccf143de2ec9409d83

git at osgeo.org git at osgeo.org
Mon Feb 28 09:53:13 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  39a8f1fdc361eb1a6fb1eaccf143de2ec9409d83 (commit)
      from  d905ac2ab07d5c3ffeeda292a1afbcf3a63a9ee9 (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 39a8f1fdc361eb1a6fb1eaccf143de2ec9409d83
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Feb 28 12:53:09 2022 -0500

    Fix formatting of events pages

diff --git a/layouts/partials/excerpt.html b/layouts/partials/excerpt.html
index 1539fe0..1140692 100644
--- a/layouts/partials/excerpt.html
+++ b/layouts/partials/excerpt.html
@@ -1,13 +1,14 @@
 <li class="post_item">
-	{{if eq .Params.series "events"}}
-	{{ partial "event" . }}
-	{{else}}
   <div class="excerpt">
     <div class="excerpt_header">
       <h3 class="post_link">
         <a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title  }}</a>
       </h3>
+			{{if eq .Params.category "events"}}
+			{{ partial "event" . }}
+			{{ else }}
       {{ partial "post-meta" . }}
+			{{ end }}
     </div>
     {{- with .Params.thumbnail }}
     <div class="excerpt_footer partition">
@@ -62,5 +63,5 @@
         </div>
       </div>
     </div>
-		{{ end }}
+
   </li>
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html
index 49f9cdd..92fd8d7 100644
--- a/layouts/partials/post-meta.html
+++ b/layouts/partials/post-meta.html
@@ -8,7 +8,6 @@
   	<div class="post_meta">
 {{- end }}
   {{- if $showDate }}
-
     <span>{{ partial "sprite" (dict "icon" "calendar") }}</span>
     <span class="post_date">
       {{ .Date.Format (default "Jan 2, 2006" $.Site.Params.dateFormat) -}}

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

Summary of changes:
 layouts/partials/excerpt.html   | 9 +++++----
 layouts/partials/post-meta.html | 1 -
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list