From 1a108aa3a9c435c26180b3bf94c16e4ca98fb9a4 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 25 Jul 2017 09:42:01 +0200 Subject: [PATCH] [web] Fixed index page. Fixed umlaut encoding and one math issue. --- .../thermo-mechanics/thermomechanics.md | 7 ++---- web/layouts/index.html | 23 ++++++++----------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/web/content/docs/benchmarks/thermo-mechanics/thermomechanics.md b/web/content/docs/benchmarks/thermo-mechanics/thermomechanics.md index d94fe9d0c29..3f88c19281b 100644 --- a/web/content/docs/benchmarks/thermo-mechanics/thermomechanics.md +++ b/web/content/docs/benchmarks/thermo-mechanics/thermomechanics.md @@ -31,9 +31,6 @@ $$ \end{equation} $$ -The relative error between the numerical simulation and the analytical solution is 9.2 $\cdot$ 10\uexp{-13}. - -Kolditz, Olaf, Uwe-Jens Görke, Hua Shao, and Wenqing Wang, eds. Thermo-hydro-mechanical-chemical processes in porous media: benchmarks and examples. Vol. 86. Springer Science & Business Media, 2012. - - +The relative error between the numerical simulation and the analytical solution is $9.2 \cdot 10^{-13}$. +Kolditz, Olaf, Uwe-Jens Görke, Hua Shao, and Wenqing Wang, eds. Thermo-hydro-mechanical-chemical processes in porous media: benchmarks and examples. Vol. 86. Springer Science & Business Media, 2012. diff --git a/web/layouts/index.html b/web/layouts/index.html index fbc8ea8ca68..54335808736 100644 --- a/web/layouts/index.html +++ b/web/layouts/index.html @@ -1,28 +1,23 @@ {{ define "main" }} - <div class="col-xs-12"> - <h2>docs</h1> + <div class="col-xs-4"> + <h2>Content</h2> <ul> - {{ range first 10 .Data.Pages }} - {{ if eq .Type "docs"}} + {{ range .Site.Sections }} <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> - {{ end }} {{ end }} - </ul> - - <h2>pages</h1> - <ul> {{ range .Data.Pages }} {{ if eq .Type "page" }} <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> {{ end }} {{ end }} - </ul> + <li><a href="/news">News</a></li> + </div> - <h2>Contentful</h2> - <ul> - <li><a href="/news">News</a></li> - </ul> + <div class="col-xs-8"> + <h1>Benchmark documentation site</h1> + <p>For the moment this site contains just the <a href="/docs/benchmarks">➥ benchmark documentation</a> for <a href="https://github.com/ufz/ogs6">OpenGeoSys-6</a>. + </p> </div> {{ end }} -- GitLab