diff options
author | Melpomene <christopher.kack@gmail.com> | 2017-01-21 10:03:09 +0300 |
---|---|---|
committer | Melpomene <christopher.kack@gmail.com> | 2017-01-21 10:15:12 +0300 |
commit | 7a12c21bf5b0fc44c73ec1f7beb0dc833139d9c5 (patch) | |
tree | 751a42899061ce571491c63a1a1a1e72b9192aa8 | |
parent | 282ffa61c2449e8fd6cda35c8b78e665ca0accf7 (diff) |
Making the Yay! headline configurable on the landing page
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 8d51ea5..526f8b4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ {{ partial "navigation" . }} </section> <main class="content" role="main" id="main-content"> - <h1>Yay!</h1> + <h1>{{ .Site.Params.indexHeadline | default "Yay!" }}</h1> {{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") 3 }} {{ range $paginator.Pages }} <article class="post post--preview"> @@ -31,4 +31,4 @@ {{ partial "footer" . }} {{ partial "js" . }} </body> -</html>
\ No newline at end of file +</html> |