fix doc
							parent
							
								
									761ede623f
								
							
						
					
					
						commit
						2a8bb22512
					
				| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#Icarus
 | 
			
		||||
 | 
			
		||||
### The blog theme you may fall in love with, coming to Hexo. [Preview](http://ppoffice.github.io/hexo-theme-icarus/)
 | 
			
		||||

 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -115,13 +115,13 @@ language: zh-CN
 | 
			
		|||
 | 
			
		||||
A nice place to show yourself. You can add your own information in your site's `_config.yml`
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Responsive Layout
 | 
			
		||||
 | 
			
		||||
Icarus knows on what screen size you are browsering the website, and reorganize the layout to fit your device.
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Fancybox
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,20 +15,20 @@
 | 
			
		|||
  <% page.posts.each(function(post, i){ %>
 | 
			
		||||
    <% var year = post.date.year(); %>
 | 
			
		||||
    <% if (last != year){ %>
 | 
			
		||||
      <% if (last != null){ %>
 | 
			
		||||
        </div></section>
 | 
			
		||||
      <% } %>
 | 
			
		||||
      <% last = year; %>
 | 
			
		||||
      <section class="archives-wrap">
 | 
			
		||||
        <div class="archive-year-wrap">
 | 
			
		||||
          <i class="fa fa-calendar"></i>
 | 
			
		||||
          <a href="<%- url_for('archives/' + year) %>" class="archive-year"><%= year %></a>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="archives">
 | 
			
		||||
    <% } %>
 | 
			
		||||
    <%- partial('article', {post: post, index: true}) %>
 | 
			
		||||
  <% }) %>
 | 
			
		||||
  <% if (page.posts.length){ %>
 | 
			
		||||
    </div></section>
 | 
			
		||||
  <% if (page.total > 1){ %>
 | 
			
		||||
    <nav id="page-nav">
 | 
			
		||||
      <%- paginator({
 | 
			
		||||
        prev_text: '« ' + __('nav.prev'),
 | 
			
		||||
        next_text:  __('nav.next') + ' »'
 | 
			
		||||
      }) %>
 | 
			
		||||
    </nav>
 | 
			
		||||
  <% } %>
 | 
			
		||||
<% } %>
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
<%- partial('_partial/head') %>
 | 
			
		||||
<body>
 | 
			
		||||
  <div id="container">
 | 
			
		||||
    <%- partial('_partial/header', null, {cache: !config.relative_link}) %>
 | 
			
		||||
    <%- partial('_partial/header') %>
 | 
			
		||||
    <div class="outer">
 | 
			
		||||
      <%- partial('_partial/profile', null, {cache: !config.relative_link}) %>
 | 
			
		||||
      <section id="main"><%- body %></section>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,7 @@
 | 
			
		|||
.archive-year-wrap
 | 
			
		||||
  @extend $block
 | 
			
		||||
  padding: 10px 20px
 | 
			
		||||
  margin: block-margin 0 -20px 0
 | 
			
		||||
  .fa
 | 
			
		||||
    margin-right: 3px
 | 
			
		||||
  .archive-year
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue