Site updated: 2022-03-14 19:43:37
This commit is contained in:
parent
9a908f9cf1
commit
ed9e8193e4
207
2022/03/14/hello-world/index.html
Normal file
207
2022/03/14/hello-world/index.html
Normal file
|
@ -0,0 +1,207 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
|
||||
<title>Hello World | Hexo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:title" content="Hello World">
|
||||
<meta property="og:url" content="http://example.com/2022/03/14/hello-world/index.html">
|
||||
<meta property="og:site_name" content="Hexo">
|
||||
<meta property="og:description" content="Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="article:published_time" content="2022-03-14T11:28:54.543Z">
|
||||
<meta property="article:modified_time" content="2022-03-14T11:28:54.543Z">
|
||||
<meta property="article:author" content="John Doe">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
<link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
|
||||
|
||||
|
||||
<meta name="generator" content="Hexo 6.1.0"></head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="wrap">
|
||||
<header id="header">
|
||||
<div id="banner"></div>
|
||||
<div id="header-outer" class="outer">
|
||||
<div id="header-title" class="inner">
|
||||
<h1 id="logo-wrap">
|
||||
<a href="/" id="logo">Hexo</a>
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
<div id="header-inner" class="inner">
|
||||
<nav id="main-nav">
|
||||
<a id="main-nav-toggle" class="nav-icon"></a>
|
||||
|
||||
<a class="main-nav-link" href="/">Home</a>
|
||||
|
||||
<a class="main-nav-link" href="/archives">Archives</a>
|
||||
|
||||
</nav>
|
||||
<nav id="sub-nav">
|
||||
|
||||
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
|
||||
|
||||
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
|
||||
</nav>
|
||||
<div id="search-form-wrap">
|
||||
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://example.com"></form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="outer">
|
||||
<section id="main"><article id="post-hello-world" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
|
||||
<div class="article-meta">
|
||||
<a href="/2022/03/14/hello-world/" class="article-date">
|
||||
<time class="dt-published" datetime="2022-03-14T11:28:54.543Z" itemprop="datePublished">2022-03-14</time>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="article-inner">
|
||||
|
||||
|
||||
<header class="article-header">
|
||||
|
||||
|
||||
<h1 class="p-name article-title" itemprop="headline name">
|
||||
Hello World
|
||||
</h1>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<div class="e-content article-entry" itemprop="articleBody">
|
||||
|
||||
<p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
|
||||
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
|
||||
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
|
||||
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
|
||||
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="article-footer">
|
||||
<a data-url="http://example.com/2022/03/14/hello-world/" data-id="cl0qn0ctk0000qcuybv2z0cef" data-title="Hello World" class="article-share-link">Share</a>
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<aside id="sidebar">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Archives</h3>
|
||||
<div class="widget">
|
||||
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">March 2022</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Recent Posts</h3>
|
||||
<div class="widget">
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
|
||||
© 2022 John Doe<br>
|
||||
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
<nav id="mobile-nav">
|
||||
|
||||
<a href="/" class="mobile-nav-link">Home</a>
|
||||
|
||||
<a href="/archives" class="mobile-nav-link">Archives</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<script src="/js/jquery-3.4.1.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/fancybox/jquery.fancybox.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/js/script.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
187
archives/2022/03/index.html
Normal file
187
archives/2022/03/index.html
Normal file
|
@ -0,0 +1,187 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
|
||||
<title>Archives: 2022/3 | Hexo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Hexo">
|
||||
<meta property="og:url" content="http://example.com/archives/2022/03/index.html">
|
||||
<meta property="og:site_name" content="Hexo">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="article:author" content="John Doe">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
<link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
|
||||
|
||||
|
||||
<meta name="generator" content="Hexo 6.1.0"></head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="wrap">
|
||||
<header id="header">
|
||||
<div id="banner"></div>
|
||||
<div id="header-outer" class="outer">
|
||||
<div id="header-title" class="inner">
|
||||
<h1 id="logo-wrap">
|
||||
<a href="/" id="logo">Hexo</a>
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
<div id="header-inner" class="inner">
|
||||
<nav id="main-nav">
|
||||
<a id="main-nav-toggle" class="nav-icon"></a>
|
||||
|
||||
<a class="main-nav-link" href="/">Home</a>
|
||||
|
||||
<a class="main-nav-link" href="/archives">Archives</a>
|
||||
|
||||
</nav>
|
||||
<nav id="sub-nav">
|
||||
|
||||
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
|
||||
|
||||
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
|
||||
</nav>
|
||||
<div id="search-form-wrap">
|
||||
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://example.com"></form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="outer">
|
||||
<section id="main">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section class="archives-wrap">
|
||||
<div class="archive-year-wrap">
|
||||
<a href="/archives/2022" class="archive-year">2022</a>
|
||||
</div>
|
||||
<div class="archives">
|
||||
|
||||
<article class="archive-article archive-type-post">
|
||||
<div class="archive-article-inner">
|
||||
<header class="archive-article-header">
|
||||
<a href="/2022/03/14/hello-world/" class="archive-article-date">
|
||||
<time class="dt-published" datetime="2022-03-14T11:28:54.543Z" itemprop="datePublished">Mar 14</time>
|
||||
</a>
|
||||
|
||||
|
||||
<h1 itemprop="name">
|
||||
<a class="archive-article-title" href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</h1>
|
||||
|
||||
|
||||
</header>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
</div></section>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<aside id="sidebar">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Archives</h3>
|
||||
<div class="widget">
|
||||
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">March 2022</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Recent Posts</h3>
|
||||
<div class="widget">
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
|
||||
© 2022 John Doe<br>
|
||||
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
<nav id="mobile-nav">
|
||||
|
||||
<a href="/" class="mobile-nav-link">Home</a>
|
||||
|
||||
<a href="/archives" class="mobile-nav-link">Archives</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<script src="/js/jquery-3.4.1.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/fancybox/jquery.fancybox.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/js/script.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
187
archives/2022/index.html
Normal file
187
archives/2022/index.html
Normal file
|
@ -0,0 +1,187 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
|
||||
<title>Archives: 2022 | Hexo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Hexo">
|
||||
<meta property="og:url" content="http://example.com/archives/2022/index.html">
|
||||
<meta property="og:site_name" content="Hexo">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="article:author" content="John Doe">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
<link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
|
||||
|
||||
|
||||
<meta name="generator" content="Hexo 6.1.0"></head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="wrap">
|
||||
<header id="header">
|
||||
<div id="banner"></div>
|
||||
<div id="header-outer" class="outer">
|
||||
<div id="header-title" class="inner">
|
||||
<h1 id="logo-wrap">
|
||||
<a href="/" id="logo">Hexo</a>
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
<div id="header-inner" class="inner">
|
||||
<nav id="main-nav">
|
||||
<a id="main-nav-toggle" class="nav-icon"></a>
|
||||
|
||||
<a class="main-nav-link" href="/">Home</a>
|
||||
|
||||
<a class="main-nav-link" href="/archives">Archives</a>
|
||||
|
||||
</nav>
|
||||
<nav id="sub-nav">
|
||||
|
||||
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
|
||||
|
||||
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
|
||||
</nav>
|
||||
<div id="search-form-wrap">
|
||||
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://example.com"></form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="outer">
|
||||
<section id="main">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section class="archives-wrap">
|
||||
<div class="archive-year-wrap">
|
||||
<a href="/archives/2022" class="archive-year">2022</a>
|
||||
</div>
|
||||
<div class="archives">
|
||||
|
||||
<article class="archive-article archive-type-post">
|
||||
<div class="archive-article-inner">
|
||||
<header class="archive-article-header">
|
||||
<a href="/2022/03/14/hello-world/" class="archive-article-date">
|
||||
<time class="dt-published" datetime="2022-03-14T11:28:54.543Z" itemprop="datePublished">Mar 14</time>
|
||||
</a>
|
||||
|
||||
|
||||
<h1 itemprop="name">
|
||||
<a class="archive-article-title" href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</h1>
|
||||
|
||||
|
||||
</header>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
</div></section>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<aside id="sidebar">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Archives</h3>
|
||||
<div class="widget">
|
||||
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">March 2022</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Recent Posts</h3>
|
||||
<div class="widget">
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
|
||||
© 2022 John Doe<br>
|
||||
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
<nav id="mobile-nav">
|
||||
|
||||
<a href="/" class="mobile-nav-link">Home</a>
|
||||
|
||||
<a href="/archives" class="mobile-nav-link">Archives</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<script src="/js/jquery-3.4.1.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/fancybox/jquery.fancybox.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/js/script.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
187
archives/index.html
Normal file
187
archives/index.html
Normal file
|
@ -0,0 +1,187 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
|
||||
<title>Archives | Hexo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Hexo">
|
||||
<meta property="og:url" content="http://example.com/archives/index.html">
|
||||
<meta property="og:site_name" content="Hexo">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="article:author" content="John Doe">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
<link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
|
||||
|
||||
|
||||
<meta name="generator" content="Hexo 6.1.0"></head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="wrap">
|
||||
<header id="header">
|
||||
<div id="banner"></div>
|
||||
<div id="header-outer" class="outer">
|
||||
<div id="header-title" class="inner">
|
||||
<h1 id="logo-wrap">
|
||||
<a href="/" id="logo">Hexo</a>
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
<div id="header-inner" class="inner">
|
||||
<nav id="main-nav">
|
||||
<a id="main-nav-toggle" class="nav-icon"></a>
|
||||
|
||||
<a class="main-nav-link" href="/">Home</a>
|
||||
|
||||
<a class="main-nav-link" href="/archives">Archives</a>
|
||||
|
||||
</nav>
|
||||
<nav id="sub-nav">
|
||||
|
||||
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
|
||||
|
||||
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
|
||||
</nav>
|
||||
<div id="search-form-wrap">
|
||||
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://example.com"></form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="outer">
|
||||
<section id="main">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section class="archives-wrap">
|
||||
<div class="archive-year-wrap">
|
||||
<a href="/archives/2022" class="archive-year">2022</a>
|
||||
</div>
|
||||
<div class="archives">
|
||||
|
||||
<article class="archive-article archive-type-post">
|
||||
<div class="archive-article-inner">
|
||||
<header class="archive-article-header">
|
||||
<a href="/2022/03/14/hello-world/" class="archive-article-date">
|
||||
<time class="dt-published" datetime="2022-03-14T11:28:54.543Z" itemprop="datePublished">Mar 14</time>
|
||||
</a>
|
||||
|
||||
|
||||
<h1 itemprop="name">
|
||||
<a class="archive-article-title" href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</h1>
|
||||
|
||||
|
||||
</header>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
</div></section>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<aside id="sidebar">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Archives</h3>
|
||||
<div class="widget">
|
||||
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">March 2022</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Recent Posts</h3>
|
||||
<div class="widget">
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
|
||||
© 2022 John Doe<br>
|
||||
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
<nav id="mobile-nav">
|
||||
|
||||
<a href="/" class="mobile-nav-link">Home</a>
|
||||
|
||||
<a href="/archives" class="mobile-nav-link">Archives</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<script src="/js/jquery-3.4.1.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/fancybox/jquery.fancybox.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/js/script.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
css/fonts/FontAwesome.otf
Normal file
BIN
css/fonts/FontAwesome.otf
Normal file
Binary file not shown.
BIN
css/fonts/fontawesome-webfont.eot
Normal file
BIN
css/fonts/fontawesome-webfont.eot
Normal file
Binary file not shown.
2671
css/fonts/fontawesome-webfont.svg
Normal file
2671
css/fonts/fontawesome-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 434 KiB |
BIN
css/fonts/fontawesome-webfont.ttf
Normal file
BIN
css/fonts/fontawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
css/fonts/fontawesome-webfont.woff
Normal file
BIN
css/fonts/fontawesome-webfont.woff
Normal file
Binary file not shown.
BIN
css/fonts/fontawesome-webfont.woff2
Normal file
BIN
css/fonts/fontawesome-webfont.woff2
Normal file
Binary file not shown.
BIN
css/images/banner.jpg
Normal file
BIN
css/images/banner.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 219 KiB |
1374
css/style.css
Normal file
1374
css/style.css
Normal file
File diff suppressed because it is too large
Load Diff
1
fancybox/jquery.fancybox.min.css
vendored
Normal file
1
fancybox/jquery.fancybox.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
13
fancybox/jquery.fancybox.min.js
vendored
Normal file
13
fancybox/jquery.fancybox.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
207
index.html
Normal file
207
index.html
Normal file
|
@ -0,0 +1,207 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
|
||||
<title>Hexo</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Hexo">
|
||||
<meta property="og:url" content="http://example.com/index.html">
|
||||
<meta property="og:site_name" content="Hexo">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="article:author" content="John Doe">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
<link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
|
||||
|
||||
|
||||
<meta name="generator" content="Hexo 6.1.0"></head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="wrap">
|
||||
<header id="header">
|
||||
<div id="banner"></div>
|
||||
<div id="header-outer" class="outer">
|
||||
<div id="header-title" class="inner">
|
||||
<h1 id="logo-wrap">
|
||||
<a href="/" id="logo">Hexo</a>
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
<div id="header-inner" class="inner">
|
||||
<nav id="main-nav">
|
||||
<a id="main-nav-toggle" class="nav-icon"></a>
|
||||
|
||||
<a class="main-nav-link" href="/">Home</a>
|
||||
|
||||
<a class="main-nav-link" href="/archives">Archives</a>
|
||||
|
||||
</nav>
|
||||
<nav id="sub-nav">
|
||||
|
||||
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
|
||||
|
||||
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
|
||||
</nav>
|
||||
<div id="search-form-wrap">
|
||||
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://example.com"></form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="outer">
|
||||
<section id="main">
|
||||
|
||||
<article id="post-hello-world" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
|
||||
<div class="article-meta">
|
||||
<a href="/2022/03/14/hello-world/" class="article-date">
|
||||
<time class="dt-published" datetime="2022-03-14T11:28:54.543Z" itemprop="datePublished">2022-03-14</time>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="article-inner">
|
||||
|
||||
|
||||
<header class="article-header">
|
||||
|
||||
|
||||
<h1 itemprop="name">
|
||||
<a class="p-name article-title" href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</h1>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<div class="e-content article-entry" itemprop="articleBody">
|
||||
|
||||
<p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
|
||||
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
|
||||
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
|
||||
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
|
||||
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
|
||||
|
||||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="article-footer">
|
||||
<a data-url="http://example.com/2022/03/14/hello-world/" data-id="cl0qn0ctk0000qcuybv2z0cef" data-title="Hello World" class="article-share-link">Share</a>
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<aside id="sidebar">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Archives</h3>
|
||||
<div class="widget">
|
||||
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">March 2022</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="widget-wrap">
|
||||
<h3 class="widget-title">Recent Posts</h3>
|
||||
<div class="widget">
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/2022/03/14/hello-world/">Hello World</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
<footer id="footer">
|
||||
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
|
||||
© 2022 John Doe<br>
|
||||
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
<nav id="mobile-nav">
|
||||
|
||||
<a href="/" class="mobile-nav-link">Home</a>
|
||||
|
||||
<a href="/archives" class="mobile-nav-link">Archives</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<script src="/js/jquery-3.4.1.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/fancybox/jquery.fancybox.min.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="/js/script.js"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
2
js/jquery-3.4.1.min.js
vendored
Normal file
2
js/jquery-3.4.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
138
js/script.js
Normal file
138
js/script.js
Normal file
|
@ -0,0 +1,138 @@
|
|||
(function($){
|
||||
// Search
|
||||
var $searchWrap = $('#search-form-wrap'),
|
||||
isSearchAnim = false,
|
||||
searchAnimDuration = 200;
|
||||
|
||||
var startSearchAnim = function(){
|
||||
isSearchAnim = true;
|
||||
};
|
||||
|
||||
var stopSearchAnim = function(callback){
|
||||
setTimeout(function(){
|
||||
isSearchAnim = false;
|
||||
callback && callback();
|
||||
}, searchAnimDuration);
|
||||
};
|
||||
|
||||
$('#nav-search-btn').on('click', function(){
|
||||
if (isSearchAnim) return;
|
||||
|
||||
startSearchAnim();
|
||||
$searchWrap.addClass('on');
|
||||
stopSearchAnim(function(){
|
||||
$('.search-form-input').focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.search-form-input').on('blur', function(){
|
||||
startSearchAnim();
|
||||
$searchWrap.removeClass('on');
|
||||
stopSearchAnim();
|
||||
});
|
||||
|
||||
// Share
|
||||
$('body').on('click', function(){
|
||||
$('.article-share-box.on').removeClass('on');
|
||||
}).on('click', '.article-share-link', function(e){
|
||||
e.stopPropagation();
|
||||
|
||||
var $this = $(this),
|
||||
url = $this.attr('data-url'),
|
||||
encodedUrl = encodeURIComponent(url),
|
||||
id = 'article-share-box-' + $this.attr('data-id'),
|
||||
title = $this.attr('data-title'),
|
||||
offset = $this.offset();
|
||||
|
||||
if ($('#' + id).length){
|
||||
var box = $('#' + id);
|
||||
|
||||
if (box.hasClass('on')){
|
||||
box.removeClass('on');
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
var html = [
|
||||
'<div id="' + id + '" class="article-share-box">',
|
||||
'<input class="article-share-input" value="' + url + '">',
|
||||
'<div class="article-share-links">',
|
||||
'<a href="https://twitter.com/intent/tweet?text=' + encodeURIComponent(title) + '&url=' + encodedUrl + '" class="article-share-twitter" target="_blank" title="Twitter"></a>',
|
||||
'<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>',
|
||||
'<a href="http://pinterest.com/pin/create/button/?url=' + encodedUrl + '" class="article-share-pinterest" target="_blank" title="Pinterest"></a>',
|
||||
'<a href="https://www.linkedin.com/shareArticle?mini=true&url=' + encodedUrl + '" class="article-share-linkedin" target="_blank" title="LinkedIn"></a>',
|
||||
'</div>',
|
||||
'</div>'
|
||||
].join('');
|
||||
|
||||
var box = $(html);
|
||||
|
||||
$('body').append(box);
|
||||
}
|
||||
|
||||
$('.article-share-box.on').hide();
|
||||
|
||||
box.css({
|
||||
top: offset.top + 25,
|
||||
left: offset.left
|
||||
}).addClass('on');
|
||||
}).on('click', '.article-share-box', function(e){
|
||||
e.stopPropagation();
|
||||
}).on('click', '.article-share-box-input', function(){
|
||||
$(this).select();
|
||||
}).on('click', '.article-share-box-link', function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450');
|
||||
});
|
||||
|
||||
// Caption
|
||||
$('.article-entry').each(function(i){
|
||||
$(this).find('img').each(function(){
|
||||
if ($(this).parent().hasClass('fancybox') || $(this).parent().is('a')) return;
|
||||
|
||||
var alt = this.alt;
|
||||
|
||||
if (alt) $(this).after('<span class="caption">' + alt + '</span>');
|
||||
|
||||
$(this).wrap('<a href="' + this.src + '" data-fancybox=\"gallery\" data-caption="' + alt + '"></a>')
|
||||
});
|
||||
|
||||
$(this).find('.fancybox').each(function(){
|
||||
$(this).attr('rel', 'article' + i);
|
||||
});
|
||||
});
|
||||
|
||||
if ($.fancybox){
|
||||
$('.fancybox').fancybox();
|
||||
}
|
||||
|
||||
// Mobile nav
|
||||
var $container = $('#container'),
|
||||
isMobileNavAnim = false,
|
||||
mobileNavAnimDuration = 200;
|
||||
|
||||
var startMobileNavAnim = function(){
|
||||
isMobileNavAnim = true;
|
||||
};
|
||||
|
||||
var stopMobileNavAnim = function(){
|
||||
setTimeout(function(){
|
||||
isMobileNavAnim = false;
|
||||
}, mobileNavAnimDuration);
|
||||
}
|
||||
|
||||
$('#main-nav-toggle').on('click', function(){
|
||||
if (isMobileNavAnim) return;
|
||||
|
||||
startMobileNavAnim();
|
||||
$container.toggleClass('mobile-nav-on');
|
||||
stopMobileNavAnim();
|
||||
});
|
||||
|
||||
$('#wrap').on('click', function(){
|
||||
if (isMobileNavAnim || !$container.hasClass('mobile-nav-on')) return;
|
||||
|
||||
$container.removeClass('mobile-nav-on');
|
||||
});
|
||||
})(jQuery);
|
Loading…
Reference in New Issue
Block a user