Commit d4e2591e authored by Masaya Tojo's avatar Masaya Tojo
Browse files

Support for favicon

parent 32793c0d
......@@ -52,9 +52,19 @@
(prefix "og: http://ogp.me/ns#"))
(meta (@ (charset "utf-8")))
(link (@ (rel "stylesheet") (href "/static/css/blog.css")))
(link (@ (rel "icon") (type "image/png") (href "/static/image/QK-16x16.png") (sizes "16x16")))
(link (@ (rel "icon") (type "image/png") (href "/static/image/QK-32x32.png") (sizes "32x32")))
(link (@ (rel "icon") (type "image/png") (href "/static/image/QK-16x16.png") (sizes "16x16")))
,@(map
(lambda (pxp)
`(link (@ (rel "icon")
(type "image/png")
(href ,(string-append "/static/image/QK-" pxp ".png"))
(sizes pxp))))
(list "16x16" "32x32" "96x96"))
,@(map
(lambda (pxp)
`(link (@ (rel "apple-touch-icon")
(href ,(string-append "/static/image/QK-" pxp ".png"))
(sizes ,pxp))))
(list "57x57" "60x60" "72x72" "76x76" "114x114" "152x152" "180x180"))
(meta (@ (property "og:title") (content ,(assoc-ref og 'title))))
(meta (@ (property "og:type") (content ,(assoc-ref og 'type))))
(meta (@ (property "og:url") (content ,(assoc-ref og 'url))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment