diff options
author | max.mehl <max.mehl@fsfe.org> | 2021-08-29 18:06:15 +0300 |
---|---|---|
committer | max.mehl <max.mehl@fsfe.org> | 2021-08-29 18:06:15 +0300 |
commit | b1a3b436679ad8ec464071a9154256dfdc260cbf (patch) | |
tree | 374706d54fffe9d7a828e98db8646cd402a827e7 | |
parent | 4deb8681a9c1a5b3ad2e0b49a58da5acbe0b2ee7 (diff) |
display title on index page
-rw-r--r-- | layouts/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index c98cf58..911e1a5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,10 @@ {{ define "main" }} <main class="main list" role="main"> + {{- with .Title }} + <header class="main__header"> + <h1 class="main__title">{{ . }}</h1> + </header> + {{- end }} {{- with .Content }} <div class="content main__content clearfix"> {{ . }} |