Skip to content

Commit

Permalink
Dark mode: drop bottom-right theme selector for Download page and For…
Browse files Browse the repository at this point in the history
…m examples
  • Loading branch information
julien-deramond committed Dec 26, 2023
1 parent 77711bd commit 3da2afd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/content/docs/5.3/examples/download-app/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: examples
title: Download app
theme_selector: false
extra_css:
- "download-app.css"
extra_js:
Expand Down
1 change: 1 addition & 0 deletions site/content/docs/5.3/examples/form/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: examples
title: Form example
theme_selector: false
extra_js:
- src: "form.js"
aliases:
Expand Down
2 changes: 2 additions & 0 deletions site/layouts/_default/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
{{- end }}
</head>
<body{{ with .Page.Params.body_class }} class="{{ . }}"{{ end }}>
{{ if ne .Page.Params.theme_selector false }}
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="check2" viewBox="0 0 15 12">
<polygon points="13 0 5 8 2 5 0 7 3 10 5 12 7 10 15 2 13 0"/>
Expand Down Expand Up @@ -148,6 +149,7 @@
</li>
</ul>
</div>
{{- end -}}

{{ .Content }}

Expand Down

0 comments on commit 3da2afd

Please sign in to comment.