mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
blog update
This commit is contained in:
parent
07ac31aede
commit
39b4bb31f3
13 changed files with 528 additions and 218 deletions
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2019-01-09 08:44:02</span></span>
|
||||
<span class="attr">发布于:<span>2019-01-10 11:16:47</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
@ -113,7 +135,7 @@
|
|||
<p>超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、……,可彻底绝杀一切广告。</p>
|
||||
<ul>
|
||||
<li>长按广告链接,点击“图片:屏蔽根域名”,修改弹出域名,一般取最后两段,点击”确定”屏蔽当前图片网址。</li>
|
||||
<li>部分广告没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击”看图模式”,再长按广告链接点击“图片:屏蔽根域名”,屏蔽图片网址。</li>
|
||||
<li>部分广告没有链接可长按,或虽有链接但长按时不出现图片相关菜单。此时可长按[JS]点击”背景图片”或”看图模式”,再长按广告链接点击“图片:屏蔽根域名”,屏蔽图片网址。</li>
|
||||
<li><p>(可选) 长按广告链接,点击“屏蔽根域名”,屏蔽链接网址。</p>
|
||||
</li>
|
||||
<li><p>(可选) 某些广告靠javascript激发,链接中不出现域名,可点击激发至新网址后将新网址根域名屏蔽。</p>
|
||||
|
|
|
@ -43,30 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -74,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -107,7 +133,7 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>01-09</span>
|
||||
<span>01-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/adblock/">
|
||||
<span>
|
||||
|
|
|
@ -43,30 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -74,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -107,7 +133,7 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>01-09</span>
|
||||
<span>01-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/adblock/">
|
||||
<span>
|
||||
|
|
|
@ -43,30 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -74,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -107,7 +133,7 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>01-09</span>
|
||||
<span>01-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/adblock/">
|
||||
<span>
|
||||
|
|
|
@ -43,30 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -74,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -107,7 +133,7 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>01-09</span>
|
||||
<span>01-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/adblock/">
|
||||
<span>
|
||||
|
|
|
@ -43,30 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -74,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -107,7 +133,7 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>01-09</span>
|
||||
<span>01-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/adblock/">
|
||||
<span>
|
||||
|
|
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
<ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#安装bc"><span class="toc-text">安装bc</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#配置文件-sdcard-uweb-cmds-txt如下:"><span class="toc-text">配置文件/sdcard/uweb/cmds.txt如下:</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#更多bc扩展库:"><span class="toc-text">更多bc扩展库:</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#使用扩展库以后cmds-txt配置如下:"><span class="toc-text">使用扩展库以后cmds.txt配置如下:</span></a></li></ol>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2018-12-11 06:53:33</span></span>
|
||||
<span class="attr">发布于:<span>2018-12-11 06:53:33</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
<ol class="toc"><li class="toc-item toc-level-4"><a class="toc-link" href="#安装gnuplot"><span class="toc-text">安装gnuplot</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#配置文件-sdcard-uweb-cmds-txt如下:"><span class="toc-text">配置文件/sdcard/uweb/cmds.txt如下:</span></a></li></ol>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2018-12-11 07:04:19</span></span>
|
||||
<span class="attr">发布于:<span>2018-12-11 07:04:19</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2018-12-11 07:07:58</span></span>
|
||||
<span class="attr">发布于:<span>2018-12-11 07:07:58</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
54
index.html
54
index.html
|
@ -43,30 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li class="active">
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -74,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -93,7 +119,7 @@
|
|||
<div class="post-preview-container" style="min-height: 720px">
|
||||
|
||||
<div class="post-preview">
|
||||
<div class="post-time">2019-01-09</div>
|
||||
<div class="post-time">2019-01-10</div>
|
||||
<div class="post-info">
|
||||
<a href="/uWeb/adblock/">
|
||||
<h3>
|
||||
|
|
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2019-01-01 10:59:26</span></span>
|
||||
<span class="attr">发布于:<span>2019-01-01 10:59:26</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2018-12-09 15:43:51</span></span>
|
||||
<span class="attr">发布于:<span>2018-12-09 15:43:51</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -43,34 +43,56 @@
|
|||
<div class="index-left">
|
||||
|
||||
<div class="nav" id="nav">
|
||||
<div class="avatar-name">
|
||||
<div class="avatar">
|
||||
<img src="<%= config['root'] %><%= config['sidebar-avatar'] %>" />
|
||||
</div>
|
||||
<div class="name">
|
||||
<i><%= config.author %></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contents" id="nav-content">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/uWeb/">
|
||||
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||
<i class="iconfont icon-shouye1"></i>
|
||||
<span>HOME</span>
|
||||
<span><%= __('nav.home') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.tag_dir) %>">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
<span><%= __('nav.tags') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= url_for(config.archive_dir) %>">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
<span><%= __('nav.archives') %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li <% if(is_current('about')){ %> <%- "class=active" %> <% } %>>
|
||||
<a href="<%= config.root %><%- 'about/' %>">
|
||||
<i class="iconfont icon-guanyu2"></i>
|
||||
<span><%= __('nav.about') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<%if(config.search && config.search.path){%>
|
||||
<li>
|
||||
<a id="search">
|
||||
<i class="iconfont icon-sousuo1"></i>
|
||||
<span><%= __('nav.search') %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="toc" class="toc-article">
|
||||
|
||||
</div>
|
||||
|
||||
<%
|
||||
if(is_post()){
|
||||
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||
%>
|
||||
<%- partial('./toc', {item: page, index: false}) %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -78,8 +100,8 @@
|
|||
<div class="search-container">
|
||||
<div class="search-input">
|
||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||
<input id="search-input">
|
||||
<span id="begin-search">search</span>
|
||||
<input id="search-input"/>
|
||||
<span id="begin-search"><%= __('search.search') %></span>
|
||||
</div>
|
||||
<div class="search-result-container" id="search-result-container">
|
||||
|
||||
|
@ -102,10 +124,10 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2018-12-10 10:03:33</span></span>
|
||||
<span class="attr">发布于:<span>2018-12-10 10:03:33</span></span>
|
||||
|
||||
|
||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||
<span class="attr">访问:<span id="busuanzi_value_page_pv"></span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue