Skip to content

Commit

Permalink
Rename sidebar to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
andersmurphy committed Mar 12, 2024
1 parent 6d25d3f commit bd250e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ style-src 'self' 'unsafe-inline'
{:name "description"
:content "A blog mostly about programming."}]])

(def sidebar
(def navbar
[:nav.nav-sticky-top.container-fluid
[:ul
[:li
Expand All @@ -147,7 +147,7 @@ style-src 'self' 'unsafe-inline'
:src (str site-url "assets/avatar.png")
:alt "portrait"}]
[:h1 {:style {:margin-bottom 0}} site-title]
[:a {:href site-url}]]]]
[:a {:href site-url}]]]]
[:ul
[:li [:a.contrast.no-chaos
{:href site-github
Expand Down Expand Up @@ -196,7 +196,7 @@ style-src 'self' 'unsafe-inline'
[{:keys [post-name post-content date] :as m}]
(->> (html [:html html-props
(head post-name)
[:body sidebar
[:body navbar
[:main.container
[:article
[:hgroup
Expand All @@ -215,7 +215,7 @@ style-src 'self' 'unsafe-inline'
(html
[:html html-props
(head site-title)
[:body sidebar
[:body navbar
[:main.container
[:div
(map
Expand All @@ -239,7 +239,7 @@ style-src 'self' 'unsafe-inline'
(html
[:html html-props
(head site-title)
[:body sidebar
[:body navbar
[:main.container
[:article
[:h1 "404: Page not found"]
Expand Down

0 comments on commit bd250e5

Please sign in to comment.