-
Notifications
You must be signed in to change notification settings - Fork 53
/
index.html
75 lines (67 loc) · 2.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
layout: page
author: admin
group: home
toc: false
ctg: true
license: false
nocache: true
title: 泰晓科技
comments: false
tagline: '聚焦 Linux - 追本溯源,见微知著!'
keywords: 泰晓科技,TinyLab,嵌入式Linux,Linux内核,Linux Lab,Linux 0.11 Lab,Markdown Lab,Shell编程范例,C语言编程透视,嵌入式Linux知识库
description: 泰晓科技 -- 聚焦 Linux,致力于推动业界打造更极致的 Linux 产品 - 追本溯源,见微知著!- 透视原理,夯实基础!原创开源,交流分享!思考实验,优化体验!
---
{% include JB/setup %}
<!-- Recent Posts -->
<section id="home">
{% assign articles = site.pages %}
{% assign condition = 'top' %}
{% assign value = true %}
{% include widgets/articles %}
{% assign articles = site.posts %}
{% include widgets/articles %}
{% assign articles = paginator.posts %}
{% assign condition = 'draft' %}
{% assign value = false %}
{% include widgets/articles %}
</section>
<!-- Pagination Links -->
<section class="pagination pagination-centered">
<ul>
<!-- First Page -->
{% if paginator.previous_page %}
<li><a href="/index.html">««</a></li>
{% else %}
<li class="disabled"><a href="#">««</a></li>
{% endif %}
<!-- Previous Page -->
{% if paginator.previous_page %}
<li>
{% if paginator.previous_page == 1 %}
<a href="/index.html">«</a>
{% else %}
<a href="/page{{ paginator.previous_page }}">«</a>
{% endif %}
</li>
{% else %}
<li class="disabled"><a href="#">«</a></li>
{% endif %}
<!-- Current Page -->
<li class="active">
<span class="page_number ">第 {{ paginator.page }}/{{ paginator.total_pages }} 页</span>
</li>
<!-- Next Page -->
{% if paginator.next_page %}
<li><a href="/page{{paginator.next_page}}">»</a></li>
{% else %}
<li class="disabled"><a href="#">»</a></li>
{% endif %}
<!-- Last Page -->
{% if paginator.next_page %}
<li><a href="/page{{ paginator.total_pages }}">»»</a></li>
{% else %}
<li class="disabled"><a href="#">»»</a></li>
{% endif %}
</ul>
</section>