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

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

    Put in our own logos

diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html
new file mode 100644
index 0000000..9f98325
--- /dev/null
+++ b/layouts/partials/favicon.html
@@ -0,0 +1,7 @@
+{{- $iconsDir := default "icons/" .Site.Params.iconsDir }}
+{{- $appleTouch := absURL (printf "%s%s" $iconsDir "stock_globe-32x31.png") }}
+{{- $favicon := absURL (printf "%s%s" $iconsDir "favicon.ico" ) }}
+{{- $manifest := absURL (printf "%s%s" $iconsDir "site.webmanifest" ) }}
+<link rel="apple-touch-icon" sizes="180x180" href="{{ $appleTouch }}">
+<link rel="icon" type="image/x-icon" sizes="32x32" href="{{ $favicon }}">
+<link rel="manifest" href="{{ $manifest }}">
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..5c18cb8
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,14 @@
+{{- $s := .Site.Params }}
+{{ $t := .Site.Title }}
+{{- if or .Params.enableMathNotation $s.enableMathNotation }}
+  {{ partialCached "math" . }}
+{{- end }}
+{{- $iconsDir := default "icons/" .Site.Params.iconsDir }}
+{{- $defaultFooterLogo := printf "%s%s" $iconsDir "stock_globe-32x31.png"}}
+<footer class="footer">
+  <div class="footer_inner wrap pale">
+    <img src='{{ absURL (default $defaultFooterLogo $s.footerLogo) }}' class="icon icon_2 transparent" alt="{{ $t }}">
+    <p>{{ T "copyright" }}{{ with $s.since }} {{ . }}-{{ end }} <span class="year"></span> {{ upper $t }}. {{ T "all_rights" }}</p>
+    {{- partialCached "top" .}}
+  </div>
+</footer>
diff --git a/static/icons/stock_globe-32x31.png b/static/icons/stock_globe-32x31.png
new file mode 100644
index 0000000..959cb85
Binary files /dev/null and b/static/icons/stock_globe-32x31.png differ
diff --git a/static/icons/stock_globe.png b/static/icons/stock_globe.png
new file mode 100644
index 0000000..21e428d
Binary files /dev/null and b/static/icons/stock_globe.png differ
diff --git a/static/logos/stock_globe-32x31.png b/static/logos/stock_globe-32x31.png
new file mode 100644
index 0000000..959cb85
Binary files /dev/null and b/static/logos/stock_globe-32x31.png differ

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

Summary of changes:
 .../layouts => layouts}/partials/favicon.html          |   6 +++---
 .../layouts => layouts}/partials/footer.html           |   2 +-
 static/icons/stock_globe-32x31.png                     | Bin 0 -> 2675 bytes
 static/icons/stock_globe.png                           | Bin 0 -> 173782 bytes
 static/logos/stock_globe-32x31.png                     | Bin 0 -> 2675 bytes
 5 files changed, 4 insertions(+), 4 deletions(-)
 copy {themes/hugo-clarity/layouts => layouts}/partials/favicon.html (52%)
 copy {themes/hugo-clarity/layouts => layouts}/partials/footer.html (88%)
 create mode 100644 static/icons/stock_globe-32x31.png
 create mode 100644 static/icons/stock_globe.png
 create mode 100644 static/logos/stock_globe-32x31.png


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list