[gimp-web-devel/hugo] content, themes: add Aboout and FAQ in a "footer" menu.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web-devel/hugo] content, themes: add Aboout and FAQ in a "footer" menu.
- Date: Tue, 9 Aug 2022 15:25:32 +0000 (UTC)
commit 15acec38cc2f8fe125825c12cc7337f51d8e839a
Author: Jehan <jehan girinstud io>
Date: Tue Aug 9 17:20:42 2022 +0200
content, themes: add Aboout and FAQ in a "footer" menu.
These should not be data for the main navigation.
Note that I'm not fond of the current footer design (we don't see a
difference between the footer menu contents and the GIMP website links
right now). But anyway, theme is meant to go and be replaced by
something modern.
content/about.md | 2 +-
content/faq.md | 2 +-
themes/hyde/layouts/_default/baseof.html | 10 +++++++++-
3 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/content/about.md b/content/about.md
index 84f415c..232823e 100644
--- a/content/about.md
+++ b/content/about.md
@@ -3,7 +3,7 @@ title = "About this Site"
description = "About this Site."
date = "2022-08-07"
author = "The GIMP Development Team"
-menu = "main"
+menu = "footer"
+++
This is the website for development of or with [GIMP](http://www.gimp.org/).
diff --git a/content/faq.md b/content/faq.md
index 679a62b..61a5eaa 100644
--- a/content/faq.md
+++ b/content/faq.md
@@ -3,7 +3,7 @@ title = "Frequently Asked Questions"
date = "2022-07-20"
abbrev = "Developer FAQ"
description = "New to GIMP Development?"
-menu = "main"
+menu = "footer"
weight = 3
+++
diff --git a/themes/hyde/layouts/_default/baseof.html b/themes/hyde/layouts/_default/baseof.html
index 8b9d986..7246ee6 100644
--- a/themes/hyde/layouts/_default/baseof.html
+++ b/themes/hyde/layouts/_default/baseof.html
@@ -24,7 +24,15 @@
</tr>
</table>
</div>
- <div class="linkbar"><a href="http://developer.gimp.org/">GIMP Developer Resources</a> | <a
href="http://www.gimp.org/">GIMP Website</a> | <a href="http://www.gegl.org/">GEGL Website</a></div>
+ <div class="linkbar">
+ {{ $currentPage := . }}
+ {{ range .Site.Menus.footer }}
+ <a href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a> |
+ {{ end }}
+ <a href="https://docs.gimp.org/">GIMP Documentation</a> |
+ <a href="https://www.gimp.org/">GIMP Website</a> |
+ <a href="https://www.gegl.org/">GEGL Website</a>
+ </div>
<div>
<span class="footerleft">
<span class="copyright">Copyright © 2003-2022 The GIMP Development Team. </span>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]