diff options
author | siegerts <stephen.siegert@gmail.com> | 2019-02-11 01:24:17 +0300 |
---|---|---|
committer | siegerts <stephen.siegert@gmail.com> | 2019-02-11 01:24:17 +0300 |
commit | 84246e6bb8a737e03c45813a050af8ef6acc8fac (patch) | |
tree | ba024c05a4cf3ce14c939ed883f88d621f329d51 | |
parent | 88dd2549371754a2abcd3f6314016dec9ea8585b (diff) |
automate memu item list
-rw-r--r-- | layouts/index.html | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/layouts/index.html b/layouts/index.html index d437952..da1f073 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -27,19 +27,18 @@ > <section id="main"> <div> - <h1 id="title" class="f3 pl3">{{.Site.Title}} ☕ 🐶</h1> - <ul> + <h1 id="title" class="f3"> + {{.Site.Title}} {{ .Site.Params.TitleEmoji }} + </h1> + <ul class="list pl0"> + <!-- pages --> + <!-- prettier-ignore --> + {{ range.Site.Params.menu }} <li class="b mv3"> - <a class="f3 b pa1 black" href="/blog">blog</a> - </li> - <li class="b mv3"> - <a class="f3 b pa black " href="https://github.com/siegerts" - >github</a - > - </li> - <li class="b mv3"> - <a class="f3 b black" href="https://gitlab.com/siegerts">gitlab</a> + <a class="f3 b pa1 black" href="{{ .url }}">{{ .name }}</a> </li> + <!-- prettier-ignore --> + {{ end }} </ul> </div> </section> |