[postgis-tickets] [SCM] postgis.net branch hugo updated. 630e41a19bff5bad1172847f65105949e529c3c6

git at osgeo.org git at osgeo.org
Sun Feb 27 17:29:44 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  630e41a19bff5bad1172847f65105949e529c3c6 (commit)
      from  21e338cbc380eaacf8961763c7d493f55e68863b (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 630e41a19bff5bad1172847f65105949e529c3c6
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Feb 27 20:29:39 2022 -0500

    Fix read more post links style.  Add twitter feed

diff --git a/layouts/index.html b/layouts/index.html
index c05a837..beec319 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -12,7 +12,7 @@
 
 <div class="{{ if ne $p.singleColumn true }}grid-inverse {{ end }}wrap content">
 
-  <article class="post_content">
+  <article>
     {{- $t := .Title }}
 		<a href="{{.Site.Params.gitRepo}}/{{ .File.Path }}" class="post_tag button button_translucent">Edit this page</a>
     <h1 class="post_title">{{ $t }}</h1>
@@ -27,18 +27,18 @@
     <div class="post_body">
       {{- .Content }}
     </div>
-
 		<h2>News</h2>
-		<ul style="list-style-type: none; padding-left: 0;">
-			{{- range first 5 (where .Site.RegularPages ".Params.category" "eq" ("news")) }}
-				{{ partial "excerpt" . }}
-			{{- end }}
-		</ul>
-
-
-
-
+		<h3>What's happening right now</h3>
+		<a class="twitter-timeline" data-height="300" href="https://twitter.com/postgis?ref_src=postgis">PostGIS tweets</a>
+		<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
 
+		<div id="posts" class="posts">
+			<ul style="list-style-type: none; padding-left: 0;">
+				{{- range first 3 (where .Site.RegularPages ".Params.category" "eq" ("news")) }}
+					{{ partial "excerpt" . }}
+				{{- end }}
+			</ul>
+	 </div>
     {{- $showRelatedInArticle := true }}
     {{- if eq $s.showRelatedInArticle false }}
       {{- $showRelatedInArticle = false }}
@@ -61,6 +61,9 @@
     {{- partial "i18nlist" . }}
 
   </article>
+
+
+
   {{- if ( ne $p.sidebar false ) }}
     {{- partial "sidehome" . }}
   {{ end }}

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

Summary of changes:
 layouts/index.html | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list