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

git at osgeo.org git at osgeo.org
Fri Mar 4 07:16:21 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  bc21a631e2481a35b812dcb8dda7aac6a1cb2aaa (commit)
      from  69e7dab34e369b8afba35cb1d879b1e6ab886dc0 (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 bc21a631e2481a35b812dcb8dda7aac6a1cb2aaa
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Mar 4 10:16:15 2022 -0500

    Remove google analytics and twitter js

diff --git a/config/_default/configTaxo.toml b/config/_default/configTaxo.toml
index ee76e43..361b606 100644
--- a/config/_default/configTaxo.toml
+++ b/config/_default/configTaxo.toml
@@ -5,17 +5,17 @@ footnoteReturnLinkContents = "^"
 [privacy]
 
 [privacy.vimeo]
-disabled = false
+disabled = true
 simple = true
 
 [privacy.twitter]
-disabled = false
+disabled = true
 enableDNT = true
 simple = true
 disableInlineCSS = true
 
 [privacy.instagram]
-disabled = false
+disabled = true
 simple = true
 
 [privacy.youtube]
diff --git a/config/_default/params.toml b/config/_default/params.toml
index e1cc27c..35d91e7 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -2,7 +2,7 @@ twitter = "@postgis"
 description = "PostGIS provides spatial objects for the PostgreSQL database, allowing storage and query of information about location and mapping."
 keywords = ["postgis", "database", "spatial", "sql", "mapping", "queries", "gis", "geocoding", "routing", "raster", "opensource gis"]
 enableRobotsTXT = false
-largeTwitterCard = true # set to true if you want to show a large twitter card image. The default is a small twitter card image
+largeTwitterCard = false # set to true if you want to show a large twitter card image. The default is a small twitter card image
 introDescription = "PostGIS provides spatial objects for the PostgreSQL database, allowing storage and query of information about location and mapping."
 introURL = "/" # set the url for the 'read more' button below the introDescription, or set to false to not show the button
 
@@ -11,7 +11,7 @@ gitRepo = "https://git.osgeo.org/gitea/postgis/postgis.net/src/branch/hugo/conte
 # showShare = false # Uncomment to not show share buttons on each post. Also available in each post's front matter.
 
 # Google analytics Id
-ga_analytics = "UA-37775762-1"
+#ga_analytics = "UA-37775762-1"
 
 
 # limit the number of taxonomies links shown on the sidebar of each page by default.
diff --git a/layouts/index.html b/layouts/index.html
index beec319..5645053 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -28,9 +28,8 @@
       {{- .Content }}
     </div>
 		<h2>News</h2>
-		<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><a class="twitter" href="https://twitter.com/postgis?ref_src=postgis" rel="nofollow"> {{ partial "sprite" (dict "icon" "twitter") }} @postgis tweets</a></div>
+
 
 		<div id="posts" class="posts">
 			<ul style="list-style-type: none; padding-left: 0;">

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

Summary of changes:
 config/_default/configTaxo.toml | 6 +++---
 config/_default/params.toml     | 4 ++--
 layouts/index.html              | 5 ++---
 3 files changed, 7 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list