mirror of
https://github.com/caddyserver/website.git
synced 2025-04-29 00:09:15 -04:00
Rebase and fix code displays
This commit is contained in:
parent
14e9b01bf4
commit
7cba863d53
11 changed files with 41 additions and 117 deletions
|
@ -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>
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -11,7 +11,7 @@
|
|||
</p>
|
||||
<br>
|
||||
<p>
|
||||
© {{now | date "2006"}} Stack Holdings. All rights reserved.
|
||||
© {{now | date "2006"}} ZeroSSL. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
<div class="link-col" style="margin-left: auto;">
|
||||
|
|
|
@ -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 || [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue