zslucky 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/footer.html +4 -6
- data/_includes/head.html +6 -1
- data/_includes/header.html +8 -31
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +9 -22
- data/_layouts/page.html +11 -8
- data/_layouts/post.html +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce7d7ab0528dd00e7fda4eb7e73cb02f0bbdf39b
|
4
|
+
data.tar.gz: be98e05f349cc4d1cdeaa246e8fe6155107dbb15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37125047c7672df1c4dd063cb6e35ce8b5817a16fa1f665e099038e895b77e7aa8404021052c4efde2b8ec7897954ad75f950f62209a43361fd73cf7a23ccd57
|
7
|
+
data.tar.gz: 31f32ccd9eb9c0bfd2e16f7d9a52cc135fa4512a1266f6b68b89fac5cf0668412d105dfe0af56043ff3e8d7513c0589d2359b560f6d4b97b1a05b8ce999a0a77
|
data/_includes/footer.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<footer>
|
1
|
+
<footer class="footer">
|
2
2
|
<div class="container">
|
3
3
|
<div class="row">
|
4
4
|
<div class="col-md-12">
|
@@ -7,10 +7,8 @@
|
|
7
7
|
{% if site.github_username %}
|
8
8
|
|
9
9
|
<a href="https://github.com/{{ site.github_username }}">
|
10
|
-
<span class="
|
11
|
-
<
|
12
|
-
<path fill="#aaa" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
|
13
|
-
</svg>
|
10
|
+
<span class="footer_icon">
|
11
|
+
<i class="fa fa-github fa-2x" aria-hidden="true"></i>
|
14
12
|
</span>
|
15
13
|
Github
|
16
14
|
<!-- <span>{{ site.github_username }}</span> -->
|
@@ -22,7 +20,7 @@
|
|
22
20
|
<span class="point"> · </span>
|
23
21
|
<span>{{ site.description }}</span>
|
24
22
|
<span class="point"> · </span>
|
25
|
-
<span>© 2015
|
23
|
+
<span>© 2015 Lucky Zhou</span>
|
26
24
|
<!-- <span class="point"> · </span> -->
|
27
25
|
<!-- <span>Designed by <a href="https://github.com/Gaohaoyang">HyG</a></span> -->
|
28
26
|
|
data/_includes/head.html
CHANGED
@@ -11,13 +11,18 @@
|
|
11
11
|
|
12
12
|
<!-- style sheets here -->
|
13
13
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
14
|
+
<!-- normalize.css -->
|
15
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" crossorigin="anonymous">
|
14
16
|
<!-- Latest compiled and minified CSS -->
|
15
17
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
16
|
-
|
17
18
|
<!-- Optional theme -->
|
18
19
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
|
19
20
|
|
20
21
|
<!-- javascript here -->
|
22
|
+
<!-- jquery -->
|
23
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js" crossorigin="anonymous"></script>
|
21
24
|
<!-- Latest compiled and minified JavaScript -->
|
22
25
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
26
|
+
<!-- Font awesome -->
|
27
|
+
<script src="https://use.fontawesome.com/9a561ba862.js"></script>
|
23
28
|
</head>
|
data/_includes/header.html
CHANGED
@@ -10,46 +10,23 @@
|
|
10
10
|
<span class="icon-bar"></span>
|
11
11
|
<span class="icon-bar"></span>
|
12
12
|
</button>
|
13
|
-
<a class="navbar-brand" href="#">
|
13
|
+
<a class="navbar-brand" href="#">
|
14
|
+
Lucky's Home
|
15
|
+
</a>
|
14
16
|
</div>
|
15
17
|
|
16
18
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
17
|
-
<div class="collapse navbar-collapse"
|
19
|
+
<div class="collapse navbar-collapse">
|
18
20
|
<ul class="nav navbar-nav">
|
19
|
-
<li class="active"><a href="#">
|
20
|
-
<li><a href="#">
|
21
|
-
<li class="dropdown">
|
22
|
-
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
|
23
|
-
<ul class="dropdown-menu">
|
24
|
-
<li><a href="#">Action</a></li>
|
25
|
-
<li><a href="#">Another action</a></li>
|
26
|
-
<li><a href="#">Something else here</a></li>
|
27
|
-
<li role="separator" class="divider"></li>
|
28
|
-
<li><a href="#">Separated link</a></li>
|
29
|
-
<li role="separator" class="divider"></li>
|
30
|
-
<li><a href="#">One more separated link</a></li>
|
31
|
-
</ul>
|
32
|
-
</li>
|
21
|
+
<li class="active"><a href="#">Home</a></li>
|
22
|
+
<li><a href="#">About Me</a></li>
|
33
23
|
</ul>
|
34
|
-
<form class="navbar-form navbar-
|
24
|
+
<form class="navbar-form navbar-right">
|
35
25
|
<div class="form-group">
|
36
26
|
<input type="text" class="form-control" placeholder="Search">
|
37
27
|
</div>
|
38
|
-
<button type="submit" class="btn btn-default">
|
28
|
+
<button type="submit" class="btn btn-default">Search</button>
|
39
29
|
</form>
|
40
|
-
<ul class="nav navbar-nav navbar-right">
|
41
|
-
<li><a href="#">Link</a></li>
|
42
|
-
<li class="dropdown">
|
43
|
-
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
|
44
|
-
<ul class="dropdown-menu">
|
45
|
-
<li><a href="#">Action</a></li>
|
46
|
-
<li><a href="#">Another action</a></li>
|
47
|
-
<li><a href="#">Something else here</a></li>
|
48
|
-
<li role="separator" class="divider"></li>
|
49
|
-
<li><a href="#">Separated link</a></li>
|
50
|
-
</ul>
|
51
|
-
</li>
|
52
|
-
</ul>
|
53
30
|
</div><!-- /.navbar-collapse -->
|
54
31
|
</div><!-- /.container-fluid -->
|
55
32
|
</nav>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -1,25 +1,12 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
3
|
---
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
{{
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<li>
|
14
|
-
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
15
|
-
|
16
|
-
<h2>
|
17
|
-
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
18
|
-
</h2>
|
19
|
-
</li>
|
20
|
-
{% endfor %}
|
21
|
-
</ul>
|
22
|
-
|
23
|
-
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
24
|
-
|
25
|
-
</div>
|
5
|
+
{% for post in site.posts %}
|
6
|
+
<div class="jumbotron">
|
7
|
+
<h2>{{ post.title | escape }}</h2>
|
8
|
+
<p>{{ post.content | truncatewords: 50 }}</p>
|
9
|
+
<p><a class="btn btn-primary btn-lg" href="{{ post.url | relative_url }}" role="button">Read more</a></p>
|
10
|
+
</div>
|
11
|
+
{% endfor %}
|
12
|
+
</ul>
|
data/_layouts/page.html
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<article class="post">
|
5
4
|
|
6
|
-
|
7
|
-
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
|
-
</header>
|
5
|
+
<div class="">
|
9
6
|
|
10
|
-
<div class="
|
11
|
-
|
12
|
-
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-md-3">
|
9
|
+
{% include sidebar.html %}
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="col-md-9">
|
13
|
+
{{ content }}
|
14
|
+
</div>
|
13
15
|
|
14
|
-
</
|
16
|
+
</div>
|
17
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
3
|
---
|
4
4
|
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
5
|
|
6
6
|
<header class="post-header">
|
7
|
-
<
|
7
|
+
<h2 class="post-title" itemprop="name headline">{{ page.title | escape }}</h2>
|
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
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zslucky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zslucky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|