mirror of
https://github.com/extreme-tech-seminar/extreme-tech-seminar.github.io.git
synced 2024-11-14 19:19:34 +00:00
hushaw html
This commit is contained in:
parent
2652281743
commit
f2d6fc87db
4 changed files with 109 additions and 0 deletions
13
404.html
Normal file
13
404.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
layout: page
|
||||
title: 404 Page
|
||||
---
|
||||
|
||||
<div class="page-blank">
|
||||
<div>
|
||||
<h3>查无此文</h3>
|
||||
<p>回到首页<a href="/">首页</a>, 或者告知管理员[signifox@gmail.com]</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
27
archive.html
Normal file
27
archive.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
layout: page
|
||||
title: 文章归档
|
||||
---
|
||||
|
||||
<div class="page-blank">
|
||||
<div class="page-list">
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
{% capture post_year2 %}{{ post.date | date: '%Y' }}{% endcapture %}
|
||||
{% if post_year1 != post_year2 %}
|
||||
{% assign post_year1 = post_year2 %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="page-list">
|
||||
<h3>{{ post_year1 }}</h3>
|
||||
<ul>
|
||||
{% endif %}
|
||||
<li>
|
||||
<span>{{ post.date | date:"%Y年%m月%d日" }} </span>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
32
categories.html
Normal file
32
categories.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
layout: page
|
||||
title: 文章分类
|
||||
---
|
||||
|
||||
<div class="page-categories">
|
||||
<ul class="list-group">
|
||||
{% for cat in site.categories %}
|
||||
<li class="list-group-item">
|
||||
<span class="badge">{{ cat[1].size }}</span>
|
||||
<a href="#{{ cat[0] }}-ref" class="category-heading" title="分类:{{ cat[0] }}" >{{ cat[0] }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="page-blank">
|
||||
{% for cat in site.categories %}
|
||||
<div class="page-list">
|
||||
<h3 id="{{ cat[0] }}-ref"> {{ cat[0] }}</h3>
|
||||
<ul>
|
||||
{% for post in cat[1] %}
|
||||
<li>
|
||||
<span>{{ post.date | date:"%Y年%m月%d日" }} </span>
|
||||
<a href="{{ post.url }}">{{post.title}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
37
tags.html
Normal file
37
tags.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
layout: page
|
||||
title: 文章标签
|
||||
---
|
||||
|
||||
<div class="page-tags" id="page-tagcloud">
|
||||
{% for tag in site.tags %}
|
||||
<a href="#{{ tag[0] }}-ref" rel={{ tag[1].size }} title="标签:{{ tag[0] }}">{{ tag[0] }}<span>{{ tag[1].size }}</span></a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="page-blank">
|
||||
{% for tag in site.tags %}
|
||||
<div class="page-list">
|
||||
<h3 id="{{ tag[0] }}-ref"> {{ tag[0] }}</h3>
|
||||
<ul>
|
||||
{% for post in tag[1] %}
|
||||
<li>
|
||||
<span>{{ post.date | date:"%Y年%m月%d日" }} </span>
|
||||
<a href="{{ post.url }}">{{post.title}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<script src="/static/js/jquery.tagcloud.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$.fn.tagcloud.defaults = {
|
||||
size: {start: 13, end: 30, unit: 'px'},
|
||||
color: {start: '#1982d1', end: '#f00'}
|
||||
};
|
||||
$(document).ready(function() {
|
||||
$('#page-tagcloud a').tagcloud();
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in a new issue