Skip to content

Commit

Permalink
[web] Docs 3-column layout, move ogstools link.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Dec 9, 2024
1 parent 622bd01 commit f2ae30e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions web/config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ category = "Developer"
name = "Python tools"
url = "https://ogstools.opengeosys.org/stable/"
post = "<em>ogstools</em> is a collection of Python tools aimed at evolving into a modeling toolchain around OpenGeoSys."
weight = 4
[menu.docs.params]
category = "User"

Expand Down
3 changes: 1 addition & 2 deletions web/layouts/docs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ <h2>{{ . }}</h2>
</div>
<div class="flex flex-wrap -m-4 p-4">

{{ $num_entries := (where $.Site.Menus.docs "Params.category" .) | len }}
{{ range where $.Site.Menus.docs "Params.category" . }}
<div class="xl:w-1/{{$num_entries}} md:w-1/2 mt-2 px-4 py-2 md:p-4">
<div class="xl:w-1/3 md:w-1/2 mt-2 px-4 py-2 md:p-4">
<a href="{{ .URL }}">
<div class="p-4 bg-gray-100 hover:bg-white rounded-lg shadow h-full">
<h3 class="text-xl mb-2 border-b text-blue-800">
Expand Down

0 comments on commit f2ae30e

Please sign in to comment.