yoyoyo 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: '09e562e3068c1260a8cca7f6fd5bb55aaa42a494'
4
+ data.tar.gz: f82a4e0a5f7726c8d5a20fc86a76b57cbaf5ac73
5
+ SHA512:
6
+ metadata.gz: ad01fb6406c994574cdfa1b2239ebf03a94c206a44e33daf4a18efb7cefb14b90a05769d43651933936eb972bba47dfb8fb603b8d0db8711715433584e8626c2
7
+ data.tar.gz: 737100cd7a782d35620e03669c2e85516277dd39fc3427424b8fe98a19ee059be206d7c70864bcd8fecd147ef92ad0edb3d32743316920681f395e7febc224c8
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 张赫
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.
data/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # YOYOYO
2
+ a jekyll theme
3
+
4
+ ## Todo List
5
+
6
+ - [x] 基础文件
7
+ - [x] HTML
8
+ - [x] CSS
9
+ - [x] JavaScript
10
+ - [x] MarkDown
11
+ - [ ] 开场动画
12
+ - [ ] 进场动画和离场动画
13
+ - [ ] 顶部总导航
14
+ - [ ] 底部页脚
15
+ - [ ] 首页基础布局
16
+ - [ ] 最新文章列表
17
+ - [ ] 标签文章列表
18
+ - [ ] 分类文章列表
19
+ - [ ] 文章详情页面布局
20
+ - [ ] 联系我功能
21
+ - [ ] 评论功能
22
+ - [ ] 订阅功能
@@ -0,0 +1,8 @@
1
+ {% for category in site.categories %}
2
+ <h3>{{ category[0] }}</h3>
3
+ <ul>
4
+ {% for post in category[1] %}
5
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
6
+ {% endfor %}
7
+ </ul>
8
+ {% endfor %}
@@ -0,0 +1,7 @@
1
+ <nav>
2
+ {% for item in site.data.navigation %}
3
+ <a href="{{ site.baseurl }}{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>
4
+ {{ item.name }}
5
+ </a>
6
+ {% endfor %}
7
+ </nav>
@@ -0,0 +1,8 @@
1
+ {% for tag in site.tags %}
2
+ <h3>{{ tag[0] }}</h3>
3
+ <ul>
4
+ {% for post in tag[1] %}
5
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
6
+ {% endfor %}
7
+ </ul>
8
+ {% endfor %}
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ title: About
4
+ ---
5
+ # About page
6
+
7
+ This page tells you a little bit about me.
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.name }}</h1>
5
+ <h2>{{ page.position }}</h2>
6
+
7
+ {{ content }}
8
+
9
+ <h2>Posts</h2>
10
+ <ul>
11
+ {% assign filtered_posts = site.posts | where: 'author', page.short_name %}
12
+ {% for post in filtered_posts %}
13
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
14
+ {% endfor %}
15
+ </ul>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>{{ page.title }}</title>
6
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/styles.css" />
7
+ {% feed_meta %}
8
+ {% seo %}
9
+ </head>
10
+ <body>
11
+ {% include navigation.html %}
12
+ {% include tags.html %}
13
+ {{ content }}
14
+ {% include categories.html %}
15
+ </body>
16
+ </html>
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ title: Home
4
+ ---
5
+ <h1>{{ "Hello Home!" | downcase }}</h1>
6
+ {{content}}
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+
6
+ <p>
7
+ {{ page.date | date_to_string }}
8
+ {% assign author = site.authors | where: 'short_name', page.author | first %}
9
+ {% if author %}
10
+ - <a href="{{ site.baseurl }}{{ author.url }}">{{ author.name }}</a>
11
+ {% endif %}
12
+ </p>
13
+
14
+ {{ content }}
data/_sass/main.scss ADDED
@@ -0,0 +1,3 @@
1
+ .current {
2
+ color: green;
3
+ }
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "main";
data/assets/wxmp.png ADDED
Binary file
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yoyoyo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Hertz Zhang
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-01-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-feed
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-seo-tag
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description:
84
+ email:
85
+ - zhanghelook@outlook.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - LICENSE
91
+ - README.md
92
+ - _includes/categories.html
93
+ - _includes/navigation.html
94
+ - _includes/tags.html
95
+ - _layouts/about.html
96
+ - _layouts/author.html
97
+ - _layouts/default.html
98
+ - _layouts/home.html
99
+ - _layouts/post.html
100
+ - _sass/main.scss
101
+ - assets/css/styles.scss
102
+ - assets/wxmp.png
103
+ homepage: https://github.com/hertzZhang/yoyoyo
104
+ licenses:
105
+ - MIT
106
+ metadata:
107
+ plugin_type: theme
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 2.5.2.3
125
+ signing_key:
126
+ specification_version: 4
127
+ summary: A beautiful, yoyoyo theme for Jekyll.
128
+ test_files: []