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

git at osgeo.org git at osgeo.org
Sat Feb 26 09:34:35 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  c7bb6b959c7ba02047f34410ab23e314fafba9d7 (commit)
      from  235edccce873ed9eba0776f2ba75e738abf9496a (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 c7bb6b959c7ba02047f34410ab23e314fafba9d7
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Feb 26 12:34:30 2022 -0500

    Add osgeo link

diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..eb85151
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,37 @@
+{{- $params := .Site.Params }}
+{{- $centerLogo := $params.centerLogo }}
+{{ $logo := $params.logo }}
+<header class="nav_header" >
+  <nav class="nav">
+    {{- if $centerLogo }}
+      {{- partialCached "logo" (dict "logo" $logo "class" "nav_hide") }}
+    {{- else }}
+      {{- partialCached "logo" (dict "logo" $logo) }}
+    {{- end }}
+    <div class='nav_body nav_body_{{ default "left" $params.mobileNavigation }}'>
+      {{ $context := . }}
+      {{ $menuData := .Site.Data.menu }}
+      {{ with $menuData }}
+        {{ partial "nav" (dict "context" $context "menu" $menuData) }}
+      {{- else }}
+        {{ partial "nav" (dict "context" . "menu" .Site.Menus.main) }}
+      {{- end }}
+      {{ if .Site.IsMultiLingual }}
+      <div class="nav_parent">
+        <a href="#" class="nav_item">{{ $params.languageMenuName }}</a>
+        <div class="nav_sub">
+          <span class="nav_child"></span>
+          {{ range .Site.Home.AllTranslations }}
+          <a href="{{ .Permalink }}" class="nav_child nav_item">{{ .Language.LanguageName }}</a>
+          {{ end }}
+        </div>
+      </div>
+      {{- end }}
+      {{- if $centerLogo }}
+        {{- partial "logo" (dict "logo" $logo "class" "nav_center") }}
+      {{- end }}
+			<a href="https://osgeo.org"><img src="/logos/logo-osgeo.svg" style="height:31px" /></a>
+      {{- partialCached "follow" . }}
+    </div>
+  </nav>
+</header>

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

Summary of changes:
 {themes/hugo-clarity/layouts => layouts}/partials/header.html | 1 +
 1 file changed, 1 insertion(+)
 copy {themes/hugo-clarity/layouts => layouts}/partials/header.html (93%)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list