|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | +<meta name="viewport" |
| 6 | + content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> |
| 7 | +<meta http-equiv="X-UA-Compatible" content="ie=edge"> |
| 8 | + |
| 9 | + <meta name="author" content="Francommit"> |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<title>Hello World | Francommits Blog</title> |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + <link rel="icon" href="/favicon.ico"> |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + <!-- stylesheets list from _config.yml --> |
| 25 | + |
| 26 | + <link rel="stylesheet" href="/css/style.css"> |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + <!-- scripts list from _config.yml --> |
| 32 | + |
| 33 | + <script src="/js/script.js"></script> |
| 34 | + |
| 35 | + <script src="/js/tocbot.min.js"></script> |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | +<meta name="generator" content="Hexo 4.2.0"></head> |
| 47 | +<body> |
| 48 | + <div class="wrapper"> |
| 49 | + <header> |
| 50 | + <nav class="navbar"> |
| 51 | + <div class="container"> |
| 52 | + <div class="navbar-header header-logo"><a href="/">Francommit's Blog</a></div> |
| 53 | + <div class="menu navbar-right"> |
| 54 | + |
| 55 | + <a class="menu-item" href="/archives">Posts</a> |
| 56 | + |
| 57 | + <a class="menu-item" href="/category">Categories</a> |
| 58 | + |
| 59 | + <a class="menu-item" href="/tag">Tags</a> |
| 60 | + |
| 61 | + <a class="menu-item" href="/resume">About</a> |
| 62 | + |
| 63 | + <input id="switch_default" type="checkbox" class="switch_default"> |
| 64 | + <label for="switch_default" class="toggleBtn"></label> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + </nav> |
| 68 | + |
| 69 | + |
| 70 | + <nav class="navbar-mobile" id="nav-mobile"> |
| 71 | + <div class="container"> |
| 72 | + <div class="navbar-header"> |
| 73 | + <div> |
| 74 | + <a href="/">Francommit's Blog</a><a id="mobile-toggle-theme">· Light</a> |
| 75 | + </div> |
| 76 | + <div class="menu-toggle" onclick="mobileBtn()">☰ Menu</div> |
| 77 | + </div> |
| 78 | + <div class="menu" id="mobile-menu"> |
| 79 | + |
| 80 | + <a class="menu-item" href="/archives">Posts</a> |
| 81 | + |
| 82 | + <a class="menu-item" href="/category">Categories</a> |
| 83 | + |
| 84 | + <a class="menu-item" href="/tag">Tags</a> |
| 85 | + |
| 86 | + <a class="menu-item" href="/resume">About</a> |
| 87 | + |
| 88 | + </div> |
| 89 | + </div> |
| 90 | + </nav> |
| 91 | + |
| 92 | +</header> |
| 93 | +<script> |
| 94 | + var mobileBtn = function f() { |
| 95 | + var toggleMenu = document.getElementsByClassName("menu-toggle")[0]; |
| 96 | + var mobileMenu = document.getElementById("mobile-menu"); |
| 97 | + if(toggleMenu.classList.contains("active")){ |
| 98 | + toggleMenu.classList.remove("active") |
| 99 | + mobileMenu.classList.remove("active") |
| 100 | + }else{ |
| 101 | + toggleMenu.classList.add("active") |
| 102 | + mobileMenu.classList.add("active") |
| 103 | + } |
| 104 | + } |
| 105 | +</script> |
| 106 | + <div class="main"> |
| 107 | + <div class="container"> |
| 108 | + |
| 109 | + |
| 110 | + <div class="post-toc"> |
| 111 | + <div class="tocbot-list"> |
| 112 | + </div> |
| 113 | + <div class="tocbot-list-menu"> |
| 114 | + <a class="tocbot-toc-expand" onclick="expand_toc()">Expand all</a> |
| 115 | + <a onclick="go_top()">Back to top</a> |
| 116 | + <a onclick="go_bottom()">Go to bottom</a> |
| 117 | + </div> |
| 118 | +</div> |
| 119 | + |
| 120 | +<script> |
| 121 | + document.ready( |
| 122 | + function () { |
| 123 | + tocbot.init({ |
| 124 | + tocSelector: '.tocbot-list', |
| 125 | + contentSelector: '.post-content', |
| 126 | + headingSelector: 'h1, h2, h3, h4, h5', |
| 127 | + collapseDepth: 1, |
| 128 | + orderedList: false, |
| 129 | + scrollSmooth: true, |
| 130 | + }) |
| 131 | + } |
| 132 | + ) |
| 133 | + |
| 134 | + function expand_toc() { |
| 135 | + var b = document.querySelector(".tocbot-toc-expand"); |
| 136 | + tocbot.init({ |
| 137 | + tocSelector: '.tocbot-list', |
| 138 | + contentSelector: '.post-content', |
| 139 | + headingSelector: 'h1, h2, h3, h4, h5', |
| 140 | + collapseDepth: 6, |
| 141 | + orderedList: false, |
| 142 | + scrollSmooth: true, |
| 143 | + }); |
| 144 | + b.setAttribute("onclick", "collapse_toc()"); |
| 145 | + b.innerHTML = "Collapse all" |
| 146 | + } |
| 147 | + |
| 148 | + function collapse_toc() { |
| 149 | + var b = document.querySelector(".tocbot-toc-expand"); |
| 150 | + tocbot.init({ |
| 151 | + tocSelector: '.tocbot-list', |
| 152 | + contentSelector: '.post-content', |
| 153 | + headingSelector: 'h1, h2, h3, h4, h5', |
| 154 | + collapseDepth: 1, |
| 155 | + orderedList: false, |
| 156 | + scrollSmooth: true, |
| 157 | + }); |
| 158 | + b.setAttribute("onclick", "expand_toc()"); |
| 159 | + b.innerHTML = "Expand all" |
| 160 | + } |
| 161 | + |
| 162 | + function go_top() { |
| 163 | + window.scrollTo(0, 0); |
| 164 | + } |
| 165 | + |
| 166 | + function go_bottom() { |
| 167 | + window.scrollTo(0, document.body.scrollHeight); |
| 168 | + } |
| 169 | + |
| 170 | +</script> |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + <article class="post-wrap"> |
| 175 | + <header class="post-header"> |
| 176 | + <h1 class="post-title">Hello World</h1> |
| 177 | + |
| 178 | + <div class="post-meta"> |
| 179 | + |
| 180 | + Author: <a itemprop="author" rel="author" href="/">Francommit</a> |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + <span class="post-time"> |
| 185 | + Date: <a href="#">January 1, 1970 0:00:00</a> |
| 186 | + </span> |
| 187 | + |
| 188 | + |
| 189 | + </div> |
| 190 | + |
| 191 | + </header> |
| 192 | + |
| 193 | + <div class="post-content"> |
| 194 | + <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">GitHub</a>.</p> |
| 195 | +<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> |
| 196 | + |
| 197 | +<p>More info: <a href="https://hexo.io/docs/writing.html" target="_blank" rel="noopener">Writing</a></p> |
| 198 | +<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> |
| 199 | + |
| 200 | +<p>More info: <a href="https://hexo.io/docs/server.html" target="_blank" rel="noopener">Server</a></p> |
| 201 | +<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> |
| 202 | + |
| 203 | +<p>More info: <a href="https://hexo.io/docs/generating.html" target="_blank" rel="noopener">Generating</a></p> |
| 204 | +<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> |
| 205 | + |
| 206 | +<p>More info: <a href="https://hexo.io/docs/one-command-deployment.html" target="_blank" rel="noopener">Deployment</a></p> |
| 207 | + |
| 208 | + </div> |
| 209 | + |
| 210 | + |
| 211 | + <section class="post-copyright"> |
| 212 | + |
| 213 | + <p class="copyright-item"> |
| 214 | + <span>Author:</span> |
| 215 | + <span>Francommit</span> |
| 216 | + </p> |
| 217 | + |
| 218 | + |
| 219 | + <p class="copyright-item"> |
| 220 | + <span>Permalink:</span> |
| 221 | + <span><a href="http://francommit.com/1970/01/01/hello-world/">http://francommit.com/1970/01/01/hello-world/</a></span> |
| 222 | + </p> |
| 223 | + |
| 224 | + |
| 225 | + <p class="copyright-item"> |
| 226 | + <span>License:</span> |
| 227 | + <span>Copyright (c) 2019 <a href="http://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC-BY-NC-4.0</a> LICENSE</span> |
| 228 | + </p> |
| 229 | + |
| 230 | + |
| 231 | + <p class="copyright-item"> |
| 232 | + <span>Slogan:</span> |
| 233 | + <span>Do you believe in <strong>DESTINY</strong>?</span> |
| 234 | + </p> |
| 235 | + |
| 236 | + |
| 237 | + </section> |
| 238 | + |
| 239 | + <section class="post-tags"> |
| 240 | + <div> |
| 241 | + <span>Tag(s):</span> |
| 242 | + <span class="tag"> |
| 243 | + |
| 244 | + </span> |
| 245 | + </div> |
| 246 | + <div> |
| 247 | + <a href="javascript:window.history.back();">back</a> |
| 248 | + <span>· </span> |
| 249 | + <a href="/">home</a> |
| 250 | + </div> |
| 251 | + </section> |
| 252 | + <section class="post-nav"> |
| 253 | + |
| 254 | + |
| 255 | + </section> |
| 256 | + |
| 257 | + |
| 258 | + </article> |
| 259 | +</div> |
| 260 | + |
| 261 | + </div> |
| 262 | + <footer id="footer" class="footer"> |
| 263 | + <div class="copyright"> |
| 264 | + <span>© Francommit | 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> |
| 265 | + </div> |
| 266 | +</footer> |
| 267 | + |
| 268 | + </div> |
| 269 | +</body> |
| 270 | +</html> |
0 commit comments