加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 18.08 KB
一键复制 编辑 原始数据 按行查看 历史
涂元坤 提交于 2019-10-28 15:13 . Site updated: 2019-10-28 15:13:38
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hexo</title>
<meta name="keywords" content="">
<meta name="description" content="Hexo">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<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:&#x2F;&#x2F;yoursite.com&#x2F;2019&#x2F;10&#x2F;28&#x2F;hello-world&#x2F;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">
<meta property="og:updated_time" content="2019-10-28T06:26:15.104Z">
<meta name="twitter:card" content="summary">
<link rel="icon" href="/img/avatar.jpg">
<link href="/css/style.css?v=1.0.1" rel="stylesheet">
<link href="/css/hl_theme/atom-light.css?v=1.0.1" rel="stylesheet">
<link href="//cdn.bootcss.com/animate.css/3.5.2/animate.min.css" rel="stylesheet">
<link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="/js/jquery.autocomplete.min.js?v=1.0.1" ></script>
<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
<script src="//cdn.bootcss.com/nprogress/0.2.0/nprogress.min.js"></script>
<script src="//cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js" ></script>
<script src="/js/iconfont.js?v=1.0.1" ></script>
</head>
<div style="display: none">
<input class="theme_disqus_on" value="false">
<input class="theme_preload_comment" value="false">
<input class="theme_blog_path" value="">
</div>
<body>
<aside class="nav mobile">
<div class="nav-left">
<a href="/" class="avatar_target">
<img class="avatar" src="/img/avatar.jpg" />
</a>
<div class="author">
<span>John Doe</span>
</div>
<div class="icon">
<a title="rss" href="/atom.xml" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-rss"></use>
</svg>
</a>
<a title="github" href="https://github.com/yelog" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-github"></use>
</svg>
</a>
<a title="facebook" href="https://www.facebook.com/faker.tops" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-facebook"></use>
</svg>
</a>
<a title="instagram" href="https://www.facebook.com/faker.tops" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-instagram"></use>
</svg>
</a>
<a title="reddit" href="https://www.reddit.com/user/yelog/" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-reddit"></use>
</svg>
</a>
<a title="weibo" href="http://weibo.com/u/2307534817" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-weibo"></use>
</svg>
</a>
<a title="jianshu" href="https://www.jianshu.com/u/ff56736de7cf" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-jianshu"></use>
</svg>
</a>
<a title="zhihu" href="https://www.zhihu.com/people/jaytp/activities" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-zhihu"></use>
</svg>
</a>
<a title="oschina" href="https://my.oschina.net/yelog" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-oschina"></use>
</svg>
</a>
<a title="email" href="mailto:jaytp@qq.com" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-email"></use>
</svg>
</a>
<a title="qq" href="http://wpa.qq.com/msgrd?v=3&uin=872336115&site=qq&menu=yes" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-qq"></use>
</svg>
</a>
<a title="kugou" href="https://www.kugou.com/" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-kugou"></use>
</svg>
</a>
<a title="neteasemusic" href="https://music.163.com/#/user/home?id=88151013" target="_blank">
<svg class="iconfont-svg" aria-hidden="true">
<use xlink:href="#icon-neteasemusic"></use>
</svg>
</a>
</div>
<ul>
<li><div class="all active">全部文章<small>(1)</small></div></li>
</ul>
<div class="left-bottom">
<div class="menus">
</div>
<div><a class="about hasFriend site_url" href="/about">关于</a><a style="width: 50%" class="friends">友链</a></div>
</div>
<input type="hidden" id="yelog_site_posts_number" value="1">
<div style="display: none">
<span id="busuanzi_value_site_uv"></span>
<span id="busuanzi_value_site_pv"></span>
</div>
</div>
<div class="nav-right">
<div class="friends-area">
<div class="friends-title">
友情链接
<i class="back-title-list"></i>
</div>
<div class="friends-content">
<ul>
<li><a target="_blank" href="http://yelog.org/">叶落阁</a></li>
</ul>
</div>
</div>
<div class="title-list">
<form onkeydown="if(event.keyCode==13){return false;}">
<input class="search" type="text" placeholder="Search..." autocomplete="off"id="local-search-input" >
<i class="cross"></i>
<span>
<label for="tagswitch">Tags:</label>
<input id="tagswitch" type="checkbox" style="display: none" />
<i id="tagsWitchIcon"></i>
</span>
</form>
<div class="tags-list">
<div class="clearfix"></div>
</div>
<nav id="title-list-nav">
<a class=""
href="/2019/10/28/hello-world/"
data-tag=""
data-author="" >
<span class="post-title" title="Hello World">Hello World</span>
<span class="post-date" title="2019-10-28 14:26:15">2019/10/28</span>
</a>
</nav>
</div>
</div>
<div class="hide-list">
<div class="semicircle">
<div class="brackets first"><</div>
<div class="brackets">&gt;</div>
</div>
</div>
</aside>
<div class="post index">
<div class="pjax">
<article class="index">
<div class="toc-ref">
<ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#Why-Blog"><span class="toc-text">Why Blog</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#对博客的理解"><span class="toc-text">对博客的理解</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#关于叶落阁"><span class="toc-text">关于叶落阁</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#博客平台"><span class="toc-text">博客平台</span></a></li></ol></li></ol>
<style>
.left-col .switch-btn,
.left-col .switch-area {
display: none;
}
.toc-level-3 i,
.toc-level-3 ol {
display: none !important;
}
</style>
</div>
<h1 id="Why-Blog"><a href="#Why-Blog" class="headerlink" title="Why Blog"></a>Why Blog</h1><h2 id="对博客的理解"><a href="#对博客的理解" class="headerlink" title="对博客的理解"></a>对博客的理解</h2><p>喜欢写Blog的人,会经历三个阶段。</p>
<blockquote>
<p>第一阶段,刚接触Blog,觉得很新鲜,试着选择一个免费空间来写。</p>
</blockquote>
<blockquote>
<p>第二阶段,发现免费空间限制太多,就自己购买域名和空间,搭建独立博客。</p>
</blockquote>
<blockquote>
<p>第三阶段,觉得独立博客的管理太麻烦,最好在保留控制权的前提下,让别人来管,自己只负责写文章。</p>
</blockquote>
<p>我们每个人的在网络上产生的数据越来越多,这些信息是我们在互联网上存在过的痕迹,值得我们认真对待。但是它们被分散分布在各个网站上。很多时候我们很难将它们聚合在一起,而且各个网站的信息排布方式也没有办法自由控制,所以我们需要一个可以由自己主宰的空间——博客。</p>
<p>通过博客,我们可以记录自己的生活和成长的轨迹。它不像 Twitter 那样碎片化,也不像 Facebook 那样关系化,它是私人的空间。</p>
<h2 id="关于叶落阁"><a href="#关于叶落阁" class="headerlink" title="关于叶落阁"></a>关于叶落阁</h2><p><strong>叶落阁</strong> 是阿杰(杨玉杰)的个人站。</p>
<p>到目前为止已经写了<code class="article_number"></code>篇文章, 共<code class="site_word_count"></code>字。</p>
<p>本站访问人数:<code class="site_uv"></code>人次 , 访问量:<code class="site_pv"></code></p>
<h2 id="博客平台"><a href="#博客平台" class="headerlink" title="博客平台"></a>博客平台</h2><p>这个博客通过 <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a> 生成,部署在 <a href="https://pages.github.com/" target="_blank" rel="noopener">GitHub Pages</a>,主题 <a href="https://github.com/yelog/hexo-theme-3-hexo" target="_blank" rel="noopener">3-hexo</a> 已经在github上开源</p>
<p>主要功能:</p>
<ul>
<li>搜索支持文章标题、标签(#标签)、作者(@作者)</li>
<li>pad/手机等移动端适配</li>
<li>页面全局快捷键 <a href='http://yelog.org/2017/03/24/3-hexo-shortcuts/' target="_blank" rel="noopener">3-hexo快捷键说明</a></li>
</ul>
</article>
<p>
<a href="javascript:void(0)" class="dashang" onclick="dashangToggle()"></a>
</p>
</div>
<div class="copyright">
<p class="footer-entry">©2016-2019 Yelog</p>
<p class="footer-entry">Built with <a href="https://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/yelog/hexo-theme-3-hexo" target="_blank">3-hexo</a> theme</p>
</div>
<div class="full-toc">
<button class="full"><span class="min "></span></button>
<button class="post-toc-menu"><span class="post-toc-menu-icons"></span></button>
<div class="post-toc"><span class="post-toc-title">目录</span>
<div class="post-toc-content">
</div>
</div>
<a class="" id="rocket" href="javascript:void(0)"></a>
</div>
</div>
<div class="acParent"></div>
<div class="hide_box" onclick="dashangToggle()"></div>
<div class="shang_box">
<a class="shang_close" href="javascript:void(0)" onclick="dashangToggle()">×</a>
<div class="shang_tit">
<p>喜欢就点赞,疼爱就打赏</p>
</div>
<div class="shang_payimg">
<div class="pay_img">
<img src="/img/alipay.jpg" class="alipay" title="扫码支持">
<img src="/img/weixin.jpg" class="weixin" title="扫码支持">
</div>
</div>
<div class="shang_payselect">
<span><label><input type="radio" name="pay" checked value="alipay">支付宝</label></span><span><label><input type="radio" name="pay" value="weixin">微信</label></span>
</div>
</div>
</body>
<script src="/js/jquery.pjax.js?v=1.0.1" ></script>
<script src="/js/script.js?v=1.0.1" ></script>
<script>
var img_resize = 'default';
/*作者、标签的自动补全*/
$(function () {
$('.search').AutoComplete({
'data': [],
'itemHeight': 20,
'width': 418
}).AutoComplete('show');
})
function initArticle() {
/*渲染对应的表格样式*/
$(".post .pjax table").addClass("green_title");
/*渲染打赏样式*/
$("input[name=pay]").on("click", function () {
if($("input[name=pay]:checked").val()=="weixin"){
$(".shang_box .shang_payimg .pay_img").addClass("weixin_img");
} else {
$(".shang_box .shang_payimg .pay_img").removeClass("weixin_img");
}
})
/*高亮代码块行号*/
$('pre code').each(function(){
var lines = $(this).text().split('\n').length - 1, widther='';
if (lines>99) {
widther = 'widther'
}
var $numbering = $('<ul/>').addClass('pre-numbering ' + widther).attr("unselectable","on");
$(this).addClass('has-numbering ' + widther)
.parent()
.append($numbering);
for(var i=1;i<=lines;i++){
$numbering.append($('<li/>').text(i));
}
});
/*访问数量*/
$.getScript("//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js");
/*代码高亮,行号对齐*/
$('.pre-numbering').css('line-height',$('.has-numbering').css('line-height'));
}
/*打赏页面隐藏与展示*/
function dashangToggle() {
$(".shang_box").fadeToggle();
$(".hide_box").fadeToggle();
}
</script>
<!--加入行号的高亮代码块样式-->
<style>
pre{
position: relative;
margin-bottom: 24px;
border-radius: 10px;
border: 1px solid #e2dede;
background: #FFF;
overflow: hidden;
}
code.has-numbering{
margin-left: 30px;
}
code.has-numbering.widther{
margin-left: 35px;
}
.pre-numbering{
margin: 0px;
position: absolute;
top: 0;
left: 0;
width: 20px;
padding: 0.5em 3px 0.7em 5px;
border-right: 1px solid #C3CCD0;
text-align: right;
color: #AAA;
background-color: #fafafa;
}
.pre-numbering.widther {
width: 35px;
}
</style>
<!--自定义样式设置-->
<style>
.nav {
width: 542px;
}
.nav.fullscreen {
margin-left: -542px;
}
.nav-left {
width: 120px;
}
@media screen and (max-width: 1468px) {
.nav {
width: 492px;
}
.nav.fullscreen {
margin-left: -492px;
}
.nav-left {
width: 100px;
}
}
@media screen and (max-width: 1024px) {
.nav {
width: 492px;
margin-left: -492px
}
.nav.fullscreen {
margin-left: 0;
}
.nav .hide-list.fullscreen {
left: 492px
}
}
@media screen and (max-width: 426px) {
.nav {
width: 100%;
}
.nav-left {
width: 100%;
}
}
.nav-right .title-list nav a .post-title, .nav-right .title-list #local-search-result a .post-title {
color: #383636;
}
.nav-right .title-list nav a .post-date, .nav-right .title-list #local-search-result a .post-date {
color: #5e5e5f;
}
.nav-right nav a.hover, #local-search-result a.hover{
background-color: #e2e0e0;
}
/*列表样式*/
.post .pjax article .article-entry>ol, .post .pjax article .article-entry>ul, .post .pjax article>ol, .post .pjax article>ul{
border: #e2dede solid 1px;
border-radius: 10px;
padding: 10px 32px 10px 56px;
}
.post .pjax article .article-entry li>ol, .post .pjax article .article-entry li>ul,.post .pjax article li>ol, .post .pjax article li>ul{
padding-top: 5px;
padding-bottom: 5px;
}
.post .pjax article .article-entry>ol>li, .post .pjax article .article-entry>ul>li,.post .pjax article>ol>li, .post .pjax article>ul>li{
margin-bottom: auto;
margin-left: auto;
}
.post .pjax article .article-entry li>ol>li, .post .pjax article .article-entry li>ul>li,.post .pjax article li>ol>li, .post .pjax article li>ul>li{
margin-bottom: auto;
margin-left: auto;
}
/* 背景图样式 */
/*引用块样式*/
/*文章列表背景图*/
.nav-right:before {
content: ' ';
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0.3;
background: url("https://i.loli.net/2019/07/22/5d3521411f3f169375.png");
background-repeat: no-repeat;
background-position: 50% 0;
-ms-background-size: cover;
-o-background-size: cover;
-moz-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
}
</style>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化