Skip to content

Commit

Permalink
add new menu entry in downloads and the link to https://grass.osgeo.o…
Browse files Browse the repository at this point in the history
…rg/grass80/source/ in the first item of the Download page list
  • Loading branch information
veroandreo committed Feb 14, 2022
1 parent 978f634 commit 8d313bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,41 +52,47 @@ greyColorDark = "#A0A0A0"
name = "Download"
url = "/download"

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

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS for Linux"
URL = "/download/linux"
weight = 1
weight = 2

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS for Windows"
URL = "/download/windows"
weight = 2
weight = 3

[[Languages.en.menu.main]]
parent = "Download"
name = "GRASS GIS for Mac"
URL = "/download/mac"
weight = 3
weight = 4

[[Languages.en.menu.main]]
parent = "Download"
name = "Docker images"
URL = "/download/docker"
weight = 4
weight = 5

[[Languages.en.menu.main]]
parent = "Download"
name = "Addons"
URL = "/download/addons"
weight = 5
weight = 6

[[Languages.en.menu.main]]
parent = "Download"
name = "Sample data"
URL = "/download/data"
weight = 6
weight = 7

[[Languages.en.menu.main]]
weight = 3
Expand Down
2 changes: 1 addition & 1 deletion themes/grass/layouts/download/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2 class="section-title">Download your free and open source copy</h2>
<div class="col-4 text-center"><object type="image/svg+xml" data="{{.Site.BaseURL}}/images/logos/grasslogo.svg" class="grasslogo"></object></div>
<div class="col-8">
<h3 class="mt-20">GRASS GIS source code</h3>
<p>The GRASS GIS source code is available on <a href="https://github.com/OSGeo/grass" target="_blank"><i class="fa fa-github"></i> Github</a>, see all <a href="https://github.com/OSGeo/grass/tags">release tags and tarballs</a></p>
<p>The GRASS GIS source code is available on <a href="https://github.com/OSGeo/grass" target="_blank"><i class="fa fa-github"></i> Github</a>, see all release tags' <a href="https://github.com/OSGeo/grass/tags">zip and tarball files</a>. Alternatively, find the latest tarballs and snapshots at <a href="https://grass.osgeo.org/grass80/source/">https://grass.osgeo.org/grass80/source/</a>. Or, clone the repo:</p>
<p class="command d-none d-lg-block"><a href="https://github.com/OSGeo/grass"> $ git clone https://github.com/OSGeo/grass </a></p>
</div>
</div>
Expand Down

0 comments on commit 8d313bd

Please sign in to comment.