zslucky 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce7d7ab0528dd00e7fda4eb7e73cb02f0bbdf39b
4
- data.tar.gz: be98e05f349cc4d1cdeaa246e8fe6155107dbb15
3
+ metadata.gz: 87b1e151ec71438cf7bc242d8312f466486e5442
4
+ data.tar.gz: 08b76080771c8361600a8d41823e52f2a58fbb9a
5
5
  SHA512:
6
- metadata.gz: 37125047c7672df1c4dd063cb6e35ce8b5817a16fa1f665e099038e895b77e7aa8404021052c4efde2b8ec7897954ad75f950f62209a43361fd73cf7a23ccd57
7
- data.tar.gz: 31f32ccd9eb9c0bfd2e16f7d9a52cc135fa4512a1266f6b68b89fac5cf0668412d105dfe0af56043ff3e8d7513c0589d2359b560f6d4b97b1a05b8ce999a0a77
6
+ metadata.gz: 51545b5cfafd571a58cc342d87a3559464bbe1f62549a63716ef37edec4c6f0a0d7892a78351a4973f8103848a31265ef10b2dd1de15b44e08e26e6f04fe9d4c
7
+ data.tar.gz: 22edff9b3d5d57ba78fd146c1a8d9dd1d0381ff7df5244fb851f4cd8ef5b457acede226d8ea4386cbe5d14b14ac3be31426039d208de547256f965ae87329e76
@@ -8,7 +8,7 @@
8
8
 
9
9
  <a href="https://github.com/{{ site.github_username }}">
10
10
  <span class="footer_icon">
11
- <i class="fa fa-github fa-2x" aria-hidden="true"></i>
11
+ <i class="fa fa-github" aria-hidden="true"></i>
12
12
  </span>
13
13
  Github
14
14
  <!-- <span>{{ site.github_username }}</span> -->
@@ -0,0 +1,61 @@
1
+ <div class="sidebar">
2
+ <div class="panel panel-default">
3
+ <div class="panel-body">
4
+ <div class="sidebar_avator-container">
5
+ <img class="sidebar_avator" src="{{ site.avator_url }}" />
6
+ </div>
7
+ <h3>{{ site.username }}</h3>
8
+ <div class="row">
9
+ <div class="col-md-2 sidebar_contact-icons">
10
+ <p><i class="fa fa-info-circle" aria-hidden="true"></i></p>
11
+ <p><i class="fa fa-qq" aria-hidden="true"></i></p>
12
+ <p><i class="fa fa-weixin" aria-hidden="true"></i></p>
13
+ <p><i class="fa fa-book" aria-hidden="true"></i></p>
14
+ </div>
15
+ <div class="col-md-10 sidebar_contact-infos">
16
+ <p>{{ site.jobtitle }}</p>
17
+ <p>{{ site.qq }}</p>
18
+ <p>{{ site.weixin }}</p>
19
+ <p>{{ site.user_desc }}</p>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ <div class="panel-footer sidebar_social">
24
+ <a href="https://github.com/{{ site.github_username }}"><i class="fa fa-github fa-2x" aria-hidden="true"></i></a>
25
+ <a href="http://weibo.com/{{ site.weibo }}"><i class="fa fa-weibo fa-2x" aria-hidden="true"></i></a>
26
+ </div>
27
+ </div>
28
+
29
+ <div class="panel panel-default">
30
+ <!-- Default panel contents -->
31
+ <div class="panel-heading">
32
+ <i class="fa fa-list" aria-hidden="true"></i>&nbsp;&nbsp;Categoeries
33
+ </div>
34
+ <!-- List group -->
35
+ <div class="list-group">
36
+ {% for category in site.categories %}
37
+ <a class="list-group-item" href="#">
38
+ {{ category | first }}
39
+ <span class="badge">{{ category | last | size }}</span>
40
+ </a>
41
+ {% endfor %}
42
+ </div>
43
+
44
+ </div>
45
+
46
+ <div class="panel panel-default">
47
+ <!-- Default panel contents -->
48
+ <div class="panel-heading">
49
+ <i class="fa fa-tags" aria-hidden="true"></i>&nbsp;&nbsp;Tags
50
+ </div>
51
+ <!-- List group -->
52
+ <div class="list-group">
53
+ {% for tag in site.tags %}
54
+ <a class="list-group-item" href="#">
55
+ {{ tag | first }}
56
+ <span class="badge">{{ tag | last | size }}</span>
57
+ </a>
58
+ {% endfor %}
59
+ </div>
60
+ </div>
61
+ </div>
data/_layouts/post.html CHANGED
@@ -4,7 +4,7 @@ layout: page
4
4
  <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
6
6
  <header class="post-header">
7
- <h2 class="post-title" itemprop="name headline">{{ page.title | escape }}</h2>
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8
8
  <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
9
9
  </header>
10
10
 
data/_sass/_base.scss ADDED
File without changes
File without changes
data/_sass/_home.scss ADDED
File without changes
data/_sass/_nav.scss ADDED
File without changes
data/_sass/_post.scss ADDED
File without changes
@@ -0,0 +1,40 @@
1
+ .sidebar {
2
+
3
+ h3 {
4
+ text-align: center;
5
+ }
6
+
7
+ .panel-heading {
8
+ font-weight: bold;
9
+ }
10
+
11
+ }
12
+
13
+ .sidebar_avator-container {
14
+ display: flex;
15
+ height: 100%;
16
+ justify-content: center;
17
+ width: 100%;
18
+ }
19
+
20
+ .sidebar_avator {
21
+ border-radius: 50%;
22
+ height: 96px;
23
+ width: 96px;
24
+ }
25
+
26
+ .sidebar_social {
27
+ text-align: center;
28
+
29
+ i {
30
+ margin: auto 5px;
31
+ }
32
+
33
+ a {
34
+ cursor: pointer;
35
+ }
36
+ }
37
+
38
+ .sidebar_contact-icons {
39
+ text-align: right;
40
+ }
File without changes
data/assets/main.scss ADDED
@@ -0,0 +1,13 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @charset "utf-8";
5
+
6
+ @import "var-colors";
7
+
8
+ @import "base";
9
+ @import "nav";
10
+ @import "footer";
11
+ @import "sidebar";
12
+ @import "home";
13
+ @import "post";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zslucky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zslucky
@@ -64,10 +64,19 @@ files:
64
64
  - _includes/footer.html
65
65
  - _includes/head.html
66
66
  - _includes/header.html
67
+ - _includes/sidebar.html
67
68
  - _layouts/default.html
68
69
  - _layouts/home.html
69
70
  - _layouts/page.html
70
71
  - _layouts/post.html
72
+ - _sass/_base.scss
73
+ - _sass/_footer.scss
74
+ - _sass/_home.scss
75
+ - _sass/_nav.scss
76
+ - _sass/_post.scss
77
+ - _sass/_sidebar.scss
78
+ - _sass/_var-colors.scss
79
+ - assets/main.scss
71
80
  homepage: https://github.com/zslucky/jekyll-theme-zslucky
72
81
  licenses:
73
82
  - MIT