标签修改

This commit is contained in:
结发受长生 2018-06-05 00:48:00 +08:00
parent f59ea1ea62
commit de8e1887a6
94 changed files with 4 additions and 6 deletions

View File

@ -78,7 +78,7 @@ pagination_dir: page
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-raytaylorism
theme: raytaylorism
#----------------------------
# 搜索

View File

@ -124,7 +124,7 @@ model.showName();
```
constructor表示这个类的构造函数
需要注意的是 : 对于对象当中属性的赋值 , 必须要在构造函数当中完成 , 而不能像Java那样直接对类中的属性设定初始值
#####继承
##### 继承
继承的实现方式与Java也十分类似
```javascript
class MyModel extends BaseModel {

View File

@ -71,9 +71,7 @@
<div class="side-nav <%= theme.color.side_nav %>" id="tag-menu">
<h4 style="padding:0 15px">标签</h4>
<% site.tags.forEach(function (item, index) { %>
<a href="<%= url_for(item.path) %>">
<%= item.name %> <span class="right"><%= __('side_nav_paper', item.length) %></span></a>
</a>
<a href="<%= url_for(item.path) %>"><%= item.name+' ('+item.length+')' %></a>
<% }); %>
</div>
</div>

View File

@ -21,7 +21,7 @@ article
padding: 0 5px;
border-radius: 5px;
border: 1px solid #e0e0e0
color: #212121;
color: #d9466b;
background-color #eeeeee
pre .keyword