Skip to content

Commit

Permalink
Site updated: 2024-03-21 21:33:34
Browse files Browse the repository at this point in the history
  • Loading branch information
BaoL067 committed Mar 22, 2024
1 parent 4b071cf commit 5f1cc30
Show file tree
Hide file tree
Showing 11 changed files with 647 additions and 94 deletions.
55 changes: 46 additions & 9 deletions 2024/03/09/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,44 @@




<!-- MathJax配置,可通过单美元符号书写行内公式等 -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
preferredFont: "TeX",
availableFonts: ["STIX","TeX"],
linebreaks: { automatic:true },
EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50)
},
tex2jax: {
inlineMath: [ ["$", "$"], ["\\(","\\)"] ],
processEscapes: true,
ignoreClass: "tex2jax_ignore|dno",
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
},
TeX: {
equationNumbers: { autoNumber: "AMS" },
noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } },
Macros: { href: "{}" }
},
messageStyle: "none"
});
</script>
<!-- 给MathJax元素添加has-jax class -->
<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>
<!-- 通过连接CDN加载MathJax的js代码 -->
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML">
</script>





Expand Down Expand Up @@ -70,13 +107,13 @@
<div class="navbar-header header-logo"><a href="/">Binglong&#39;s Blog</a></div>
<div class="menu navbar-right">

<a class="menu-item" href="/archives">Posts</a>
<a class="menu-item" href="/archives">归档</a>

<a class="menu-item" href="/category">Categories</a>
<a class="menu-item" href="/categories">目录</a>

<a class="menu-item" href="/tag">Tags</a>
<a class="menu-item" href="/tag">标签</a>

<a class="menu-item" href="/about">About</a>
<a class="menu-item" href="/about">关于</a>

<input id="switch_default" type="checkbox" class="switch_default">
<label for="switch_default" class="toggleBtn"></label>
Expand All @@ -95,13 +132,13 @@
</div>
<div class="menu" id="mobile-menu">

<a class="menu-item" href="/archives">Posts</a>
<a class="menu-item" href="/archives">归档</a>

<a class="menu-item" href="/category">Categories</a>
<a class="menu-item" href="/categories">目录</a>

<a class="menu-item" href="/tag">Tags</a>
<a class="menu-item" href="/tag">标签</a>

<a class="menu-item" href="/about">About</a>
<a class="menu-item" href="/about">关于</a>

</div>
</div>
Expand Down
55 changes: 46 additions & 9 deletions 2024/03/09/我的第一个blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,44 @@




<!-- MathJax配置,可通过单美元符号书写行内公式等 -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
preferredFont: "TeX",
availableFonts: ["STIX","TeX"],
linebreaks: { automatic:true },
EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50)
},
tex2jax: {
inlineMath: [ ["$", "$"], ["\\(","\\)"] ],
processEscapes: true,
ignoreClass: "tex2jax_ignore|dno",
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
},
TeX: {
equationNumbers: { autoNumber: "AMS" },
noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } },
Macros: { href: "{}" }
},
messageStyle: "none"
});
</script>
<!-- 给MathJax元素添加has-jax class -->
<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>
<!-- 通过连接CDN加载MathJax的js代码 -->
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML">
</script>





Expand Down Expand Up @@ -70,13 +107,13 @@
<div class="navbar-header header-logo"><a href="/">Binglong&#39;s Blog</a></div>
<div class="menu navbar-right">

<a class="menu-item" href="/archives">Posts</a>
<a class="menu-item" href="/archives">归档</a>

<a class="menu-item" href="/category">Categories</a>
<a class="menu-item" href="/categories">目录</a>

<a class="menu-item" href="/tag">Tags</a>
<a class="menu-item" href="/tag">标签</a>

<a class="menu-item" href="/about">About</a>
<a class="menu-item" href="/about">关于</a>

<input id="switch_default" type="checkbox" class="switch_default">
<label for="switch_default" class="toggleBtn"></label>
Expand All @@ -95,13 +132,13 @@
</div>
<div class="menu" id="mobile-menu">

<a class="menu-item" href="/archives">Posts</a>
<a class="menu-item" href="/archives">归档</a>

