Skip to content

Commit

Permalink
归档页面加12生肖
Browse files Browse the repository at this point in the history
  • Loading branch information
rstyro committed Jun 6, 2019
1 parent 6f7c682 commit bc2d627
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/_posts/Linux安装最新版Git.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tags:
## 最新版安装
在Github,[https://github.com/git/git/releases](https://github.com/git/git/releases) 下载最新版本。
在2019-5-5,最新版本为:`v2.21.0`
![](/Linux安装最新版Git/git0.png)
![git0](/Linux安装最新版Git/git0.png)

+ 下载v2.21.0版本
`wget https://github.com/git/git/archive/v2.21.0.tar.gz`
Expand Down
2 changes: 1 addition & 1 deletion source/guestbook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 留言墙
date: 2019-01-13 19:40:32
---
![](/index/cat.jpg)
![猫1](/index/cat.jpg)


##### 不敢休息,因为没有存款;不敢说累,因为没有成就;不敢偷懒,因为还要生活;一无所有就是我坚强,拼搏的唯一选择!!!
36 changes: 36 additions & 0 deletions themes/next/layout/_partials/chinese-zodiac.swig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% if year % 12 == 0 %}
<i class="symbolic-animals icon-monkey"></i>
{% endif %}
{% if year % 12 == 1 %}
<i class="symbolic-animals icon-rooster"></i>
{% endif %}
{% if year % 12 == 2 %}
<i class="symbolic-animals icon-dog"></i>
{% endif %}
{% if year % 12 == 3 %}
<i class="symbolic-animals icon-pig"></i>
{% endif %}
{% if year % 12 == 4 %}
<i class="symbolic-animals icon-rat"></i>
{% endif %}
{% if year % 12 == 5 %}
<i class="symbolic-animals icon-ox"></i>
{% endif %}
{% if year % 12 == 6 %}
<i class="symbolic-animals icon-tiger"></i>
{% endif %}
{% if year % 12 == 7 %}
<i class="symbolic-animals icon-rabbit"></i>
{% endif %}
{% if year % 12 == 8 %}
<i class="symbolic-animals icon-dragon"></i>
{% endif %}
{% if year % 12 == 9 %}
<i class="symbolic-animals icon-snake"></i>
{% endif %}
{% if year % 12 == 10 %}
<i class="symbolic-animals icon-horse"></i>
{% endif %}
{% if year % 12 == 11 %}
<i class="symbolic-animals icon-goat"></i>
{% endif %}

0 comments on commit bc2d627

Please sign in to comment.