Skip to content

Commit

Permalink
404 page: add a few more links (#344)
Browse files Browse the repository at this point in the history
* 404 page: add a few more links

Looking at recent matomo stats showed that users do not necessarily use the top menu to find stuff.
Hence addition of a few core links on the "404 page not found" page.

With this PR it looks like this:

* Update themes/grass/layouts/404.html

* Update themes/grass/layouts/404.html

Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
  • Loading branch information
neteler and veroandreo committed Dec 9, 2022
1 parent 5526502 commit dff7807
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions themes/grass/layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
<div class="row">
<div class="col-lg-8 text-center mx-auto">
<h1><a href="{{ "/" | relURL }}"><img alt="GRASS GIS" src="{{.Site.BaseURL}}/images/logos/grasslogo.svg" width="33%"></a></h1>
<div class="alert alert-warning"><h2 style="margin:10px;color:red;">Sorry, there's nothing here.<span style="display:block;margin:10px;font-size:.75em;"><a href="{{ "/" | relURL }}"><i class="fa fa-home"></i> home</a></h2></div>
<div class="alert alert-warning"><h2 style="margin:10px;color:red;">Sorry, there's nothing here.<span style="display:block;margin:10px;font-size:.75em;">
<a href="{{ "/" | relURL }}"><i class="fa fa-home"></i> home</a><br>
<a href="{{ "/learn/manuals/" | relURL }}"><i class="fa fa-file-text"></i> manuals</a><br>
<a href="{{ "/download/" | relURL }}"><i class="fa fa-download"></i> downloads</a>
</h2>
</div>
</div>
</div>
</div>
</header>

</header>
{{ partial "footer.html" . }}

0 comments on commit dff7807

Please sign in to comment.