[postgis-tickets] [SCM] postgis.net branch website updated. clarity-final-14-g833eae4

git at osgeo.org git at osgeo.org
Tue May 16 16:35:29 PDT 2023


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, website has been updated
       via  833eae4f44607f9448091a3d4b1458b1fcc612aa (commit)
      from  1e606530716e55acd8490ca6d06b8d682014190c (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 833eae4f44607f9448091a3d4b1458b1fcc612aa
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue May 16 16:35:24 2023 -0700

    Remove Navigation tree header

diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
new file mode 100644
index 0000000..2f56477
--- /dev/null
+++ b/layouts/partials/menu.html
@@ -0,0 +1,44 @@
+<nav>
+  {{ partial "search" . }}
+
+
+  <section class="gdoc-nav--main">
+    <!-- <h2>{{ i18n "nav_navigation" }}</h2> -->
+    {{ if .Site.Params.GeekdocMenuBundle }}
+      {{ partial "menu-bundle" (dict "current" . "source" .Site.Data.menu.main.main) }}
+    {{ else }}
+      {{ partial "menu-filetree" . }}
+    {{ end }}
+  </section>
+
+  {{ if and (in (slice "posts" "tags") .Section) (default false .Site.Params.GeekdocTagsToMenu) }}
+    <section class="gdoc-nav--tags">
+      <h2>{{ i18n "nav_tags" }}</h2>
+      <ul class="gdoc-nav__list">
+        {{ $currentPage := .RelPermalink }}
+        {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
+          {{ with $.Site.GetPage (printf "/tags/%s" $name) }}
+            <li>
+              <a
+                class="gdoc-nav__entry{{- if eq $currentPage .RelPermalink }}
+                  {{- printf " is-active" }}
+                {{- end }}"
+                href="{{ .RelPermalink }}"
+              >
+                {{ partial "utils/title" . }}
+              </a>
+            </li>
+          {{ end }}
+        {{ end }}
+      </ul>
+    </section>
+  {{ end }}
+
+
+  <section class="gdoc-nav--more">
+    {{ if .Site.Data.menu.more.more }}
+      <h2>{{ i18n "nav_more" }}</h2>
+      {{ partial "menu-bundle" (dict "current" . "source" .Site.Data.menu.more.more) }}
+    {{ end }}
+  </section>
+</nav>

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

Summary of changes:
 {themes/hugo-geekdoc/layouts => layouts}/partials/menu.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 copy {themes/hugo-geekdoc/layouts => layouts}/partials/menu.html (96%)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list