Provide CSS template from the website itself

This commit is contained in:
2024-10-01 22:08:14 +02:00
parent 0c2ffb4311
commit 6f4e386e72
4 changed files with 493 additions and 77 deletions
+22 -24
View File
@@ -1,27 +1,25 @@
(html :lang 'en
(head
(meta :charset 'utf-8)
(meta :name 'description
:content "Raymon typing nonsense on his blog")
(meta :name 'viewport :content "width=device-width, initial-scale=1.0")
(title "Raymon Zutekouw")
(head
(meta :charset 'utf-8)
(meta :name 'description
:content "Raymon typing nonsense on his blog")
(meta :name 'viewport :content "width=device-width, initial-scale=1.0")
(title "Raymon Zutekouw")
(link :rel 'dns-prefetch :href "https://cdn.statically.io")
(link :defer '
:rel 'stylesheet
:href "https://cdn.statically.io/gh/dragonprojects/dragondesign/master/main.min.css"
:media 'all)
(link :defer '
:rel 'stylesheet
:href "/css/general.css"
:media 'all))
(body
(main
(nav
(a :href "/" "Home") "|"
(a :href "/posts" "Posts")
(article
(header
(link :defer '
:rel 'stylesheet
:href "/css/template.css"
:media 'all)
(link :defer '
:rel 'stylesheet
:href "/css/general.css"
:media 'all))
(body
(main
(nav
(a :href "/" "Home") "|"
(a :href "/posts" "Posts"))
(article
(header
(h1 "Post listing"))
"{{index}}"))))
"{{index}}"))))
+23 -25
View File
@@ -1,30 +1,28 @@
(html :lang 'en
(head
(meta :charset 'utf-8)
(meta :name 'description
:content "Raymon typing nonsense on his blog")
(meta :name 'viewport :content "width=device-width, initial-scale=1.0")
(title "{{title}} :: Raymon Zutekouw")
(head
(meta :charset 'utf-8)
(meta :name 'description
:content "Raymon typing nonsense on his blog")
(meta :name 'viewport :content "width=device-width, initial-scale=1.0")
(title "{{title}} :: Raymon Zutekouw")
(link :rel 'dns-prefetch :href "https://cdn.statically.io")
(link :defer '
:rel 'stylesheet
:href "https://cdn.statically.io/gh/dragonprojects/dragondesign/master/main.min.css"
:media 'all)
(link :defer '
:rel 'stylesheet
:href "/css/general.css"
:media 'all))
(body
(main
(nav
(a :href "/" "Home") "|"
(a :href "/posts" "Posts")
(article
(header
(link :defer '
:rel 'stylesheet
:href "/css/template.css"
:media 'all)
(link :defer '
:rel 'stylesheet
:href "/css/general.css"
:media 'all))
(body
(main
(nav
(a :href "/" "Home") "|"
(a :href "/posts" "Posts"))
(article
(header
(h1 "{{title}}")
(p (strong "For those using a RSS reader, subscribe here: ")
(a :href "/posts/rss.xml" "rss.xml")))
(time :datetime "{{date}}")
"{{content}}"))))
(time :datetime "{{date}}")
"{{content}}"))))