配色方案调整
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<%- partial('post/date', {class_name: 'archive-article-date', date_format: null}) %>
|
||||
</div>
|
||||
<%- partial('post/title', {class_name: 'archive-article-title'}) %>
|
||||
<div class="article-info info-on-right">
|
||||
<div class="article-info">
|
||||
<%- partial('post/tag') %>
|
||||
<%- partial('post/category') %>
|
||||
</div>
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
<%
|
||||
var title = page.title;
|
||||
if (is_archive()){
|
||||
title = 'Archives';
|
||||
title = __('archives');
|
||||
if (is_month()){
|
||||
title += ': ' + page.year + '/' + page.month;
|
||||
} else if (is_year()){
|
||||
title += ': ' + page.year;
|
||||
}
|
||||
} else if (is_category()){
|
||||
title = 'Category: ' + page.category;
|
||||
title = __('category') + ': ' + page.category;
|
||||
} else if (is_tag()){
|
||||
title = 'Tag: ' + page.tag;
|
||||
title = __('tag') + ': ' + page.tag;
|
||||
}
|
||||
%>
|
||||
<meta name="renderer" content="webkit">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<ul class="article-tag-list">
|
||||
<% post.categories.forEach(function(category, i){ %>
|
||||
<li class="article-tag-list-item">
|
||||
<a href="<%=url_for(category.path) %>" class="js-tag article-tag-list-link color<%= category.name.length % 5 + 1 %>"><%-category.name%></a>
|
||||
<a href="<%=url_for(category.path) %>" class="js-tag article-tag-list-link color<%= category.name.length % 7 + 1 %>"><%-category.name%></a>
|
||||
</li>
|
||||
<% }) %>
|
||||
</ul>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<ul class="article-tag-list">
|
||||
<% post.tags.forEach(function(tag, i){ %>
|
||||
<li class="article-tag-list-item">
|
||||
<a href="<%= url_for(tag.path) %>" class="js-tag article-tag-list-link color<%= tag.name.length % 5 + 1 %>"><%-tag.name%></a>
|
||||
<a href="<%= url_for(tag.path) %>" class="js-tag article-tag-list-link color<%= tag.name.length % 7 + 1 %>"><%-tag.name%></a>
|
||||
</li>
|
||||
<% }) %>
|
||||
</ul>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<ul class="article-tag-list" v-show="showTags">
|
||||
<% site.tags.forEach(function(tag, i){ %>
|
||||
<li class="article-tag-list-item">
|
||||
<a href="javascript:void(0)" @click="chose('<%-tag.name%>','#')" class="js-tag color<%= tag.name.length % 5 + 1 %>"><%-tag.name%></a>
|
||||
<a href="javascript:void(0)" @click="chose('<%-tag.name%>','#')" class="js-tag color<%= tag.name.length % 7 + 1 %>"><%-tag.name%></a>
|
||||
</li>
|
||||
<% }) %>
|
||||
<div class="clearfix"></div>
|
||||
@@ -51,7 +51,7 @@
|
||||
<ul class="article-tag-list" v-show="showCategories">
|
||||
<% site.categories.forEach(function(category, i){ %>
|
||||
<li class="article-tag-list-item">
|
||||
<a href="javascript:void(0)" @click="chose('<%-category.name%>','$')" class="js-tag color<%= category.name.length % 5 + 1 %>"><%-category.name%></a>
|
||||
<a href="javascript:void(0)" @click="chose('<%-category.name%>','$')" class="js-tag color<%= category.name.length % 7 + 1 %>"><%-category.name%></a>
|
||||
</li>
|
||||
<% }) %>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
@@ -16,12 +16,9 @@
|
||||
<% } %>
|
||||
<div class="tag-cloud">
|
||||
<%- tagcloud({
|
||||
min_font: 16,
|
||||
min_font: 20,
|
||||
max_font: 35,
|
||||
amount: 999,
|
||||
color: true,
|
||||
start_color: 'gray',
|
||||
end_color: 'black',
|
||||
amount: 999
|
||||
}) %>
|
||||
</div>
|
||||
</article>
|
||||
Reference in New Issue
Block a user