Skip to content

Commit

Permalink
Merge pull request #284 from veroandreo/link-tarball
Browse files Browse the repository at this point in the history
Update Download section: use link to tags instead of releases, add alternative source for tarballs and snapshots and add a new submenu entry `GRASS GIS source code` pointing to https://github.com/OSGeo/grass/tags in the `Download` menu
  • Loading branch information
veroandreo committed Feb 14, 2022
2 parents 652b3b4 + 4bb8875 commit d099f70
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/releases">releases</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 <a href="https://github.com/OSGeo/grass/tags">source code archives</a> for releases (zip and tarball files). 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 d099f70

Please sign in to comment.