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
7f09321c44
commit
2f3fced01d
14 changed files with 641 additions and 304 deletions
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
|
@ -43,30 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -102,6 +128,21 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<!-- <li class="listing-item">
|
||||||
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
</li> -->
|
||||||
|
<li>
|
||||||
|
<span>01-24</span>
|
||||||
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||||
|
<a href="/uWeb/hosts/">
|
||||||
|
<span>
|
||||||
|
利用超级hosts文件加速访问国外网站
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
@ -157,21 +198,6 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
|
||||||
</li> -->
|
|
||||||
<li>
|
|
||||||
<span>12-11</span>
|
|
||||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
|
||||||
<a href="/uWeb/hosts/">
|
|
||||||
<span>
|
|
||||||
利用超级hosts文件加速访问国外网站
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
|
|
@ -43,30 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -102,6 +128,21 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<!-- <li class="listing-item">
|
||||||
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
</li> -->
|
||||||
|
<li>
|
||||||
|
<span>01-24</span>
|
||||||
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||||
|
<a href="/uWeb/hosts/">
|
||||||
|
<span>
|
||||||
|
利用超级hosts文件加速访问国外网站
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
@ -157,21 +198,6 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
|
||||||
</li> -->
|
|
||||||
<li>
|
|
||||||
<span>12-11</span>
|
|
||||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
|
||||||
<a href="/uWeb/hosts/">
|
|
||||||
<span>
|
|
||||||
利用超级hosts文件加速访问国外网站
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
|
|
@ -43,30 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -102,6 +128,21 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<!-- <li class="listing-item">
|
||||||
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
</li> -->
|
||||||
|
<li>
|
||||||
|
<span>01-24</span>
|
||||||
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||||
|
<a href="/uWeb/hosts/">
|
||||||
|
<span>
|
||||||
|
利用超级hosts文件加速访问国外网站
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
@ -157,21 +198,6 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
|
||||||
</li> -->
|
|
||||||
<li>
|
|
||||||
<span>12-11</span>
|
|
||||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
|
||||||
<a href="/uWeb/hosts/">
|
|
||||||
<span>
|
|
||||||
利用超级hosts文件加速访问国外网站
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
|
|
@ -43,30 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -102,6 +128,21 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<!-- <li class="listing-item">
|
||||||
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
</li> -->
|
||||||
|
<li>
|
||||||
|
<span>01-24</span>
|
||||||
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||||
|
<a href="/uWeb/hosts/">
|
||||||
|
<span>
|
||||||
|
利用超级hosts文件加速访问国外网站
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
@ -157,21 +198,6 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
|
||||||
</li> -->
|
|
||||||
<li>
|
|
||||||
<span>12-11</span>
|
|
||||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
|
||||||
<a href="/uWeb/hosts/">
|
|
||||||
<span>
|
|
||||||
利用超级hosts文件加速访问国外网站
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
|
|
@ -43,30 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -102,6 +128,21 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<!-- <li class="listing-item">
|
||||||
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
</li> -->
|
||||||
|
<li>
|
||||||
|
<span>01-24</span>
|
||||||
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||||
|
<a href="/uWeb/hosts/">
|
||||||
|
<span>
|
||||||
|
利用超级hosts文件加速访问国外网站
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
@ -157,21 +198,6 @@
|
||||||
</span>
|
</span>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
|
||||||
</li> -->
|
|
||||||
<li>
|
|
||||||
<span>12-11</span>
|
|
||||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
|
||||||
<a href="/uWeb/hosts/">
|
|
||||||
<span>
|
|
||||||
利用超级hosts文件加速访问国外网站
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<!-- <li class="listing-item">
|
<!-- <li class="listing-item">
|
||||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
<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>
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
<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>
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -102,7 +124,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
<span class="attr">Post:<span>2018-12-11 07:07:58</span></span>
|
<span class="attr">Post:<span>2019-01-24 17:49:14</span></span>
|
||||||
|
|
||||||
|
|
||||||
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
<span class="attr">Visit:<span id="busuanzi_value_page_pv"></span>
|
||||||
|
@ -112,6 +134,11 @@
|
||||||
<div class="post-content ">
|
<div class="post-content ">
|
||||||
<p>不少国外网站本身虽可访问,但由于网站需要下载google,<br>facebook等屏蔽网址的资源而导致无法访问。超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、……,从而主动屏蔽这些网址,最终允许浏览器快速访问合法网站。</p>
|
<p>不少国外网站本身虽可访问,但由于网站需要下载google,<br>facebook等屏蔽网址的资源而导致无法访问。超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、……,从而主动屏蔽这些网址,最终允许浏览器快速访问合法网站。</p>
|
||||||
<p>使用Android端<a href="https://www.coolapk.com/apk/info.torapp.uweb" target="_blank" rel="noopener">uweb浏览器</a>。<br>/sdcard/uweb/hosts内容如下:<br>googleadservices.com<br>googlesyndication.com<br>adsense.com<br>google.com<br>google-analytics.com<br>googletagservices.com<br>twitter.com<br>facebook.com<br>fbcdn.net</p>
|
<p>使用Android端<a href="https://www.coolapk.com/apk/info.torapp.uweb" target="_blank" rel="noopener">uweb浏览器</a>。<br>/sdcard/uweb/hosts内容如下:<br>googleadservices.com<br>googlesyndication.com<br>adsense.com<br>google.com<br>google-analytics.com<br>googletagservices.com<br>twitter.com<br>facebook.com<br>fbcdn.net</p>
|
||||||
|
<p>其它国外网址访问技巧:</p>
|
||||||
|
<ul>
|
||||||
|
<li>尝试关闭javascript, 譬如程序员网站stackoverflow.com在关闭javascript的情况下国内一般均可快速访问。</li>
|
||||||
|
<li>关闭网页图片</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
80
index.html
80
index.html
|
@ -43,30 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="active">
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
@ -92,6 +118,20 @@
|
||||||
|
|
||||||
<div class="post-preview-container" style="min-height: 720px">
|
<div class="post-preview-container" style="min-height: 720px">
|
||||||
|
|
||||||
|
<div class="post-preview">
|
||||||
|
<div class="post-time">2019-01-24</div>
|
||||||
|
<div class="post-info">
|
||||||
|
<a href="/uWeb/hosts/">
|
||||||
|
<h3>
|
||||||
|
利用超级hosts文件加速访问国外网站
|
||||||
|
</h3>
|
||||||
|
</a>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="post-preview">
|
<div class="post-preview">
|
||||||
<div class="post-time">2019-01-11</div>
|
<div class="post-time">2019-01-11</div>
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
|
@ -134,20 +174,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="post-preview">
|
|
||||||
<div class="post-time">2018-12-11</div>
|
|
||||||
<div class="post-info">
|
|
||||||
<a href="/uWeb/hosts/">
|
|
||||||
<h3>
|
|
||||||
利用超级hosts文件加速访问国外网站
|
|
||||||
</h3>
|
|
||||||
</a>
|
|
||||||
<p>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="post-preview">
|
<div class="post-preview">
|
||||||
<div class="post-time">2018-12-11</div>
|
<div class="post-time">2018-12-11</div>
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
|
@ -43,34 +43,56 @@
|
||||||
<div class="index-left">
|
<div class="index-left">
|
||||||
|
|
||||||
<div class="nav" id="nav">
|
<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">
|
<div class="contents" id="nav-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li <% if(is_home()){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/">
|
<a href="<%= url_for(config.home_dir || '/') %>">
|
||||||
<i class="iconfont icon-shouye1"></i>
|
<i class="iconfont icon-shouye1"></i>
|
||||||
<span>HOME</span>
|
<span><%= __('nav.home') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('tags')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/tags">
|
<a href="<%= url_for(config.tag_dir) %>">
|
||||||
<i class="iconfont icon-biaoqian1"></i>
|
<i class="iconfont icon-biaoqian1"></i>
|
||||||
<span>TAGS</span>
|
<span><%= __('nav.tags') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li <% if(is_current('archive')){ %> <%- "class=active" %> <% } %>>
|
||||||
<a href="/uWeb/archives">
|
<a href="<%= url_for(config.archive_dir) %>">
|
||||||
<i class="iconfont icon-guidang2"></i>
|
<i class="iconfont icon-guidang2"></i>
|
||||||
<span>ARCHIVES</span>
|
<span><%= __('nav.archives') %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<%
|
||||||
<div id="toc" class="toc-article">
|
if(is_post()){
|
||||||
|
// if(/[0-9]*\/[0-9]*\/[0-9]*\//.test(path)){
|
||||||
</div>
|
%>
|
||||||
|
<%- partial('./toc', {item: page, index: false}) %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,8 +100,8 @@
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<div class="search-input">
|
<div class="search-input">
|
||||||
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
||||||
<input id="search-input">
|
<input id="search-input"/>
|
||||||
<span id="begin-search">search</span>
|
<span id="begin-search"><%= __('search.search') %></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container" id="search-result-container">
|
<div class="search-result-container" id="search-result-container">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue