Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4505ab

Browse files
committed
Initial commit
0 parents  commitd4505ab

File tree

61 files changed

+12643
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+12643
-0
lines changed

‎.DS_Store‎

6 KB
Binary file not shown.

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 TriDiamond
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md‎

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
#Hexo-theme-obsidian
2+
3+
4+
**[在线预览 | PREVIEW](http://tridiamond.tech)**
5+
6+
⚫️一款优雅而高尚的黑色主题, 响应式, 高质量, 有趣, 优雅, 简约但不简单。
7+
---
8+
⚫️ A noble dark obsidian style Hexo theme, it's responsive, hight quality, fancy, high class.
9+
10+
11+
###安装主题
12+
13+
```bash
14+
$ git clone https://github.com/TriDiamond/hexo-theme-obsidian.git obsidian
15+
```
16+
17+
18+
###启用主题
19+
20+
修改Hexo配置文件`_config.yml` 主题项设置为obsidian
21+
22+
23+
```yaml
24+
25+
...
26+
theme:obsidian
27+
...
28+
```
29+
###更新主题
30+
31+
注意:请在更时主题时备份`_config.yml`配置文件
32+
33+
```bash
34+
cd themes/diaspora
35+
git pull
36+
```
37+
38+
39+
###新建文章模板
40+
41+
```markdown
42+
---
43+
title: My awesome title
44+
date: 2016-10-12 18:38:45
45+
categories:
46+
- 分类1
47+
- 分类2
48+
tags:
49+
- 标签1
50+
- 标签2
51+
mp3: http://domain.com/awesome.mp3
52+
cover: http://domain.com/awesome.jpg
53+
---
54+
```
55+
56+
###创建分类页
57+
1 新建一个页面,命名为 categories 。命令如下:
58+
```
59+
hexo new page categories
60+
```
61+
2 编辑刚新建的页面,将页面的类型设置为 categories
62+
```
63+
title: categories
64+
date: 2014-12-22 12:39:04
65+
type: "categories"
66+
---
67+
```
68+
主题将自动为这个页面显示所有分类。
69+
70+
###创建标签页
71+
1 新建一个页面,命名为 tags 。命令如下:
72+
```
73+
hexo new page tags
74+
```
75+
2 编辑刚新建的页面,将页面的类型设置为 tags
76+
```
77+
title: tags
78+
date: 2014-12-22 12:39:04
79+
type: "tags"
80+
---
81+
```
82+
主题将自动为这个页面显示所有标签。
83+
84+
85+
###主题配置
86+
```yml
87+
# 头部菜单,title: link
88+
menu:
89+
Whoami:/whoami
90+
Github:https://github.com/TriDiamond
91+
Twitter:https://twitter.com/TriDiamond6
92+
分类:/categories
93+
归档:/archives
94+
标签云:/tags
95+
96+
# 是否显示目录
97+
TOC:false
98+
99+
# 是否自动播放音乐
100+
autoplay:false
101+
102+
# 默认音乐(随机播放)
103+
mp3:
104+
-http://link.hhtjim.com/163/425570952.mp3
105+
-http://link.hhtjim.com/163/425570952.mp3
106+
107+
# 首页封面图, 为空时取文章的cover作为封面
108+
welcome_cover:# /img/welcome-cover.jpg
109+
110+
# 默认文章封面图
111+
cover:/img/cover.jpg
112+
113+
# Gitalk 评论插件(https://github.com/gitalk/gitalk)
114+
gitalk:
115+
# 是否自动展开评论框
116+
autoExpand:false
117+
# 应用编号
118+
clientID:''
119+
# 应用秘钥
120+
clientSecret:''
121+
# issue仓库名
122+
repo:''
123+
# Github名
124+
owner:''
125+
# Github名
126+
admin:['']
127+
# Ensure uniqueness and length less than 50
128+
id:location.pathname
129+
# Facebook-like distraction free mode
130+
distractionFreeMode:false
131+
132+
# 网站关键字
133+
keywords:Fechin
134+
135+
# 要使用google_analytics进行统计的话,这里需要配置ID
136+
google_analytics:
137+
138+
# 网站ico
139+
favicon:/img/favicon.png
140+
141+
# rss文件
142+
rss:atom.xml
143+
```
144+

‎_config.yml‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# 头部菜单,title: link
2+
menu:
3+
关于我:/whoami
4+
分类:/categories
5+
标签:/tags
6+
归档:/archives
7+
8+
# 是否显示目录
9+
TOC:false
10+
11+
# 是否自动播放音乐
12+
autoplay:false
13+
14+
# 默认音乐
15+
mp3:
16+
-statics/chengdu.mp3
17+
18+
# 首页封面图, 为空时取文章的cover作为封面
19+
welcome_cover:/img/cover.jpg
20+
21+
# 默认文章封面图
22+
cover:#/img/cover.jpg
23+
24+
# 是否关闭默认滚动条
25+
scrollbar:true
26+
27+
# Gitalk 评论插件(https://github.com/gitalk/gitalk)
28+
gitalk:
29+
# 是否自动展开评论框
30+
autoExpand:false
31+
# 应用编号
32+
clientID:'ec894e2b66f752e8b7fb'
33+
# 应用秘钥
34+
clientSecret:'3ccc2e92bb350688fe2c2dc2930189b62622bfb1'
35+
# issue仓库名
36+
repo:'TriDiamondBlog'
37+
# Github名
38+
owner:'TriDiamond'
39+
# Github名
40+
admin:'TriDiamond'
41+
# Ensure uniqueness and length less than 50
42+
id:location.pathname
43+
# Facebook-like distraction free mode
44+
distractionFreeMode:false
45+
46+
# 网站关键字
47+
keywords:TriDiamond Blog 三钻 PHP博客 Laravel Ionic Frontend Backend
48+
49+
# 要使用google_analytics进行统计的话,这里需要配置ID
50+
google_analytics:
51+
52+
# 网站ico
53+
favicon:/img/favicon.png
54+
55+
# rss文件
56+
rss:atom.xml

‎languages/default.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
categories:Categories
2+
search:Search
3+
tags:Tags
4+
tagcloud:Tag Cloud
5+
tweets:Tweets
6+
prev:Prev
7+
next:Next
8+
comment:Comments
9+
archive_a:Archives
10+
archive_b:"Archives: %s"
11+
page:Page %d
12+
recent_posts:Recent Posts
13+
newer:Newer
14+
older:Older
15+
share:Share
16+
powered_by:Powered by
17+
rss_feed:RSS Feed
18+
category:Category
19+
tag:Tag
20+
nav.category:Category
21+
nav.tag:Tag
22+
nav.archive:Archive

‎languages/fr.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
categories:Catégories
2+
search:Rechercher
3+
tags:Mot-clés
4+
tagcloud:Nuage de mot-clés
5+
tweets:Tweets
6+
prev:Précédent
7+
next:Suivant
8+
comment:Commentaires
9+
archive_a:Archives
10+
archive_b:"Archives: %s"
11+
page:Page %d
12+
recent_posts:Articles récents
13+
newer:Récent
14+
older:Ancien
15+
share:Partager
16+
powered_by:Propulsé by
17+
rss_feed:Flux RSS
18+
category:Catégorie
19+
tag:Mot-clé

‎languages/it.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
categories:Categorie
2+
search:Cerca
3+
tags:Tag
4+
tagcloud:Tag Cloud
5+
tweets:Tweet
6+
prev:Prec
7+
next:Succ
8+
comment:Commenti
9+
archive_a:Archivio
10+
archive_b:"Archivio: %s"
11+
page:Pagina %d
12+
recent_posts:Post Recenti
13+
newer:Recenti
14+
older:Passati
15+
share:Condividi
16+
powered_by:Powered by
17+
rss_feed:Feed RSS
18+
category:Categoria
19+
tag:Tag

‎languages/nl.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
categories:Categorieën
3+
search:Zoeken
4+
tags:Labels
5+
tagcloud:Tag Cloud
6+
tweets:Tweets
7+
prev:Vorige
8+
next:Volgende
9+
comment:Commentaren
10+
archive_a:Archieven
11+
archive_b:"Archieven: %s"
12+
page:Pagina %d
13+
recent_posts:Recente berichten
14+
newer:Nieuwer
15+
older:Ouder
16+
share:Delen
17+
powered_by:Powered by
18+
rss_feed:RSS Feed
19+
category:Categorie
20+
tag:Label

‎languages/no.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
categories:Kategorier
2+
search:Søk
3+
tags:Tags
4+
tagcloud:Tag Cloud
5+
tweets:Tweets
6+
prev:Forrige
7+
next:Neste
8+
comment:Kommentarer
9+
archive_a:Arkiv
10+
archive_b:"Arkiv: %s"
11+
page:Side %d
12+
recent_posts:Siste innlegg
13+
newer:Newer
14+
older:Older
15+
share:Share
16+
powered_by:Powered by
17+
rss_feed:RSS Feed
18+
category:Category
19+
tag:Tag

‎languages/ru.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
categories:Категории
2+
search:Поиск
3+
tags:Метки
4+
tagcloud:Облако меток
5+
tweets:Твиты
6+
prev:Назад
7+
next:Вперед
8+
comment:Комментарии
9+
archive_a:Архив
10+
archive_b:"Архив: %s"
11+
page:Страница %d
12+
recent_posts:Недавние записи
13+
newer:Следующий
14+
older:Предыдущий
15+
share:Поделиться
16+
powered_by:Создано с помощью
17+
rss_feed:RSS-каналы
18+
category:Категория
19+
tag:Метка

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp