Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Dec 24, 2024
2 parents b15d185 + 3523732 commit a8b0101
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 10 deletions.
2 changes: 1 addition & 1 deletion www/content/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
insert_anchor_links = "left"
insert_anchor_links = "heading"
+++

<style type="text/css">
Expand Down
2 changes: 1 addition & 1 deletion www/content/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ The fields available for response handling configuration on entries in this arra
* `target` - A CSS selector specifying an alternative target for the response
* `swapOverride` - An alternative swap mechanism for the response

#### Configuring Response Handling Examples {#response-handling}
#### Configuring Response Handling Examples {#response-handling-examples}

As an example of how to use this configuration, consider a situation when a server-side framework responds with a
[`422 - Unprocessable Entity`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422) response when validation errors occur. By default, htmx will ignore the response,
Expand Down
1 change: 1 addition & 0 deletions www/content/essays/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
+++
title = "Essays"
insert_anchor_links = "heading"
sort_by = "date"
insert_anchor_links = "left"
generate_feeds = true
Expand Down
2 changes: 1 addition & 1 deletion www/content/examples/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Examples"
insert_anchor_links = "left"
insert_anchor_links = "heading"
+++

## Server-side Integration Examples
Expand Down
2 changes: 1 addition & 1 deletion www/content/examples/move-before/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Experimental moveBefore() Support"
insert_anchor_links = "left"
insert_anchor_links = "heading"
+++

This page demonstrates the use of the experimental [`moveBefore()`](https://github.com/whatwg/dom/issues/1255) DOM
Expand Down
33 changes: 33 additions & 0 deletions www/static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions www/themes/htmx-theme/static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--alertBackground: #161719;
--alertBorder: #41464b;
--alertShadow: rgba(0, 0, 0, 0.15);
--anchorColor: #e2dada;
--anchorColor: var(--midBlue);
--bodyBackground: #1f1f1f;
--footerBackground: #1a1d1e;
--midBlue: #5b96d5;
Expand Down Expand Up @@ -575,11 +575,9 @@ pre[class|="language"] {
color: lightgray;
}
.zola-anchor {
margin-left: -1.3rem;
margin-right: .3rem;
opacity: 40%;
color: var(--anchorColor);
}
.zola-anchor:hover {
opacity: 95%;

.zola-anchor:hover::after {
content: ' #';
}
2 changes: 2 additions & 0 deletions www/themes/htmx-theme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
{#TODO: only generate this for the home page #}
<link rel="alternate" type="application/atom+xml" title="Sitewide Atom feed" href="/atom.xml">
<link rel="stylesheet" href="/css/site.css">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<script src="/js/htmx.js"></script>
<script src="/js/class-tools.js"></script>
<script src="/js/preload.js"></script>

<script src="/js/_hyperscript.js"></script>
<meta name="generator" content="Zola v.TODO">
</head>
Expand Down

0 comments on commit a8b0101

Please sign in to comment.