-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
331 lines (200 loc) · 25.7 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="utf-8">
<title>Hexo</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:type" content="website">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:locale" content="en">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Hexo">
<link rel="alternate" href="/atom.xml" title="Hexo" 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>
</html>
<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://yoursite.com"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-公众号流程" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2019/10/21/公众号流程/" class="article-date">
<time datetime="2019-10-21T03:21:51.000Z" itemprop="datePublished">2019-10-21</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2019/10/21/公众号流程/">公众号流程</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h1 id="容信原有公众号流程"><a href="#容信原有公众号流程" class="headerlink" title="容信原有公众号流程"></a>容信原有公众号流程</h1><figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">MainOAListWidget</span> //公众号信息第一级列表</span></span><br><span class="line"><span class="class">{</span></span><br><span class="line"></span><br><span class="line">}</span><br></pre></td></tr></table></figure>
<img src="/2019/10/21/公众号流程/MainOAListWidget列表.png" title="MainOAListWidget列表">
<figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">OAHistoryListWidget</span> //公众号信息第二级列表</span></span><br><span class="line"><span class="class">{</span></span><br><span class="line"></span><br><span class="line">}</span><br></pre></td></tr></table></figure>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/10/21/公众号流程/" data-id="ck1zvsabz0003sctf4fr2deh0" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-QWebengineView内容查询" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2019/09/04/QWebengineView内容查询/" class="article-date">
<time datetime="2019-09-04T09:00:03.000Z" itemprop="datePublished">2019-09-04</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2019/09/04/QWebengineView内容查询/">QWebEngineView查询内容</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h2 id="缘由"><a href="#缘由" class="headerlink" title="缘由"></a>缘由</h2><p>因为手上有个Qt项目从Qt5.2升级到了Qt5.12版本,原有的QWebView的一系列控件无法使用,全部的内容都需要更换为QWebEngineView包括原有的一些解析HTML内容的方法都需要修改</p>
<h3 id="问题"><a href="#问题" class="headerlink" title="问题"></a>问题</h3><p>Qt5.2的WebKit支持同步的查询方法</p>
<figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"> <span class="comment">//Qt5.2支持的一种同步解析HTML的findAll()方法</span></span><br><span class="line">QWebPage webPage;</span><br><span class="line">webPage.mainFrame()->setContent(buffer);</span><br><span class="line">QWebElement Elent = webPage.mainFrame()->documentElement();</span><br><span class="line"> QString strUrltitle = tr(<span class="string">"Link"</span>);</span><br><span class="line"> QWebElementCollection ElentCollent = Elent.findAll(<span class="string">"title"</span>);</span><br><span class="line"> <span class="keyword">int</span> nCount = ElentCollent.count();</span><br><span class="line"></span><br><span class="line"> <span class="keyword">for</span> (<span class="keyword">int</span> i = <span class="number">0</span>; i < nCount; i++) {</span><br><span class="line"> QWebElement ElentCollent1 = ElentCollent.at(i);</span><br><span class="line"> strUrltitle = ElentCollent1.toPlainText();</span><br><span class="line"> <span class="keyword">break</span>;</span><br><span class="line"> }</span><br></pre></td></tr></table></figure>
<p>Qt5.12之后,Webkit内核被替换为了Chorme内核的浏览器,此内核不支持同步操作,需要修改为异步操作runJavaScript方法</p>
<figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br></pre></td><td class="code"><pre><span class="line"> <span class="keyword">void</span> QWebEnginePage::runJavaScript(<span class="keyword">const</span> QString &scriptSource, <span class="keyword">const</span> QWebEngineCallback<<span class="keyword">const</span> QVariant &> &resultCallback);</span><br><span class="line"> <span class="comment">/*执行脚本后,将使用上次执行的语句的结果调用ResultCallback。resultcallback可以是函数指针、函数或lambda中的任何一个,并且应采用qvariant参数。*/</span></span><br><span class="line"> <span class="comment">/*page.runJavaScript("document.title", [](const QVariant &v) { qDebug() << v.toString(); });*/</span></span><br><span class="line"><span class="keyword">if</span> (m_webPage == <span class="literal">nullptr</span>)</span><br><span class="line">{</span><br><span class="line"> m_webPage = <span class="keyword">new</span> QWebEnginePage;</span><br><span class="line"> connect(m_webPage, &QWebEnginePage::loadFinished, <span class="keyword">this</span>, [=](<span class="keyword">bool</span> ok) {</span><br><span class="line"> <span class="comment">//如果加载失败,加载接下来一条消息</span></span><br><span class="line"> <span class="comment">//加载成功,就在执行完js脚本后再加载接下来的url</span></span><br><span class="line"> qDebug() << <span class="string">"loadFinished"</span> << ok;</span><br><span class="line"> <span class="keyword">if</span> (ok)</span><br><span class="line"> {</span><br><span class="line"> <span class="comment">//此处是获取HTML标题、图标、描述的代码</span></span><br><span class="line"> QString js = <span class="string">"console.log(document.title);"</span></span><br><span class="line"> <span class="string">"var array = new Array();"</span></span><br><span class="line"> <span class="string">"array.push(document.title);"</span></span><br><span class="line"> <span class="string">"var descList = document.getElementsByName('description');"</span></span><br><span class="line"> <span class="string">"for (var i = 0; i<descList.length; i++)"</span></span><br><span class="line"> <span class="string">"{"</span></span><br><span class="line"> <span class="string">" if(descList[i].content !== undefined)"</span></span><br><span class="line"> <span class="string">" {"</span></span><br><span class="line"> <span class="string">" array.push(descList[i].content);"</span></span><br><span class="line"> <span class="string">" break;"</span></span><br><span class="line"> <span class="string">" }"</span></span><br><span class="line"> <span class="string">"}"</span></span><br><span class="line"> <span class="string">"if(array.length === 1)"</span></span><br><span class="line"> <span class="string">"{"</span></span><br><span class="line"> <span class="string">" array.push('undefined')"</span></span><br><span class="line"> <span class="string">"}"</span></span><br><span class="line"> <span class="string">"var list = document.getElementsByTagName('link');"</span></span><br><span class="line"> <span class="string">"for (var i = 0; i<list.length; i++)"</span></span><br><span class="line"> <span class="string">"{"</span></span><br><span class="line"> <span class="string">" if(list[i].href !== undefined)"</span></span><br><span class="line"> <span class="string">" {"</span></span><br><span class="line"> <span class="string">" if(list[i].href.search('.ico') !== -1)"</span></span><br><span class="line"> <span class="string">" {"</span></span><br><span class="line"> <span class="string">" array.push(list[i].href);"</span></span><br><span class="line"> <span class="string">" break;"</span></span><br><span class="line"> <span class="string">" }"</span></span><br><span class="line"> <span class="string">" }"</span></span><br><span class="line"> <span class="string">"}"</span></span><br><span class="line"> <span class="string">"if(array.length === 2)"</span></span><br><span class="line"> <span class="string">"{"</span></span><br><span class="line"> <span class="string">" array.push('undefined')"</span></span><br><span class="line"> <span class="string">"}"</span></span><br><span class="line"> <span class="string">"array"</span>;</span><br><span class="line"> m_webPage->runJavaScript(js,</span><br><span class="line"> [=](<span class="keyword">const</span> QVariant & resultArray) {</span><br><span class="line"> <span class="comment">//此处就可以拿到array的内容</span></span><br><span class="line"> QVariantList itemList = resultArray.value<QVariantList>();</span><br><span class="line"> });</span><br><span class="line"> }</span><br><span class="line"> });</span><br><span class="line">}</span><br></pre></td></tr></table></figure>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/09/04/QWebengineView内容查询/" data-id="ck1zvsaba0001sctfpqklyfso" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-QQuickImageProvider探究" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2019/08/30/QQuickImageProvider探究/" class="article-date">
<time datetime="2019-08-30T09:00:03.000Z" itemprop="datePublished">2019-08-30</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2019/08/30/QQuickImageProvider探究/">QQuickImageProvider探究</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<h2 id="QQuickImagePorvider简介"><a href="#QQuickImagePorvider简介" class="headerlink" title="QQuickImagePorvider简介"></a>QQuickImagePorvider简介</h2><p>QQuickImageProvider类提供了一个接口,用于支持qml中的pixmap和线程化图像请求<br>QQuickImageProvider用于在QML应用程序中提供高级图像加载功能。它允许qml中的图像为:</p>
<ul>
<li>使用QPixmap而不是实际图像文件加载</li>
<li>在单独的线程中异步加载</li>
</ul>
<h3 id="C-构造QQuickImagePorvider类"><a href="#C-构造QQuickImagePorvider类" class="headerlink" title="C++构造QQuickImagePorvider类"></a>C++构造QQuickImagePorvider类</h3><figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br></pre></td><td class="code"><pre><span class="line"><span class="class"><span class="keyword">class</span> <span class="title">ColorImageProvider</span> :</span> <span class="keyword">public</span> QQuickImageProvider</span><br><span class="line">{</span><br><span class="line"><span class="keyword">public</span>:</span><br><span class="line"> ColorImageProvider()</span><br><span class="line"> : QQuickImageProvider(QQuickImageProvider::Pixmap)</span><br><span class="line"> {</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="function">QPixmap <span class="title">requestPixmap</span><span class="params">(<span class="keyword">const</span> QString &id, QSize *size, <span class="keyword">const</span> QSize &requestedSize)</span> override</span></span><br><span class="line"><span class="function"> </span>{</span><br><span class="line"> <span class="keyword">int</span> width = <span class="number">100</span>;</span><br><span class="line"> <span class="keyword">int</span> height = <span class="number">50</span>;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">if</span> (size)</span><br><span class="line"> *size = QSize(width, height);</span><br><span class="line"> <span class="function">QPixmap <span class="title">pixmap</span><span class="params">(requestedSize.width() > <span class="number">0</span> ? requestedSize.width() : width,</span></span></span><br><span class="line"><span class="function"><span class="params"> requestedSize.height() > <span class="number">0</span> ? requestedSize.height() : height)</span></span>;</span><br><span class="line"> pixmap.fill(QColor(id).rgba());</span><br><span class="line"> <span class="keyword">return</span> pixmap;</span><br><span class="line"> }</span><br><span class="line">};</span><br></pre></td></tr></table></figure>
<h3 id="C-中注册QQuickImagePorvider"><a href="#C-中注册QQuickImagePorvider" class="headerlink" title="C++中注册QQuickImagePorvider"></a>C++中注册QQuickImagePorvider</h3><figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">int</span> <span class="title">main</span><span class="params">(<span class="keyword">int</span> argc, <span class="keyword">char</span> *argv[])</span></span></span><br><span class="line"><span class="function"></span>{</span><br><span class="line"> QQuickView view;</span><br><span class="line"> QQmlEngine *engine = view.engine();</span><br><span class="line"> **engine->addImageProvider(QLatin1String(<span class="string">"myimageprovider"</span>), <span class="keyword">new</span> ColorImageProvider);**</span><br><span class="line"> view.setSource(QUrl::fromLocalFile(QStringLiteral(<span class="string">"imageprovider-example.qml"</span>)));</span><br><span class="line"> view.show();</span><br><span class="line"> <span class="keyword">return</span> app.exec();</span><br><span class="line">}</span><br></pre></td></tr></table></figure>
<h3 id="使用Qml中使用QQuickImagePorvider"><a href="#使用Qml中使用QQuickImagePorvider" class="headerlink" title="使用Qml中使用QQuickImagePorvider"></a>使用Qml中使用QQuickImagePorvider</h3><p>标识符’myimageprovider’不区分大小写,但URL的其余部分将以保留大小写的形式传递。</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">Image{ </span><br><span class="line"> source:<span class="string">"image://myimageprovider/image.png"</span></span><br><span class="line">}</span><br></pre></td></tr></table></figure>
<p>这指定图像应由名为”MyImageProvider”的图像提供程序加载,要加载的图像名为’image.png’。<br>Qml引擎根据已通过QQmlEngine::addImageProvider().注册的提供程序调用相应的图像提供程序。</p>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/08/30/QQuickImageProvider探究/" data-id="ck1zvsab40000sctfru21joim" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-hello-world" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2019/08/30/hello-world/" class="article-date">
<time datetime="2019-08-30T08:31:03.751Z" itemprop="datePublished">2019-08-30</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2019/08/30/hello-world/">Hello World</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<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>
<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 href="https://hexo.io/docs/writing.html" target="_blank" rel="noopener">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 href="https://hexo.io/docs/server.html" target="_blank" rel="noopener">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 href="https://hexo.io/docs/generating.html" target="_blank" rel="noopener">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 href="https://hexo.io/docs/deployment.html" target="_blank" rel="noopener">Deployment</a></p>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/08/30/hello-world/" data-id="ck1zvsabv0002sctfj0r9su2j" 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/2019/10/">October 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/09/">September 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/08/">August 2019</a></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>
<li>
<a href="/2019/10/21/公众号流程/">公众号流程</a>
</li>
<li>
<a href="/2019/09/04/QWebengineView内容查询/">QWebEngineView查询内容</a>
</li>
<li>
<a href="/2019/08/30/QQuickImageProvider探究/">QQuickImageProvider探究</a>
</li>
<li>
<a href="/2019/08/30/hello-world/">Hello World</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2019 John Doe<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>