diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-04-22 12:44:27 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2021-04-22 12:44:27 -0700 |
| commit | fedc092d3229ac87b11f8f22b7d7e170e9bc2e88 (patch) | |
| tree | 2aef7e597b280e864d64ae0dff01c796b26683d8 /layouts/index.html | |
| parent | toml: re-configure markup (diff) | |
| download | fcuny.net-fedc092d3229ac87b11f8f22b7d7e170e9bc2e88.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 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/layouts/index.html b/layouts/index.html index 450444b..f7581ff 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,12 +11,4 @@ <p>I'm currently working as a <a href="https://twitter.com/twittersre">Site Reliability Engineer</a> at Twitter, on the Compute team.</p> - <h2>Notes</h2> - {{ $section := "notes" }} - <ul> - {{ range (where .Site.RegularPages.ByTitle "Section" $section ) }} - <li><a href="{{ .Permalink }}">{{ .Params.title | humanize | title }} ({{ .Date.Format "2006-01-02" }})</a></li> - {{ end }} - </ul> - {{ end }} |
