-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
325 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
<!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"> | ||
|
||
<meta name="author" content="John Doe"> | ||
|
||
|
||
|
||
|
||
|
||
<title>Category | 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> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<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's Blog</a></div> | ||
<div class="menu navbar-right"> | ||
|
||
<a class="menu-item" href="/archives">Posts</a> | ||
|
||
<a class="menu-item" href="/category">Categories</a> | ||
|
||
<a class="menu-item" href="/tag">Tags</a> | ||
|
||
<a class="menu-item" href="/about">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's Blog</a><a id="mobile-toggle-theme">· Light</a> | ||
</div> | ||
<div class="menu-toggle" onclick="mobileBtn()">☰ Menu</div> | ||
</div> | ||
<div class="menu" id="mobile-menu"> | ||
|
||
<a class="menu-item" href="/archives">Posts</a> | ||
|
||
<a class="menu-item" href="/category">Categories</a> | ||
|
||
<a class="menu-item" href="/tag">Tags</a> | ||
|
||
<a class="menu-item" href="/about">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"> | ||
<div class="post-wrap categories"> | ||
<h2 class="post-title">- Categories -</h2> | ||
<div class="categories-card"> | ||
|
||
|
||
<div class="card-item"> | ||
<div class="categories"> | ||
<a href="/categories/%E5%AD%A6%E4%B9%A0/"> | ||
<h3> | ||
<i class="iconfont icon-category" style="padding-right:3px"></i> | ||
学习 | ||
</h3> | ||
</a> | ||
|
||
|
||
|
||
<article class="archive-item"> | ||
<a class="archive-item-link" | ||
href="/2024/03/09/%E6%88%91%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AAblog/">我的第一个blog</a> | ||
</article> | ||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
<footer id="footer" class="footer"> | ||
<div class="copyright"> | ||
<span>© John Doe | 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
<!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"> | ||
|
||
<meta name="author" content="John Doe"> | ||
|
||
|
||
|
||
|
||
|
||
<title>Tag | 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> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<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's Blog</a></div> | ||
<div class="menu navbar-right"> | ||
|
||
<a class="menu-item" href="/archives">Posts</a> | ||
|
||
<a class="menu-item" href="/category">Categories</a> | ||
|
||
<a class="menu-item" href="/tag">Tags</a> | ||
|
||
<a class="menu-item" href="/about">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's Blog</a><a id="mobile-toggle-theme">· Light</a> | ||
</div> | ||
<div class="menu-toggle" onclick="mobileBtn()">☰ Menu</div> | ||
</div> | ||
<div class="menu" id="mobile-menu"> | ||
|
||
<a class="menu-item" href="/archives">Posts</a> | ||
|
||
<a class="menu-item" href="/category">Categories</a> | ||
|
||
<a class="menu-item" href="/tag">Tags</a> | ||
|
||
<a class="menu-item" href="/about">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"> | ||
<div class="post-wrap tags"> | ||
<h2 class="post-title">- Tag Cloud -</h2> | ||
|
||
<div class="tag-cloud-tags"> | ||
|
||
<a href="/tags/%E6%B5%8B%E8%AF%95/">测试<small>(1)</small></a> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
<footer id="footer" class="footer"> | ||
<div class="copyright"> | ||
<span>© John Doe | 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> |