Skip to content

Commit

Permalink
nav: Restructuring of nav layout and pages (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhite911 authored Mar 29, 2024
1 parent a0f9f68 commit 0b2a8a7
Show file tree
Hide file tree
Showing 51 changed files with 1,064 additions and 124 deletions.
205 changes: 86 additions & 119 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,181 +60,148 @@ greyColorDark = "#A0A0A0"

[[Languages.en.menu.main]]
weight = 1
name = "News"
URL = "/news"

[[Languages.en.menu.main]]
weight = 2
name = "Download"
url = "/download"
name = "About Us"
hasChildren = true

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS source code"
URL = "https://github.com/OSGeo/grass/tags"
parent = "About Us"
name = "What is GRASS GIS"
URL = "/about/overview"
weight = 1

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS for Linux"
URL = "/download/linux"
[[Languages.en.menu.main]]
parent = "About Us"
name = "Team"
URL = "/about/team"
weight = 2

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS for Windows"
URL = "/download/windows"
[[Languages.en.menu.main]]
parent = "About Us"
name = "Our Sponsors"
URL = "/about/sponsors"
weight = 3

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS for Mac"
URL = "/download/mac"
[[Languages.en.menu.main]]
parent = "About Us"
name = "Project Road Map"
URL = "/about/roadmap"
weight = 4

[[Languages.en.menu.main]]
parent = "Download"
name = "Docker images"
URL = "/download/docker"
[[Languages.en.menu.main]]
parent = "About Us"
name = "Governance"
URL = "/about/governance"
weight = 5

[[Languages.en.menu.main]]
parent = "Download"
name = "Addons"
URL = "/download/addons"
parent = "About Us"
name = "History"
URL = "/about/history"
weight = 6

[[Languages.en.menu.main]]
parent = "Download"
name = "Sample data"
URL = "/download/data"
[[Languages.en.menu.main]]
parent = "About Us"
name = "Blog"
URL = "/about/blog"
weight = 7


[[Languages.en.menu.main]]
parent = "About Us"
name = "Citation"
URL = "/about/citation"
weight = 8

[[Languages.en.menu.main]]
parent = "About Us"
name = "License"
URL = "/about/license"
weight = 9

[[Languages.en.menu.main]]
weight = 3
name = "Learn"
url = "/learn"
weight = 2
name = "Getting Started"
hasChildren = true

[[Languages.en.menu.main]]
parent = "Learn"
name = "General overview"
URL = "/learn/overview"
parent = "Getting Started"
name = "Download"
URL = "/learn/download"
weight = 1

[[Languages.en.menu.main]]
parent = "Learn"
name = "First time users"
URL = "/learn/newcomers"
parent = "Getting Started"
name = "Installation"
URL = "/learn/installation"
weight = 2

[[Languages.en.menu.main]]
parent = "Learn"
name = "Manuals"
URL = "/learn/manuals"
weight = 3
parent = "Getting Started"
name = "First time users"
URL = "/learn/newcomers"
weight = 3

[[Languages.en.menu.main]]
parent = "Learn"
parent = "Getting Started"
name = "Tutorials"
URL = "/learn/tutorials"
weight = 4
weight = 4

[[Languages.en.menu.main]]
parent = "Learn"
name = "Gallery"
URL = "/learn/gallery"
weight = 5

[[Languages.en.menu.main]]
parent = "Learn"
name = "Books"
URL = "/learn/books"
weight = 6

[[Languages.en.menu.main]]
parent = "Learn"
name = "Try online"
URL = "/learn/tryonline"
weight = 7
[[Languages.en.menu.main]]
weight = 3
name = "Get Involved"
url = "/contribute"

[[Languages.en.menu.main]]
weight = 4
name = "Support"
url = "/support"
name = "Documentation"
url = "/documentation"

[[Languages.en.menu.main]]
weight = 5
name = "Get Support"
hasChildren = true

[[Languages.en.menu.main]]
parent = "Support"
parent = "Get Support"
name = "Community"
URL = "/support/community"
weight = 1

[[Languages.en.menu.main]]
parent = "Support"
name = "Commercial Support"
parent = "Get Support"
name = "Commercial"
URL = "/support/commercial"
weight = 2

[[Languages.en.menu.main]]
weight = 5
name = "Contribute"
url = "/contribute"
hasChildren = true
weight = 2

[[Languages.en.menu.main]]
parent = "Contribute"
name = "Development"
URL = "/contribute/development"
weight = 1
parent = "Get Support"
name = "Mentorship Program"
URL = "/support/mentorship"
weight = 3

[[Languages.en.menu.main]]
parent = "Contribute"
name = "Sponsoring"
URL = "/contribute/sponsoring"
weight = 2

[[Languages.en.menu.main]]
parent = "Contribute"
name = "Sponsors"
URL = "https://grasswiki.osgeo.org/wiki/Sponsors"
parent = "Get Support"
name = "Books"
URL = "/support/books"
weight = 4

[[Languages.en.menu.main]]
weight = 6
name = "About"
url = "/about"
name = "Sponsor Us"
hasChildren = true

[[Languages.en.menu.main]]
parent = "About"
name = "Citation"
URL = "/about/citation"
weight = 1

[[Languages.en.menu.main]]
parent = "About"
name = "License"
URL = "/about/license"
parent = "Sponsor Us"
name = "Donate"
URL = "/sponsor/donate"
weight = 1

[[Languages.en.menu.main]]
parent = "About"
name = "History"
URL = "/about/history"
parent = "Sponsor Us"
name = "Corporate Sponsors"
URL = "/sponsor/corporate"
weight = 2

[[Languages.en.menu.main]]
parent = "About"
name = "Brand"
URL = "/about/brand"
weight = 3

[[Languages.en.menu.main]]
parent = "About"
name = "Credits"
URL = "/about/credits"
weight = 4

# banner
[Languages.en.params.banner]
title = "GRASS GIS"
Expand Down Expand Up @@ -272,4 +239,4 @@ greyColorDark = "#A0A0A0"

[[Languages.en.socialIcon]]
icon = "fa fa-rss"
link = "https://grass.osgeo.org/index.xml"
link = "https://grass.osgeo.org/index.xml"
7 changes: 7 additions & 0 deletions content/about/blog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Blog"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## Blog
7 changes: 7 additions & 0 deletions content/about/governance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Governance"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## Governance
1 change: 1 addition & 0 deletions content/learn/overview.md → content/about/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "What is GRASS GIS?"
date: 2022-04-25T10:12:05+02:00
layout: "overview"
aliases: [/learn/overview]
---

<div class="container">
Expand Down
7 changes: 7 additions & 0 deletions content/about/roadmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Project Roadmap"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## Project Roadmap
7 changes: 7 additions & 0 deletions content/about/sponsors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Our Sponsors"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## Our Sponsors
5 changes: 5 additions & 0 deletions content/about/team.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Team"
date: 2024-03-13T05:05:05+05:00
layout: "team"
---
8 changes: 8 additions & 0 deletions content/documentation/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Documentation"
date: 2024-03-13T05:05:05+05:00
icon: "fa fa-documentation"
description: "GRASS GIS documentation"
type : "pages"
weight: 1
---
7 changes: 7 additions & 0 deletions content/documentation/brand.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Brand"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## Brand
7 changes: 7 additions & 0 deletions content/documentation/c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "C API"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## C API
7 changes: 7 additions & 0 deletions content/documentation/jupyter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Jupyter API"
date: 2024-03-13T05:05:05+05:00
layout: "general"
---

## Jupyter API
8 changes: 8 additions & 0 deletions content/documentation/python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Python API"
date: 2024-03-13T05:05:05+05:00
icon: "python"
layout: "general"
---

## Python API
4 changes: 2 additions & 2 deletions content/download/windows.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Standalone installer: install GRASS GIS with the required support packages.


* {{< donateDialog isToggle=true >}}
<a href="/grass{{< currentVersionNoDots.inline >}}{{- .Site.Data.grass.current_version_nodots -}}{{</currentVersionNoDots.inline >}}/binary/mswindows/native/WinGRASS-{{< currentVersion.inline />}}-3-Setup.exe" target="blank">
<a href="/grass{{< currentVersionNoDots.inline >}}{{- .Site.Data.grass.current_version_nodots -}}{{</currentVersionNoDots.inline >}}/binary/mswindows/native/WinGRASS-{{< currentVersion.inline />}}-1-Setup.exe" target="blank">
<i class="fa fa-download"></i> Download 64bit
</a>
{{< /donateDialog >}}
Expand Down Expand Up @@ -120,4 +120,4 @@ In order to have GRASS GIS support (also in QGIS-Processing) you need to install


{{< donateDialog >}}
{{< /donateDialog >}}
{{< /donateDialog >}}
1 change: 1 addition & 0 deletions content/learn/books.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "GRASS GIS books"
date: 2020-04-29T11:02:05+06:00
layout: "books"
aliases: [/learn/books]
---

| | |
Expand Down
7 changes: 7 additions & 0 deletions content/learn/download.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Download"
date: 2022-08-15T11:02:05+02:00
description: "Download GRASS GIS"
weight: 1
layout: "os"
---
Loading

0 comments on commit 0b2a8a7

Please sign in to comment.