diff --git a/views.janet b/views.janet index bd8c242..24f5463 100644 --- a/views.janet +++ b/views.janet @@ -3,10 +3,16 @@ (defn as-html [h] (html/encode (html/doctype :html5) [:html h])) +# thanks to https://css-tricks.com/emojis-as-favicons/ +(def favicon + "data:image/svg+xml,🌌") + (defn html-head [data] [:head [:meta {:charset "utf-8"}] [:title (get-in data [:config :title])] + [:link {:rel "icon" + :href favicon}] [:style [``` body {