Skip to content

Commit

Permalink
Fix: Fix head-partial #54
Browse files Browse the repository at this point in the history
- mistakenly overwrote this work in a rebase. Thanks @eval
  • Loading branch information
teesloane committed Apr 30, 2021
1 parent ab20264 commit 3f9b316
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions clojure/resources/firn/_firn_starter/pages/tags.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(defn tags
[{:keys [build-url render partials]}]
[{:keys [render partials] :as config}]
(let [{:keys [head]} partials]
[:html
(head build-url)
(head config)
[:body
[:main
[:article.def-wrapper
Expand Down
15 changes: 7 additions & 8 deletions clojure/resources/firn/_firn_starter/partials/head.clj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
(defn head
[{:keys [build-url site-title site-author site-desc]}]
[:html
[:head
[:meta {:charset "utf-8"}]
[:meta {:name "viewport" :content "width=device-width, initial-scale=1.0"}]
[:meta {:name "author" :content site-author}]
[:meta {:name "description" :content site-desc}]
[:title site-title]
[:link {:rel "stylesheet" :href (build-url "/static/css/firn_base.css")}]]])
[:head
[:meta {:charset "utf-8"}]
[:meta {:name "viewport" :content "width=device-width, initial-scale=1.0"}]
[:meta {:name "author" :content site-author}]
[:meta {:name "description" :content site-desc}]
[:title site-title]
[:link {:rel "stylesheet" :href (build-url "/static/css/firn_base.css")}]])

0 comments on commit 3f9b316

Please sign in to comment.