Rebase and fix code displays

This commit is contained in:
Matthew Holt 2023-11-21 11:21:27 -07:00 committed by Francis Lavoie
parent 14e9b01bf4
commit 7cba863d53
No known key found for this signature in database
GPG key ID: 0F66EE1687682239
11 changed files with 41 additions and 117 deletions

View file

@ -1,9 +1,3 @@
<script>
ready(() => {
window.$_('.ex-custom-ca pre.chroma').classList.add('light');
});
</script>
<div class="ex-custom-ca">
```caddy
@ -24,3 +18,7 @@ internal.example.com {
```
</div>
<script>
window.$_('.ex-custom-ca code').classList.add('light');
</script>

View file

@ -25,7 +25,7 @@ ready(() => {
endElement = findNextText(startElement, 'browse');
wrapRangeWithSpan(startElement, endElement, 'rollover-browse rollover-purple');
window.$_('.ex-fs pre.chroma').classList.add('light');
window.$_('.ex-fs code').classList.add('light');
});
</script>

View file

@ -1,9 +1,3 @@
<script>
ready(() => {
window.$_('.ex-json-automate-certs pre.chroma').classList.add('light');
});
</script>
<div class="ex-json-automate-certs">
```json
@ -23,3 +17,6 @@ ready(() => {
```
</div>
<script>
window.$_('.ex-json-automate-certs code').classList.add('light');
</script>

View file

@ -1,9 +1,3 @@
<script>
ready(() => {
window.$_('.ex-local-https pre.chroma').classList.add('light');
});
</script>
<div class="ex-local-https">
```caddy
@ -21,3 +15,7 @@ http://localhost {
```
</div>
<script>
window.$_('.ex-local-https code').classList.add('light');
</script>

View file

@ -13,6 +13,8 @@ ready(() => {
startElement = findWithContent('.ex-proxy pre.chroma code span.line', 'reverse_proxy /service/* {');
endElement = findNextText(startElement, '}');
wrapRangeWithSpan(startElement, endElement, 'rollover-ha rollover-blue');
window.$_('.ex-proxy code').classList.add('dark');
});
</script>

View file

@ -1,9 +1,3 @@
<script>
ready(() => {
window.$_('.ex-website-caddyfile pre.chroma').classList.add('light');
});
</script>
<div class="ex-website-caddyfile">
```caddy
@ -23,3 +17,7 @@ reverse_proxy /api/* localhost:9002
```
</div>
<script>
window.$_('.ex-website-caddyfile code').classList.add('light');
</script>

View file

@ -11,7 +11,7 @@
</p>
<br>
<p>
&copy; {{now | date "2006"}} Stack Holdings. All rights reserved.
&copy; {{now | date "2006"}} ZeroSSL. All rights reserved.
</p>
</div>
<div class="link-col" style="margin-left: auto;">

View file

@ -44,7 +44,7 @@
<!-- Algolia DocSearch -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"> -->
<!-- Global site tag (gtag.js) - Google Analytics (Stack Holdings) -->
<!-- Global site tag (gtag.js) - Google Analytics (ZeroSSL) -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-2DLB04LK4P"></script>
<script>
window.dataLayer = window.dataLayer || [];