-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (121 loc) · 5.98 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>smiletosun</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="需要写点什么了">
<meta property="og:type" content="website">
<meta property="og:title" content="smiletosun">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="smiletosun">
<meta property="og:description" content="需要写点什么了">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="smiletosun">
<meta name="twitter:description" content="需要写点什么了">
<link rel="alternate" href="/atom.xml" title="smiletosun" type="application/atom+xml">
<link rel="icon" href="/favicon.png">
<link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/style.css">
</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">smiletosun</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="Suche"></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://yoursite.com"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-hexo使用问题" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2017/12/04/hexo使用问题/" class="article-date">
<time datetime="2017-12-03T16:42:16.621Z" itemprop="datePublished">2017-12-04</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2017/12/04/hexo使用问题/">哇,写博客原来是这么的intersting~</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>以前都是在看别人写的博客,现在有时间了,来记录一下生活工作的点点滴滴把。</p>
<h1 id="现记录一个初次使用hexo遇到的问题"><a href="#现记录一个初次使用hexo遇到的问题" class="headerlink" title="现记录一个初次使用hexo遇到的问题"></a>现记录一个初次使用hexo遇到的问题</h1><p>搞了一晚上,这个东西还是有点点坑,尤其是windows用户,如何配这些hexo,githubPages这些就不多少了,网上教程很多的,直接上问题。</p>
<h2 id="hexo-d发布blog的时候,报git-crlf相关错误"><a href="#hexo-d发布blog的时候,报git-crlf相关错误" class="headerlink" title="hexo d发布blog的时候,报git crlf相关错误"></a>hexo d发布blog的时候,报git crlf相关错误</h2><p>这是换行符问题,windows和是unix,linux系列的使用不同的换行符。。。</p>
<p><img src="../../img/hexo-crlf.png" alt="Alt text" title="Optional title"></p>
<p>解决办法:</p>
<ol>
<li>先删除.deploy_git目录</li>
<li>git config –global core.autocrlf false</li>
<li>hexo clean</li>
<li>hexo g</li>
<li>hexo d</li>
</ol>
<h2 id="使用git-管理hexo-以及-发布的blog"><a href="#使用git-管理hexo-以及-发布的blog" class="headerlink" title="使用git 管理hexo 以及 发布的blog"></a>使用git 管理hexo 以及 发布的blog</h2><p>在同一个仓库创建一个master hexo分支,这个知乎上有介绍,大家可以去产看一下,操作比较简单。这是地址(<a href="https://www.zhihu.com/question/21193762)。" target="_blank" rel="noopener">https://www.zhihu.com/question/21193762)。</a></p>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2017/12/04/hexo使用问题/" data-id="cjar136x00000ronhjc4yglwb" class="article-share-link">Teilen</a>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Archiv</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/">December 2017</a></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">letzter Beitrag</h3>
<div class="widget">
<ul>
<li>
<a href="/2017/12/04/hexo使用问题/">哇,写博客原来是这么的intersting~</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2017 smiletosun<br>
Powered by <a href="http://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="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script src="/js/script.js"></script>
</div>
</body>
</html>