diff --git a/web/config.toml b/web/config.toml index 1f5efdf95d6de90bf18d7979b2b28ac561d90944..cfd9771934d876ef865196cfe733b575572a02a0 100644 --- a/web/config.toml +++ b/web/config.toml @@ -28,6 +28,11 @@ disableKinds = ["taxonomyTerm"] url = "/docs/" identifier = "docs" weight = 4 +[[menu.main]] + name = "Publications" + url = "/publications/" + identifier = "publications" + weight = 5 # Devguide sidebar menu top-level categories [[menu.devguide]] diff --git a/web/content/_index.pandoc b/web/content/_index.pandoc index 4b1512d2f1c099f0e74d40351175041c3f374a01..1d75644e43f54e1cc09a4168e7d1aee717b190c0 100644 --- a/web/content/_index.pandoc +++ b/web/content/_index.pandoc @@ -138,7 +138,3 @@ features: layout: vertical class: inverse --- - -OpenGeoSys (OGS) is a scientific [open source project](https://github.com/ufz/ogs) for the development of numerical methods for the simulation of thermo-hydro-mechanical-chemical (THMC) processes in porous and fractured media. OGS is implemented in C++, it is object-oriented with an focus on the numerical solution of coupled multi-field problems (multi-physics). Parallel versions of OGS are available relying on both MPI and OpenMP concepts. Application areas of OGS are currently $CO_2$ sequestration, geothermal energy, water resources management, hydrology and waste deposition. OGS is comprised of the THMC-simulator (simply referred to as *OGS*) and a visualization tool (*Data Explorer*). - -OGS is developed by the *OpenGeoSys Community*. diff --git a/web/content/docs/_index.pandoc b/web/content/docs/_index.pandoc index 343a2c0530fd4a40b143a8712382a16524abbaf3..4ffe8a3d0b74154906901715b85416ab92c8b53e 100644 --- a/web/content/docs/_index.pandoc +++ b/web/content/docs/_index.pandoc @@ -48,7 +48,7 @@ icon = "far fa-file-check" <h1 class="sm:text-3xl text-2xl font-medium title-font mb-2 text-gray-900">OpenGeoSys documentation overview</h1> <p class="lg:w-1/2 w-full leading-relaxed text-base">If you find OpenGeoSys useful for your research please cite us!</p> -<div class="bg-gray-300 rounded-lg pt-3"> +<div class="bg-gray-300 rounded-lg pt-3 px-3"> {{< bib "kolditz2012" >}} </div> diff --git a/web/content/publications/_index.pandoc b/web/content/publications/_index.pandoc new file mode 100644 index 0000000000000000000000000000000000000000..a0986d795ec7cc20981c1925c93ec7a5018ee262 --- /dev/null +++ b/web/content/publications/_index.pandoc @@ -0,0 +1,5 @@ ++++ +title = "Publications" ++++ + +<p class="lg:w-1/2 w-full leading-relaxed text-base">If you find OpenGeoSys useful for your research please cite us!</p> diff --git a/web/layouts/section/docs.html b/web/layouts/section/docs.html index 45de7c83ddeb30f7b0fbd76c5d1af04841031bad..19aefe3d0df5984bb5507a3d76cfac2423148daa 100644 --- a/web/layouts/section/docs.html +++ b/web/layouts/section/docs.html @@ -22,7 +22,7 @@ {{ .name }} {{ $url_first_char := substr .url 0 1 }} {{ if not (eq $url_first_char "/") }} - <i class="text-xs align-top far fa-external-link"></i> + <i class="far fa-external-link text-xs align-top"></i> {{ end }} </a> </h2> @@ -31,23 +31,6 @@ </div> {{ end }} </div> - - <div class="flex flex-wrap"> - {{ range .Params.sections }} - <div class="w-full sm:w-1/2 lg:w-1/3 p-3 my-3"> - <h2 class="mb-2 text-center text-base md:text-lg lg:text-xl xl:text-2xl"> - <a href="{{ .url }}"> - {{ .name }} - {{ $url_first_char := substr .url 0 1 }} - {{ if not (eq $url_first_char "/") }} - <i class="text-xs align-top far fa-external-link"></i> - {{ end }} - </a> - </h2> - <p>{{ .text }}</p> - </div> - {{ end }} - </div> {{ end }} </div> {{ end }} diff --git a/web/layouts/section/publications.html b/web/layouts/section/publications.html new file mode 100644 index 0000000000000000000000000000000000000000..889ca7080473db98f33080d50bcb7e6a20f555c9 --- /dev/null +++ b/web/layouts/section/publications.html @@ -0,0 +1,50 @@ +{{ define "main" }} + + <div class="container mx-auto"> + <h1>{{ .Title }}</h1> + {{ .Content }} + {{ range sort .Site.Data.bib_ogs.entries "year" "desc" }} + <div class="bg-gray-200 rounded-lg"> + <div class="my-4 mx-4"> + <div class="py-2 flex flex-wrap md:flex-no-wrap"> + <div class="md:w-64 md:mb-0 mb-6 flex-shrink-0 flex flex-col"> + <span class="tracking-widest font-medium title-font text-gray-900"> + {{ .category }} + </span> + <span class="mt-1 text-gray-500 text-sm"> + {{ .year }} + </span> + </div> + <div class="md:flex-grow"> + <h4 class="text-xl font-medium text-gray-900 title-font mt-0 mb-2"><i>{{ .title | safeHTML }}</i></h4> + <p> + {{ $len := (len .author) }} + {{ range $index, $element := .author }} + {{ $element.last }}, {{ $element.first}} {{ if ne (add $index 1) $len }}and{{ end }} + {{ end }} + </p> + <p style="line-height: 0.5em;"> + {{ if isset . "journal" }}{{ .journal }},{{ end }} + {{ if isset . "issue" }}Issue {{ .issue }},{{ end }} + {{ if isset . "volume" }}vol. {{ .volume }},{{ end }} + {{ if isset . "pages" }}p. {{ .pages }},{{ end }} + {{ if isset . "isbn" }}ISBN: {{ .isbn }},{{ end }} + {{ if isset . "publisher" }}{{ .publisher }},{{ end }} + {{ if isset . "doi" }} + DOI:<a href="https://doi.org/{{ .doi }}" class="text-indigo-500 inline-flex items-center mt-4"> + {{ .doi }} <i class="far fa-external-link text-xs align-top"></i> + </a> + {{ end }} + {{ if isset . "url" }} + <a href="{{ .url }}" class="text-indigo-500 inline-flex items-center mt-4"> + {{ .url }} <i class="far fa-external-link text-xs align-top"></i> + </a> + {{ end }} + </p> + </div> + </div> + </div> + </div> + {{ end }} + </div> +{{ end }}