fix: formatting
This commit is contained in:
parent
ee94eebf69
commit
52eef3e25e
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ I built the button as a short Liquid partial:
|
||||||
|
|
||||||
The `client-side` class above hides the button should the user have JavaScript disabled:
|
The `client-side` class above hides the button should the user have JavaScript disabled:
|
||||||
|
|
||||||
|
{% raw %]}
|
||||||
```html
|
```html
|
||||||
<noscript>
|
<noscript>
|
||||||
<style>
|
<style>
|
||||||
|
@ -35,6 +36,7 @@ The `client-side` class above hides the button should the user have JavaScript d
|
||||||
</style>
|
</style>
|
||||||
</noscript>
|
</noscript>
|
||||||
```
|
```
|
||||||
|
{% endraw %}
|
||||||
|
|
||||||
And JavaScript is used to control the behavior of the toggle — first, in the `<body>` of my base template:
|
And JavaScript is used to control the behavior of the toggle — first, in the `<body>` of my base template:
|
||||||
|
|
||||||
|
|
Reference in a new issue