diff --git a/www-zola/config.toml b/www-zola/config.toml index de47a3f2..7dc7c9af 100644 --- a/www-zola/config.toml +++ b/www-zola/config.toml @@ -4,6 +4,7 @@ theme = "htmx-theme" compile_sass = false build_search_index = false +generate_feed = true taxonomies = [ { name = "tag", render = false, feed = true } @@ -11,7 +12,7 @@ taxonomies = [ [markdown] highlight_code = true -highlight_theme = "visual-studio-dark" +highlight_theme = "two-dark" external_links_target_blank = true smart_punctuation = true @@ -20,3 +21,18 @@ paths_keep_dates = true [extra] # Put all your custom variables here + +## Candidate code highlighting schemes: +# 1337 +# ayu-mirage +# boron +# charcoal +# material-dark +# monokai + +# subway-madrid +# subway-moscow +# Tomorrow +# two-dark +# visual-studio-dark +# zenburn \ No newline at end of file diff --git a/www-zola/content/attributes/_index.md b/www-zola/content/attributes/_index.md new file mode 100644 index 00000000..4e9c188a --- /dev/null +++ b/www-zola/content/attributes/_index.md @@ -0,0 +1,3 @@ ++++ +# There is no /attributes URL; this file exists to define a Zola section for this directory ++++ diff --git a/www-zola/content/essays/a-real-world-react-to-htmx-port.md b/www-zola/content/essays/a-real-world-react-to-htmx-port.md index 9789932b..09a7f937 100644 --- a/www-zola/content/essays/a-real-world-react-to-htmx-port.md +++ b/www-zola/content/essays/a-real-world-react-to-htmx-port.md @@ -1,5 +1,7 @@ +++ title = "A Real World React -> htmx Port" +date = 2022-09-29 +updated = 2022-10-15 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/a-response-to-rich-harris.md b/www-zola/content/essays/a-response-to-rich-harris.md index 51c690bb..0aa4480d 100644 --- a/www-zola/content/essays/a-response-to-rich-harris.md +++ b/www-zola/content/essays/a-response-to-rich-harris.md @@ -1,5 +1,7 @@ +++ title = "A Response To "Have Single-Page Apps Ruined the Web?"" +date = 2021-12-24 +updated = 2022-05-27 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/complexity-budget.md b/www-zola/content/essays/complexity-budget.md index 5cc09959..5083dc9c 100644 --- a/www-zola/content/essays/complexity-budget.md +++ b/www-zola/content/essays/complexity-budget.md @@ -1,5 +1,7 @@ +++ title = "Complexity Budget" +date = 2020-10-29 +updated = 2022-02-06 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/hateoas.md b/www-zola/content/essays/hateoas.md index e3f0dc4e..45457e8a 100644 --- a/www-zola/content/essays/hateoas.md +++ b/www-zola/content/essays/hateoas.md @@ -1,5 +1,7 @@ +++ title = "HATEOAS" +date = 2021-10-16 +updated = 2022-02-06 [taxonomies] tag = ["posts"] [extra] @@ -240,27 +242,6 @@ necessity for building RESTful systems. letter-spacing: 0; } - .content pre, .content code { - background: none; - padding: none; - color: black; - text-shadow: none; - font-weight: inherit; - } - - .content code { - filter: brightness(.8); - } - - .content pre { - padding: 0 1em; - scrollbar-width: thin; - scrollbar-color: #aaa transparent; - background: #f5f5f5; - margin: 16px 32px !important; - border-radius: 0; - } - .content a { font-variant: all-small-caps; letter-spacing: .08em; diff --git a/www-zola/content/essays/how-did-rest-come-to-mean-the-opposite-of-rest.md b/www-zola/content/essays/how-did-rest-come-to-mean-the-opposite-of-rest.md index e204c8f8..9750f213 100644 --- a/www-zola/content/essays/how-did-rest-come-to-mean-the-opposite-of-rest.md +++ b/www-zola/content/essays/how-did-rest-come-to-mean-the-opposite-of-rest.md @@ -2,6 +2,7 @@ title = "How Did REST Come To Mean The Opposite of REST?" author = "Carson Gross " date = 2022-07-18 +updated = 2022-11-26 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/hypermedia-apis-vs-data-apis.md b/www-zola/content/essays/hypermedia-apis-vs-data-apis.md index 32059c00..6473bdc9 100644 --- a/www-zola/content/essays/hypermedia-apis-vs-data-apis.md +++ b/www-zola/content/essays/hypermedia-apis-vs-data-apis.md @@ -1,5 +1,7 @@ +++ title = "Hypermedia APIs vs. Data APIs" +date = 2021-07-17 +updated = 2022-04-07 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/hypermedia-clients.md b/www-zola/content/essays/hypermedia-clients.md index 053a650c..4d582f15 100644 --- a/www-zola/content/essays/hypermedia-clients.md +++ b/www-zola/content/essays/hypermedia-clients.md @@ -1,5 +1,7 @@ +++ title = "Hypermedia Clients" +date = 2023-01-28 +updated = 2023-01-29 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/hypermedia-driven-applications.md b/www-zola/content/essays/hypermedia-driven-applications.md index d9d65594..f9383b8b 100644 --- a/www-zola/content/essays/hypermedia-driven-applications.md +++ b/www-zola/content/essays/hypermedia-driven-applications.md @@ -1,5 +1,7 @@ +++ title = "Hypermedia-Driven Applications" +date = 2022-02-06 +updated = 2022-10-18 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/hypermedia-friendly-scripting.md b/www-zola/content/essays/hypermedia-friendly-scripting.md index a795a594..ab0c07ad 100644 --- a/www-zola/content/essays/hypermedia-friendly-scripting.md +++ b/www-zola/content/essays/hypermedia-friendly-scripting.md @@ -1,5 +1,7 @@ +++ title = "Hypermedia-Friendly Scripting" +date = 2022-11-17 +updated = 2022-11-29 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/locality-of-behaviour.md b/www-zola/content/essays/locality-of-behaviour.md index d05e7d36..9b2bf4c0 100644 --- a/www-zola/content/essays/locality-of-behaviour.md +++ b/www-zola/content/essays/locality-of-behaviour.md @@ -1,5 +1,7 @@ +++ title = "Locality of Behaviour (LoB)" +date = 2020-05-29 +updated = 2023-01-20 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/rest-explained.md b/www-zola/content/essays/rest-explained.md index 61e1c006..8e1faea1 100644 --- a/www-zola/content/essays/rest-explained.md +++ b/www-zola/content/essays/rest-explained.md @@ -1,5 +1,7 @@ +++ title = "REST - Explained For Beginners" +date = 2021-07-13 +updated = 2022-02-06 +++ There is no topic that generates more confusion in web development than the idea of Representational State Transfer, diff --git a/www-zola/content/essays/spa-alternative.md b/www-zola/content/essays/spa-alternative.md index 52ff646c..069524b4 100644 --- a/www-zola/content/essays/spa-alternative.md +++ b/www-zola/content/essays/spa-alternative.md @@ -1,5 +1,7 @@ +++ title = "SPA Alternative" +date = 2020-10-29 +updated = 2022-02-06 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/splitting-your-apis.md b/www-zola/content/essays/splitting-your-apis.md index 47450eed..611d3e03 100644 --- a/www-zola/content/essays/splitting-your-apis.md +++ b/www-zola/content/essays/splitting-your-apis.md @@ -1,5 +1,7 @@ +++ title = "Splitting Your Data & Application APIs: Going Further" +date = 2021-09-16 +updated = 2022-02-06 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/essays/template-fragments.md b/www-zola/content/essays/template-fragments.md index 5f2c63e7..9eaa04a6 100644 --- a/www-zola/content/essays/template-fragments.md +++ b/www-zola/content/essays/template-fragments.md @@ -1,5 +1,7 @@ +++ title = "Template Fragments" +date = 2022-08-03 +updated = 2023-03-18 [taxonomies] tag = ["posts"] +++ @@ -144,5 +146,7 @@ Here are some known implementations of the fragment concept: * [jinja_partials package](https://github.com/mikeckennedy/jinja_partials) ([discussion](https://github.com/mikeckennedy/jinja_partials/issues/1) on motivation) * [chameleon_partials package](https://github.com/mikeckennedy/chameleon_partials) * [htmlgenerator](https://github.com/basxsoftwareassociation/htmlgenerator) +* .NET + * [Giraffe.ViewEngine.Htmx](https://github.com/bit-badger/Giraffe.Htmx/tree/main/src/ViewEngine.Htmx) Please [let me know](/discord) if you know of others, so I can add them to this list. diff --git a/www-zola/content/essays/when-to-use-hypermedia.md b/www-zola/content/essays/when-to-use-hypermedia.md index 9bc0bce0..46ae3576 100644 --- a/www-zola/content/essays/when-to-use-hypermedia.md +++ b/www-zola/content/essays/when-to-use-hypermedia.md @@ -1,5 +1,7 @@ +++ title = "When Should You Use Hypermedia?" +date = 2022-10-23 +updated = 2023-02-03 [taxonomies] tag = ["posts"] +++ diff --git a/www-zola/content/headers/_index.md b/www-zola/content/headers/_index.md new file mode 100644 index 00000000..5ed51d26 --- /dev/null +++ b/www-zola/content/headers/_index.md @@ -0,0 +1,3 @@ ++++ +# There is no /headers URL; this file exists to define a Zola section for this directory ++++ diff --git a/www-zola/content/talk/index.md b/www-zola/content/talk/index.md index 221e3df0..92bacfe7 100644 --- a/www-zola/content/talk/index.md +++ b/www-zola/content/talk/index.md @@ -36,31 +36,4 @@ Email: [htmx@bigsky.software](mailto:htmx@bigsky.software) ## Atom Feed (Announcements & Essays) -[feed.xml](/feed.xml) - - +[atom.xml](/atom.xml) diff --git a/www-zola/themes/htmx-theme/static/css/site.css b/www-zola/themes/htmx-theme/static/css/site.css index c77f56a7..bffcf3c1 100644 --- a/www-zola/themes/htmx-theme/static/css/site.css +++ b/www-zola/themes/htmx-theme/static/css/site.css @@ -191,6 +191,7 @@ h4 { display: none !important; } .hamburger { + display: revert; float: right; } .nav { @@ -466,6 +467,7 @@ pre[class|="language"] { padding: .5rem; margin: .5rem 0; border-radius: .25rem; + color: lightgray; } .zola-anchor { font-size: 80%; diff --git a/www-zola/themes/htmx-theme/templates/base.html b/www-zola/themes/htmx-theme/templates/base.html index 8534a3f3..ff4dc62d 100644 --- a/www-zola/themes/htmx-theme/templates/base.html +++ b/www-zola/themes/htmx-theme/templates/base.html @@ -29,7 +29,7 @@ - {% if section and section.path is starting_with("/examples/") %} + {% if page and page.path is starting_with("/examples") %}