<a class="menu-item" href="/category">Categories</a>
<a class="menu-item" href="/categories">目录</a>

<a class="menu-item" href="/tag">Tags</a>
<a class="menu-item" href="/tag">标签</a>

<a class="menu-item" href="/about">About</a>
<a class="menu-item" href="/about">关于</a>

</div>
</div>
Expand Down
183 changes: 183 additions & 0 deletions about/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">





<title>about | Hexo</title>



<link rel="icon" href="/favicon.ico">




<!-- stylesheets list from _config.yml -->

<link rel="stylesheet" href="/css/style.css">




<!-- scripts list from _config.yml -->

<script src="/js/script.js"></script>

<script src="/js/tocbot.min.js"></script>






<!-- MathJax配置,可通过单美元符号书写行内公式等 -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
preferredFont: "TeX",
availableFonts: ["STIX","TeX"],
linebreaks: { automatic:true },
EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50)
},
tex2jax: {
inlineMath: [ ["$", "$"], ["\\(","\\)"] ],
processEscapes: true,
ignoreClass: "tex2jax_ignore|dno",
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
},
TeX: {
equationNumbers: { autoNumber: "AMS" },
noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } },
Macros: { href: "{}" }
},
messageStyle: "none"
});
</script>
<!-- 给MathJax元素添加has-jax class -->
<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>
<!-- 通过连接CDN加载MathJax的js代码 -->
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML">
</script>





<meta name="generator" content="Hexo 7.1.1"></head>

<body>
<script>
// this function is used to check current theme before page loaded.
(() => {
const currentTheme = window.localStorage && window.localStorage.getItem('theme') || '';
const isDark = currentTheme === 'dark';
const pagebody = document.getElementsByTagName('body')[0]
if (isDark) {
pagebody.classList.add('dark-theme');
// mobile
document.getElementById("mobile-toggle-theme").innerText = "· Dark"
} else {
pagebody.classList.remove('dark-theme');
// mobile
document.getElementById("mobile-toggle-theme").innerText = "· Light"
}
})();
</script>

<div class="wrapper">
<header>
<nav class="navbar">
<div class="container">
<div class="navbar-header header-logo"><a href="/">Binglong&#39;s Blog</a></div>
<div class="menu navbar-right">

<a class="menu-item" href="/archives">归档</a>

<a class="menu-item" href="/categories">目录</a>

<a class="menu-item" href="/tag">标签</a>

<a class="menu-item" href="/about">关于</a>

<input id="switch_default" type="checkbox" class="switch_default">
<label for="switch_default" class="toggleBtn"></label>
</div>
</div>
</nav>


<nav class="navbar-mobile" id="nav-mobile">
<div class="container">
<div class="navbar-header">
<div>
<a href="/">Binglong&#39;s Blog</a><a id="mobile-toggle-theme">·&nbsp;Light</a>
</div>
<div class="menu-toggle" onclick="mobileBtn()">&#9776; Menu</div>
</div>
<div class="menu" id="mobile-menu">

<a class="menu-item" href="/archives">归档</a>

<a class="menu-item" href="/categories">目录</a>

<a class="menu-item" href="/tag">标签</a>

<a class="menu-item" href="/about">关于</a>

</div>
</div>
</nav>

</header>
<script>
var mobileBtn = function f() {
var toggleMenu = document.getElementsByClassName("menu-toggle")[0];
var mobileMenu = document.getElementById("mobile-menu");
if(toggleMenu.classList.contains("active")){
toggleMenu.classList.remove("active")
mobileMenu.classList.remove("active")
}else{
toggleMenu.classList.add("active")
mobileMenu.classList.add("active")
}
}
</script>
<div class="main">
<div class="container">
<article class="post-wrap page">

<h2 class="post-title">about</h2>

<section class="post-content">

</section>
</article>
</div>

</div>
<footer id="footer" class="footer">
<div class="copyright">
<span>© | Powered by <a href="https://hexo.io" target="_blank">Hexo</a> & <a href="https://github.com/Siricee/hexo-theme-Chic" target="_blank">Chic</a></span>
</div>
</footer>

</div>
</body>

</html>
Loading

0 comments on commit 5f1cc30

Please sign in to comment.