huge upgrade to theme and pagefind search bar.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
(function() {
|
||||
document.querySelectorAll(".asciinema").forEach(function(element) {
|
||||
AsciinemaPlayer.create(element.getAttribute("x-data-cast"),
|
||||
element,
|
||||
JSON.parse(element.getAttribute("x-data-opts")));
|
||||
});
|
||||
}());
|
||||
2389
themes/hugo-book.backup/static/asciinema/asciinema-player.css
Normal file
2389
themes/hugo-book.backup/static/asciinema/asciinema-player.css
Normal file
File diff suppressed because it is too large
Load Diff
1
themes/hugo-book.backup/static/asciinema/asciinema-player.min.js
vendored
Normal file
1
themes/hugo-book.backup/static/asciinema/asciinema-player.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
themes/hugo-book.backup/static/favicon.png
Normal file
BIN
themes/hugo-book.backup/static/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 298 B |
1
themes/hugo-book.backup/static/favicon.svg
Normal file
1
themes/hugo-book.backup/static/favicon.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#1f1f1f"><path d="M300-80q-58 0-99-41t-41-99v-520q0-58 41-99t99-41h500v600q-25 0-42.5 17.5T740-220q0 25 17.5 42.5T800-160v80H300Zm-60-267q14-7 29-10t31-3h20v-440h-20q-25 0-42.5 17.5T240-740v393Zm160-13h320v-440H400v440Zm-160 13v-453 453Zm60 187h373q-6-14-9.5-28.5T660-220q0-16 3-31t10-29H300q-26 0-43 17.5T240-220q0 26 17 43t43 17Z"/></svg>
|
||||
|
After Width: | Height: | Size: 438 B |
9
themes/hugo-book.backup/static/fuse.min.js
vendored
Normal file
9
themes/hugo-book.backup/static/fuse.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
themes/hugo-book.backup/static/katex/auto-render.min.js
vendored
Normal file
1
themes/hugo-book.backup/static/katex/auto-render.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={757:function(t){t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var o={};r.d(o,{default:function(){return p}});var i=r(757),a=r.n(i);const l=function(e,t,n){let r=n,o=0;const i=e.length;for(;r<t.length;){const n=t[r];if(o<=0&&t.slice(r,r+i)===e)return r;"\\"===n?r++:"{"===n?o++:"}"===n&&o--,r++}return-1},s=/^\\begin{/;var d=function(e,t){let n;const r=[],o=new RegExp("("+t.map((e=>e.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|")+")");for(;n=e.search(o),-1!==n;){n>0&&(r.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));const o=t.findIndex((t=>e.startsWith(t.left)));if(n=l(t[o].right,e,t[o].left.length),-1===n)break;const i=e.slice(0,n+t[o].right.length),a=s.test(i)?i:e.slice(t[o].left.length,n);r.push({type:"math",data:a,rawData:i,display:t[o].display}),e=e.slice(n+t[o].right.length)}return""!==e&&r.push({type:"text",data:e}),r};const c=function(e,t){const n=d(e,t.delimiters);if(1===n.length&&"text"===n[0].type)return null;const r=document.createDocumentFragment();for(let e=0;e<n.length;e++)if("text"===n[e].type)r.appendChild(document.createTextNode(n[e].data));else{const o=document.createElement("span");let i=n[e].data;t.displayMode=n[e].display;try{t.preProcess&&(i=t.preProcess(i)),a().render(i,o,t)}catch(o){if(!(o instanceof a().ParseError))throw o;t.errorCallback("KaTeX auto-render: Failed to parse `"+n[e].data+"` with ",o),r.appendChild(document.createTextNode(n[e].rawData));continue}r.appendChild(o)}return r},f=function(e,t){for(let n=0;n<e.childNodes.length;n++){const r=e.childNodes[n];if(3===r.nodeType){let o=r.textContent,i=r.nextSibling,a=0;for(;i&&i.nodeType===Node.TEXT_NODE;)o+=i.textContent,i=i.nextSibling,a++;const l=c(o,t);if(l){for(let e=0;e<a;e++)r.nextSibling.remove();n+=l.childNodes.length-1,e.replaceChild(l,r)}else n+=a}else if(1===r.nodeType){const e=" "+r.className+" ";-1===t.ignoredTags.indexOf(r.nodeName.toLowerCase())&&t.ignoredClasses.every((t=>-1===e.indexOf(" "+t+" ")))&&f(r,t)}}};var p=function(e,t){if(!e)throw new Error("No element provided to render");const n={};for(const e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.delimiters=n.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],n.ignoredTags=n.ignoredTags||["script","noscript","style","textarea","pre","code","option"],n.ignoredClasses=n.ignoredClasses||[],n.errorCallback=n.errorCallback||console.error,n.macros=n.macros||{},f(e,n)};return o=o.default}()}));
|
||||
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_AMS-Regular.ttf
Normal file
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_AMS-Regular.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Bold.ttf
Normal file
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Bold.ttf
Normal file
Binary file not shown.
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Bold.woff
Normal file
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Bold.woff
Normal file
Binary file not shown.
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Bold.woff2
Normal file
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Bold.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Italic.ttf
Normal file
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Main-Italic.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Math-Italic.ttf
Normal file
BIN
themes/hugo-book.backup/static/katex/fonts/KaTeX_Math-Italic.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
themes/hugo-book.backup/static/katex/katex.min.css
vendored
Normal file
1
themes/hugo-book.backup/static/katex/katex.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
themes/hugo-book.backup/static/katex/katex.min.js
vendored
Normal file
1
themes/hugo-book.backup/static/katex/katex.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2659
themes/hugo-book.backup/static/mermaid.min.js
vendored
Normal file
2659
themes/hugo-book.backup/static/mermaid.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user