|
15 | 15 | <meta name="twitter:title" content="404 Page not found"> |
16 | 16 | <meta name="twitter:description" content="This is my cool site"> |
17 | 17 | <meta name="application-name" content="My cool site"> |
18 | | -<meta name="apple-mobile-web-app-title" content="My cool site"> |
19 | | -<meta name="referrer" content="no-referrer" /><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> |
| 18 | +<meta name="apple-mobile-web-app-title" content="My cool site"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> |
20 | 19 | <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> |
21 | | - <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="http://example.org/404.html" /><link rel="stylesheet" href="/css/style.min.css"><link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.2/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> |
22 | | - <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.2/css/all.min.css"></noscript><link rel="preload" href="https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> |
| 20 | + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="http://example.org/404.html" /><link rel="stylesheet" href="/css/style.min.css"><link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> |
| 21 | + <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.min.css"></noscript><link rel="preload" href="https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> |
23 | 22 | <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css"></noscript></head> |
24 | | - <body data-header-desktop="fixed" data-header-mobile="auto"><script> |
25 | | - const query = window.matchMedia('(prefers-color-scheme: dark)'); |
26 | | - function applyTheme() { |
27 | | - let theme = window.localStorage?.getItem('theme') || 'auto'; |
28 | | - let isDark = theme === 'dark' || (theme === 'auto' && query.matches); |
29 | | - document.body.setAttribute('theme', isDark? 'dark' : 'light'); |
30 | | - document.body.setAttribute('cfg-theme', theme); |
31 | | - } |
32 | | - |
33 | | - applyTheme(); |
34 | | - query.addEventListener('change', applyTheme); |
35 | | - </script> |
| 23 | + <body data-header-desktop="fixed" data-header-mobile="auto"><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('auto' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'auto' === 'dark')) && document.body.setAttribute('theme', 'dark');</script> |
36 | 24 |
|
37 | 25 | <div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop"> |
38 | 26 | <div class="header-wrapper"> |
@@ -66,25 +54,22 @@ <h1 id="error-emoji"></h1> |
66 | 54 | <a href="javascript:void(0);" title="Back" onclick="window.history.back();"><i class="far fa-hand-point-left fa-fw" aria-hidden="true"></i></a> |
67 | 55 | </p> |
68 | 56 | </div> |
69 | | - <script> |
| 57 | + <script type="text/javascript"> |
70 | 58 | (function() { |
71 | 59 | var emojiArray = ['\\(o_o)/', '(˚Δ˚)b', '(^-^*)', '(≥o≤)', '(^_^)b', '(·_·)','(=\'X\'=)', '(>_<)', '(;-;)']; |
72 | 60 | document.getElementById('error-emoji').appendChild(document.createTextNode(emojiArray[Math.floor(Math.random() * emojiArray.length)])); |
73 | 61 | })(); |
74 | 62 | </script></div> |
75 | 63 | </main><footer class="footer"> |
76 | | - <div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.144.1">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.3.1-DEV"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a> |
| 64 | + <div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.144.1">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.3.0"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a> |
77 | 65 | </div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2022 - 2025</span><span class="author" itemprop="copyrightHolder"> <a href="/" target="_blank">xxxx</a></span></div> |
78 | 66 | </div> |
79 | 67 | </footer></div> |
80 | 68 |
|
81 | 69 | <div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="Back to Top"> |
82 | 70 | <i class="fas fa-arrow-up fa-fw" aria-hidden="true"></i> |
83 | | - </a> |
84 | | - </div> |
85 | | - |
86 | | - <div id="fixed-buttons-hidden"><a href="#" id="view-comments" class="fixed-button" title="View Comments"> |
| 71 | + </a><a href="#" id="view-comments" class="fixed-button" title="View Comments"> |
87 | 72 | <i class="fas fa-comment fa-fw" aria-hidden="true"></i> |
88 | 73 | </a> |
89 | | - </div><script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js"></script><script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js"></script><script src="https://cdn.jsdelivr.net/npm/sharer.js@0.5.2/sharer.min.js"></script><script>window.config=null;</script><script src="/js/theme.min.js"></script></body> |
| 74 | + </div><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/sharer.js@0.5.1/sharer.min.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"Copy to clipboard","maxShownLines":50}};</script><script type="text/javascript" src="/js/theme.min.js"></script></body> |
90 | 75 | </html> |
0 commit comments