Skip to content

Commit

Permalink
deploy: 78e8d18
Browse files Browse the repository at this point in the history
  • Loading branch information
rzy0901 committed Jan 3, 2024
1 parent dbf9d8b commit d344fbd
Show file tree
Hide file tree
Showing 42 changed files with 123 additions and 123 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<a href="https://space.bilibili.com/485868285?spm_id_from=333.1007.0.0" class="iconfont icon-bilibili" title=bilibili></a>
<a href=/index.xml type=application/rss+xml class="iconfont icon-rss" title=rss></a></div><div class=copyright><span class=copyright-year>Copyright &copy;
2021 -
2023&nbsp;
2024&nbsp;
<span>Ren Zhenyu | <span class=power-by>Powered by <a class=hexo-link href=https://gohugo.io>Hugo</a></span></span></span></div></footer><div class=back-to-top id=back-to-top><i class="iconfont icon-up"></i></div></div><script type=text/javascript src=/lib/jquery/jquery-3.2.1.min.js></script>
<script type=text/javascript src=/lib/slideout/slideout-1.0.1.min.js></script>
<script type=text/javascript src=/lib/fancybox/fancybox.umd.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).hasClass("disable-fancybox")||$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>function createCopyButton(e){const t=document.createElement("div");t.className="copy-code",t.innerText="Copy",t.addEventListener("click",()=>copyCodeToClipboard(t,e)),addCopyButtonToDom(t,e)}async function copyCodeToClipboard(e,t){const n=t.querySelector(":last-child > .chroma > code").innerText;await navigator.clipboard.writeText(n),e.blur(),e.innerText="Copied!",setTimeout(()=>e.innerText="Copy",2e3)}function addCopyButtonToDom(e,t){t.insertBefore(e,t.firstChild);const n=document.createElement("div");n.className="highlight-wrapper",t.parentNode.insertBefore(n,t),n.appendChild(t)}var isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);isMobile||document.querySelectorAll(".highlight").forEach(e=>createCopyButton(e))</script><script>var darkMode={config:{startHour:19,endHour:7},_darkTheme:null,_modeToggle:null,_modeToggleParent:null,_modeToggleMobile:null,_modeToggleParentMobile:null,_currentHour:0,_storageKey:"dark-mode-storage",_storageByHandLastTIme:0,_storageOverdueHours:12,init:function(){this._modeToggleParent=document.getElementById("dark-mode-toggle"),this._modeToggle=document.getElementById("dark-mode-toggle-i"),this._modeToggleParentMobile=document.getElementById("dark-mode-toggle-mobile"),this._modeToggleMobile=document.getElementById("dark-mode-toggle-mobile-i"),this._darkTheme=document.getElementById("dark-mode-theme"),this._currentHour=(new Date).getHours(),this.toggleListen(),this.initMode()},initMode:function(){let e=this.getModeFromStorage();this.setMode(e)},toggleListen:function(){let e=this;this._modeToggleParent.addEventListener("click",()=>{this._modeToggle.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggle.className==="fa fa-sun-o"&&e.setModeByHand("light")}),this._modeToggleParentMobile.addEventListener("click",()=>{this._modeToggleMobile.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggleMobile.className==="fa fa-sun-o"&&e.setModeByHand("light")})},autoMode:function(){let e=this._currentHour;return e>this.config.startHour||e<this.config.endHour?"dark":"light"},setMode:function(e){e==="dark"?(this._darkTheme.disabled=!1,this._modeToggle.className="fa fa-sun-o",this._modeToggleMobile.className="fa fa-sun-o"):e==="light"&&(this._darkTheme.disabled=!0,this._modeToggle.className="fa fa-moon-o",this._modeToggleMobile.className="fa fa-moon-o")},setModeByHand:function(e){this.setMode(e),this.setModeToStorage(e)},setModeToStorage:function(e){localStorage.setItem(this._storageKey,e),localStorage.setItem(this._storageKey+"-last-time",(new Date).getTime())},getModeFromStorage:function(){let t=localStorage.getItem(this._storageKey),e=localStorage.getItem(this._storageKey+"-last-time");if(t&&e){e=e/1e3;let n=(new Date).getTime()/1e3,s=this._storageOverdueHours*3600;if(n-e<s)return t}return localStorage.removeItem(this._storageKey),localStorage.removeItem(this._storageKey+"-last-time"),!1}};darkMode.init()</script></body></html>
10 changes: 5 additions & 5 deletions about/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/diary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<a href="https://space.bilibili.com/485868285?spm_id_from=333.1007.0.0" class="iconfont icon-bilibili" title=bilibili></a>
<a href=/index.xml type=application/rss+xml class="iconfont icon-rss" title=rss></a></div><div class=copyright><span class=copyright-year>Copyright &copy;
2021 -
2023&nbsp;
2024&nbsp;
<span>Ren Zhenyu | <span class=power-by>Powered by <a class=hexo-link href=https://gohugo.io>Hugo</a></span></span></span></div></footer><div class=back-to-top id=back-to-top><i class="iconfont icon-up"></i></div></div><script type=text/javascript src=/lib/jquery/jquery-3.2.1.min.js></script>
<script type=text/javascript src=/lib/slideout/slideout-1.0.1.min.js></script>
<script type=text/javascript src=/lib/fancybox/fancybox.umd.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).hasClass("disable-fancybox")||$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>function createCopyButton(e){const t=document.createElement("div");t.className="copy-code",t.innerText="Copy",t.addEventListener("click",()=>copyCodeToClipboard(t,e)),addCopyButtonToDom(t,e)}async function copyCodeToClipboard(e,t){const n=t.querySelector(":last-child > .chroma > code").innerText;await navigator.clipboard.writeText(n),e.blur(),e.innerText="Copied!",setTimeout(()=>e.innerText="Copy",2e3)}function addCopyButtonToDom(e,t){t.insertBefore(e,t.firstChild);const n=document.createElement("div");n.className="highlight-wrapper",t.parentNode.insertBefore(n,t),n.appendChild(t)}var isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);isMobile||document.querySelectorAll(".highlight").forEach(e=>createCopyButton(e))</script><script>var darkMode={config:{startHour:19,endHour:7},_darkTheme:null,_modeToggle:null,_modeToggleParent:null,_modeToggleMobile:null,_modeToggleParentMobile:null,_currentHour:0,_storageKey:"dark-mode-storage",_storageByHandLastTIme:0,_storageOverdueHours:12,init:function(){this._modeToggleParent=document.getElementById("dark-mode-toggle"),this._modeToggle=document.getElementById("dark-mode-toggle-i"),this._modeToggleParentMobile=document.getElementById("dark-mode-toggle-mobile"),this._modeToggleMobile=document.getElementById("dark-mode-toggle-mobile-i"),this._darkTheme=document.getElementById("dark-mode-theme"),this._currentHour=(new Date).getHours(),this.toggleListen(),this.initMode()},initMode:function(){let e=this.getModeFromStorage();this.setMode(e)},toggleListen:function(){let e=this;this._modeToggleParent.addEventListener("click",()=>{this._modeToggle.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggle.className==="fa fa-sun-o"&&e.setModeByHand("light")}),this._modeToggleParentMobile.addEventListener("click",()=>{this._modeToggleMobile.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggleMobile.className==="fa fa-sun-o"&&e.setModeByHand("light")})},autoMode:function(){let e=this._currentHour;return e>this.config.startHour||e<this.config.endHour?"dark":"light"},setMode:function(e){e==="dark"?(this._darkTheme.disabled=!1,this._modeToggle.className="fa fa-sun-o",this._modeToggleMobile.className="fa fa-sun-o"):e==="light"&&(this._darkTheme.disabled=!0,this._modeToggle.className="fa fa-moon-o",this._modeToggleMobile.className="fa fa-moon-o")},setModeByHand:function(e){this.setMode(e),this.setModeToStorage(e)},setModeToStorage:function(e){localStorage.setItem(this._storageKey,e),localStorage.setItem(this._storageKey+"-last-time",(new Date).getTime())},getModeFromStorage:function(){let t=localStorage.getItem(this._storageKey),e=localStorage.getItem(this._storageKey+"-last-time");if(t&&e){e=e/1e3;let n=(new Date).getTime()/1e3,s=this._storageOverdueHours*3600;if(n-e<s)return t}return localStorage.removeItem(this._storageKey),localStorage.removeItem(this._storageKey+"-last-time"),!1}};darkMode.init()</script></body></html>
4 changes: 2 additions & 2 deletions categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<a href="https://space.bilibili.com/485868285?spm_id_from=333.1007.0.0" class="iconfont icon-bilibili" title=bilibili></a>
<a href=/index.xml type=application/rss+xml class="iconfont icon-rss" title=rss></a></div><div class=copyright><span class=copyright-year>Copyright &copy;
2021 -
2023&nbsp;
2024&nbsp;
<span>Ren Zhenyu | <span class=power-by>Powered by <a class=hexo-link href=https://gohugo.io>Hugo</a></span></span></span></div></footer><div class=back-to-top id=back-to-top><i class="iconfont icon-up"></i></div></div><script type=text/javascript src=/lib/jquery/jquery-3.2.1.min.js></script>
<script type=text/javascript src=/lib/slideout/slideout-1.0.1.min.js></script>
<script type=text/javascript src=/lib/fancybox/fancybox.umd.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).hasClass("disable-fancybox")||$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>function createCopyButton(e){const t=document.createElement("div");t.className="copy-code",t.innerText="Copy",t.addEventListener("click",()=>copyCodeToClipboard(t,e)),addCopyButtonToDom(t,e)}async function copyCodeToClipboard(e,t){const n=t.querySelector(":last-child > .chroma > code").innerText;await navigator.clipboard.writeText(n),e.blur(),e.innerText="Copied!",setTimeout(()=>e.innerText="Copy",2e3)}function addCopyButtonToDom(e,t){t.insertBefore(e,t.firstChild);const n=document.createElement("div");n.className="highlight-wrapper",t.parentNode.insertBefore(n,t),n.appendChild(t)}var isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);isMobile||document.querySelectorAll(".highlight").forEach(e=>createCopyButton(e))</script><script>var darkMode={config:{startHour:19,endHour:7},_darkTheme:null,_modeToggle:null,_modeToggleParent:null,_modeToggleMobile:null,_modeToggleParentMobile:null,_currentHour:0,_storageKey:"dark-mode-storage",_storageByHandLastTIme:0,_storageOverdueHours:12,init:function(){this._modeToggleParent=document.getElementById("dark-mode-toggle"),this._modeToggle=document.getElementById("dark-mode-toggle-i"),this._modeToggleParentMobile=document.getElementById("dark-mode-toggle-mobile"),this._modeToggleMobile=document.getElementById("dark-mode-toggle-mobile-i"),this._darkTheme=document.getElementById("dark-mode-theme"),this._currentHour=(new Date).getHours(),this.toggleListen(),this.initMode()},initMode:function(){let e=this.getModeFromStorage();this.setMode(e)},toggleListen:function(){let e=this;this._modeToggleParent.addEventListener("click",()=>{this._modeToggle.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggle.className==="fa fa-sun-o"&&e.setModeByHand("light")}),this._modeToggleParentMobile.addEventListener("click",()=>{this._modeToggleMobile.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggleMobile.className==="fa fa-sun-o"&&e.setModeByHand("light")})},autoMode:function(){let e=this._currentHour;return e>this.config.startHour||e<this.config.endHour?"dark":"light"},setMode:function(e){e==="dark"?(this._darkTheme.disabled=!1,this._modeToggle.className="fa fa-sun-o",this._modeToggleMobile.className="fa fa-sun-o"):e==="light"&&(this._darkTheme.disabled=!0,this._modeToggle.className="fa fa-moon-o",this._modeToggleMobile.className="fa fa-moon-o")},setModeByHand:function(e){this.setMode(e),this.setModeToStorage(e)},setModeToStorage:function(e){localStorage.setItem(this._storageKey,e),localStorage.setItem(this._storageKey+"-last-time",(new Date).getTime())},getModeFromStorage:function(){let t=localStorage.getItem(this._storageKey),e=localStorage.getItem(this._storageKey+"-last-time");if(t&&e){e=e/1e3;let n=(new Date).getTime()/1e3,s=this._storageOverdueHours*3600;if(n-e<s)return t}return localStorage.removeItem(this._storageKey),localStorage.removeItem(this._storageKey+"-last-time"),!1}};darkMode.init()</script></body></html>
4 changes: 2 additions & 2 deletions categories/math/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<a href="https://space.bilibili.com/485868285?spm_id_from=333.1007.0.0" class="iconfont icon-bilibili" title=bilibili></a>
<a href=/index.xml type=application/rss+xml class="iconfont icon-rss" title=rss></a></div><div class=copyright><span class=copyright-year>Copyright &copy;
2021 -
2023&nbsp;
2024&nbsp;
<span>Ren Zhenyu | <span class=power-by>Powered by <a class=hexo-link href=https://gohugo.io>Hugo</a></span></span></span></div></footer><div class=back-to-top id=back-to-top><i class="iconfont icon-up"></i></div></div><script type=text/javascript src=/lib/jquery/jquery-3.2.1.min.js></script>
<script type=text/javascript src=/lib/slideout/slideout-1.0.1.min.js></script>
<script type=text/javascript src=/lib/fancybox/fancybox.umd.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>$(document).ready(function(){$("article img").each(function(){$(this).hasClass("disable-fancybox")||$(this).attr("data-fancybox","gallery")}),Fancybox.bind("[data-fancybox]",{})})</script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script>
<script>function createCopyButton(e){const t=document.createElement("div");t.className="copy-code",t.innerText="Copy",t.addEventListener("click",()=>copyCodeToClipboard(t,e)),addCopyButtonToDom(t,e)}async function copyCodeToClipboard(e,t){const n=t.querySelector(":last-child > .chroma > code").innerText;await navigator.clipboard.writeText(n),e.blur(),e.innerText="Copied!",setTimeout(()=>e.innerText="Copy",2e3)}function addCopyButtonToDom(e,t){t.insertBefore(e,t.firstChild);const n=document.createElement("div");n.className="highlight-wrapper",t.parentNode.insertBefore(n,t),n.appendChild(t)}var isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);isMobile||document.querySelectorAll(".highlight").forEach(e=>createCopyButton(e))</script><script>var darkMode={config:{startHour:19,endHour:7},_darkTheme:null,_modeToggle:null,_modeToggleParent:null,_modeToggleMobile:null,_modeToggleParentMobile:null,_currentHour:0,_storageKey:"dark-mode-storage",_storageByHandLastTIme:0,_storageOverdueHours:12,init:function(){this._modeToggleParent=document.getElementById("dark-mode-toggle"),this._modeToggle=document.getElementById("dark-mode-toggle-i"),this._modeToggleParentMobile=document.getElementById("dark-mode-toggle-mobile"),this._modeToggleMobile=document.getElementById("dark-mode-toggle-mobile-i"),this._darkTheme=document.getElementById("dark-mode-theme"),this._currentHour=(new Date).getHours(),this.toggleListen(),this.initMode()},initMode:function(){let e=this.getModeFromStorage();this.setMode(e)},toggleListen:function(){let e=this;this._modeToggleParent.addEventListener("click",()=>{this._modeToggle.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggle.className==="fa fa-sun-o"&&e.setModeByHand("light")}),this._modeToggleParentMobile.addEventListener("click",()=>{this._modeToggleMobile.className==="fa fa-moon-o"?e.setModeByHand("dark"):this._modeToggleMobile.className==="fa fa-sun-o"&&e.setModeByHand("light")})},autoMode:function(){let e=this._currentHour;return e>this.config.startHour||e<this.config.endHour?"dark":"light"},setMode:function(e){e==="dark"?(this._darkTheme.disabled=!1,this._modeToggle.className="fa fa-sun-o",this._modeToggleMobile.className="fa fa-sun-o"):e==="light"&&(this._darkTheme.disabled=!0,this._modeToggle.className="fa fa-moon-o",this._modeToggleMobile.className="fa fa-moon-o")},setModeByHand:function(e){this.setMode(e),this.setModeToStorage(e)},setModeToStorage:function(e){localStorage.setItem(this._storageKey,e),localStorage.setItem(this._storageKey+"-last-time",(new Date).getTime())},getModeFromStorage:function(){let t=localStorage.getItem(this._storageKey),e=localStorage.getItem(this._storageKey+"-last-time");if(t&&e){e=e/1e3;let n=(new Date).getTime()/1e3,s=this._storageOverdueHours*3600;if(n-e<s)return t}return localStorage.removeItem(this._storageKey),localStorage.removeItem(this._storageKey+"-last-time"),!1}};darkMode.init()</script></body></html>
Loading

0 comments on commit d344fbd

Please sign in to comment.