about summary refs log tree commit diff
path: root/users/fcuny/notes/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-04-22 12:44:27 -0700
committerFranck Cuny <franck@fcuny.net>2021-04-22 12:44:27 -0700
commit86c8d29cec41f663d1a4abd155e8b7a13ad0c533 (patch)
treea6e2de356738f7a0f2e911419bf11e9873b42981 /users/fcuny/notes/layouts/_default/baseof.html
parenttoml: re-configure markup (diff)
downloadworld-86c8d29cec41f663d1a4abd155e8b7a13ad0c533.tar.gz
layout: add a navbar
I want to differentiate blog's entries from more general notes. For
this, we create two menu entries, and add a navbar at the top.

The nav bar let us select between the two kind of articles: blogs or
notes. For now we have a single blog entry, and no notes.

The page to list entries is simplified: we use the same layout for all
lists (tags, notes, blogs).

The CSS is updated to support the new nav bar.
Diffstat (limited to '')
-rw-r--r--users/fcuny/notes/layouts/_default/baseof.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/fcuny/notes/layouts/_default/baseof.html b/users/fcuny/notes/layouts/_default/baseof.html
index d9ca51a..3fd7011 100644
--- a/users/fcuny/notes/layouts/_default/baseof.html
+++ b/users/fcuny/notes/layouts/_default/baseof.html
@@ -3,6 +3,7 @@
   {{ partial "head.html" . }}
   <body>
     <div class="main">
+      {{- partial "header.html" . -}}
       <main>
        {{ block "main" . }}{{ end }}
       </main>