Skip to content

Commit dfdb237

Browse files
committed
chore: add progressier verify
1 parent c315d3c commit dfdb237

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

layouts/partials/docs/inject/head.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
<script>
19-
var html = document.documentElement;
19+
var html = document.documentElement;
2020
//Check Storage. Keep user preference on page reload
2121
if (localStorage.getItem('themeMode') == 'dark') {
2222
html.setAttribute("data-theme","dark");
@@ -25,11 +25,11 @@
2525
html.setAttribute("data-theme","light");
2626
}
2727
</script>
28-
28+
2929
{{if .Page.Params.mermaid}}
3030
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
3131
<script>
32-
const themeMode = localStorage.getItem('themeMode') || 'light';
32+
const themeMode = localStorage.getItem('themeMode') || 'light';
3333
mermaid.initialize({startOnLoad:true, theme:themeMode === "dark" ? "dark" : "light"});
3434
const style = document.createElement("style");
3535
style.textContent = `
@@ -41,4 +41,7 @@
4141
`;
4242
document.head.appendChild(style);
4343
</script>
44+
45+
<link rel="manifest" href="https://progressier.app/oU0WwamIj66XOv6r96hb/progressier.json"/>
46+
<script defer src="https://progressier.app/oU0WwamIj66XOv6r96hb/script.js"></script>
4447
{{end}}

0 commit comments

Comments
 (0)