-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: add site title, author, and description to layouts (#41)
- Add site title, author, and description to layouts public-api for SEO and accessibility. - Update default layout - Update head partial - Make meta charset casing consistent with other attributes - Update metadata table - Add site-author, site-desc, and site-title - Add site-url - Add firn-tags data type - Alphabetize and format
- Loading branch information
Yosevu Kilonzo
authored
Oct 1, 2020
1 parent
77d896e
commit a2a6b40
Showing
5 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
(defn head | ||
[build-url] | ||
[{:keys [build-url site-title site-author site-desc]}] | ||
[:html | ||
[:head | ||
[:meta {:charset "UTF-8"}] | ||
[: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")}]]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters