jekyll-theme-simple-texture 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -6
- data/_includes/blog/footer.html +2 -2
- data/_includes/blog/header.html +3 -3
- data/_includes/blog/overlay.html +3 -3
- data/_includes/blog/scripts.html +8 -8
- data/_includes/common/libraries.html +3 -3
- data/_includes/common/meta.html +1 -1
- data/_includes/helpers/categories_list +2 -2
- data/_includes/helpers/pages_list +1 -1
- data/_includes/helpers/posts_collate +1 -1
- data/_includes/helpers/tags_list +2 -2
- data/_includes/home/scripts.html +2 -2
- data/_layouts/blog.html +1 -1
- data/_layouts/home.html +6 -6
- data/_layouts/post.html +4 -4
- data/_sass/simple-texture-blog.scss +1 -1
- data/_sass/simple-texture-home.scss +3 -3
- data/_sass/simple-texture/blog/_content.scss +1 -1
- data/_sass/simple-texture/blog/_header.scss +2 -2
- data/_sass/simple-texture/common/_fonts.scss +6 -6
- data/_sass/simple-texture/common/_social-icons.scss +1 -1
- data/_sass/simple-texture/home/_responsive.scss +1 -1
- data/assets/images/screenshots/home.png +0 -0
- data/assets/images/screenshots/post.png +0 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1099335ee60d7780990da0b7d79194ed13b287c7
|
4
|
+
data.tar.gz: 5d6d078e595e770c8f00867c023be02e207530ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fcd7b47f8b7537791cf38c723730a50b57c3dc7c4fc2fbc415f3e5c10b5145cd9964fb77747cc82106a997ec1224a2b8f713176248bea36aa43beb5d97514c6
|
7
|
+
data.tar.gz: 4a08d7216304a4861059dd78bcc947afd17e316b4f40ee01b1965bb79055eb8d70f8666693c7c446f12fbf2d9b4fe0c949165f1c94a41892a2616a6c01e17e37
|
data/README.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# Simple Texture Jekyll Theme
|
2
2
|
|
3
|
+
![Gem Version](https://img.shields.io/gem/v/jekyll-theme-simple-texture.svg)
|
4
|
+
|
3
5
|
Simple Texture is a gem-based responsive simple texture styled Jekyll theme for [Jekyll][Jekyll] 3.3 or above,
|
4
6
|
which can also be forked as a boilerplate for older versions of Jekyll.
|
5
7
|
|
8
|
+
## Demo
|
9
|
+
|
10
|
+
- Starter-kit demo:
|
11
|
+
<https://yizeng.github.io/jekyll-theme-simple-texture/>
|
12
|
+
- My own personal blog: <http://yizeng.me/blog>
|
13
|
+
|
14
|
+
![Screenshot - Home](assets/images/screenshots/home.png)
|
15
|
+
|
16
|
+
![Screenshot - Blog](assets/images/screenshots/post.png)
|
17
|
+
|
6
18
|
## Installation
|
7
19
|
|
8
20
|
### As a Jekyll theme gem (Jekyll >= 3.3)
|
@@ -28,16 +40,18 @@ Then for newly created or existing Jekyll app,
|
|
28
40
|
|
29
41
|
gem install bundler
|
30
42
|
|
31
|
-
2.
|
43
|
+
2. Remove Jekyll auto-generated default pages `about.md` and `index.md`.
|
32
44
|
|
33
|
-
3.
|
45
|
+
3. Download the starter kit [here](https://github.com/yizeng/jekyll-theme-simple-texture/tree/master/starter-kit).
|
46
|
+
|
47
|
+
4. Put everything in the starter kit in the root directory,
|
34
48
|
i.e. `jekyllapp` in this example.
|
35
49
|
|
36
|
-
|
50
|
+
5. Run `bundle install` to install dependencies.
|
37
51
|
|
38
|
-
|
52
|
+
6. Run Jekyll with `bundle exec jekyll serve`
|
39
53
|
|
40
|
-
|
54
|
+
7. Hack away at <http://localhost:4000>!
|
41
55
|
|
42
56
|
### As a fork
|
43
57
|
|
@@ -51,7 +65,7 @@ i.e. `jekyllapp` in this example.
|
|
51
65
|
|
52
66
|
4. Install Bundler if haven't done so.
|
53
67
|
|
54
|
-
|
68
|
+
gem install bundler
|
55
69
|
|
56
70
|
5. Run `bundle install` to install dependencies.
|
57
71
|
|
data/_includes/blog/footer.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="unit-inner unit-foot-inner">
|
4
4
|
<div class="misc vcard">
|
5
5
|
<div class="about">
|
6
|
-
<h4><a href="{{ site.paths.home }}">{{ site.data.i18n[site.lang].about }}</a></h4>
|
6
|
+
<h4><a href="{{ site.paths.home | relative_url }}">{{ site.data.i18n[site.lang].about }}</a></h4>
|
7
7
|
{% if site.blog.footer_content %}
|
8
8
|
<p>{{ site.blog.footer_content }}</p>
|
9
9
|
{% endif %}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
{% if site.author.email %}
|
14
14
|
<a class="external ico-gmail" href="mailto:{{ site.author.email }}" rel="me" target="_blank" title="email"></a>
|
15
15
|
{% endif %}
|
16
|
-
<a class="external ico-rss" href="/feed.xml" rel="me" target="_blank" title="feed"></a>
|
16
|
+
<a class="external ico-rss" href="{{ "/feed.xml" | relative_url }}" rel="me" target="_blank" title="feed"></a>
|
17
17
|
{% for link in site.author.social_links %}
|
18
18
|
{% if link.url %}
|
19
19
|
<a class="external ico-{{ link.name }}" href="{{ link.url }}" rel="me" target="_blank" title="{{ link.name }}"></a>
|
data/_includes/blog/header.html
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
<ul>
|
6
6
|
<li class="logo nav-link">
|
7
7
|
<button class="btn-menu" data-ga="Menu"></button>
|
8
|
-
<a href="{{ site.paths.blog }}">{{ site.title }}</a>
|
8
|
+
<a href="{{ site.paths.blog | relative_url }}">{{ site.title }}</a>
|
9
9
|
<!--[if !IE]> -->
|
10
10
|
<button class="btn-search" data-ga="Search"></button>
|
11
11
|
<!-- <![endif]-->
|
12
12
|
</li>
|
13
|
-
<li class="nav-link"><a data-ga="Categories" href="{{ site.paths.categories }}">{{ site.data.i18n[site.lang].categories }}</a></li>
|
14
|
-
<li class="nav-link"><a data-ga="Tags" href="{{ site.paths.tags }}">{{ site.data.i18n[site.lang].tags }}</a></li>
|
13
|
+
<li class="nav-link"><a data-ga="Categories" href="{{ site.paths.categories | relative_url }}">{{ site.data.i18n[site.lang].categories }}</a></li>
|
14
|
+
<li class="nav-link"><a data-ga="Tags" href="{{ site.paths.tags | relative_url }}">{{ site.data.i18n[site.lang].tags }}</a></li>
|
15
15
|
<!--[if !IE]> -->
|
16
16
|
<li class="nav-link"><a data-ga="Search" class="btn-search" href="#">{{ site.data.i18n[site.lang].search }}</a></li>
|
17
17
|
<!-- <![endif]-->
|
data/_includes/blog/overlay.html
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
<a class="btn-close">{{ site.data.i18n[site.lang].close }}</a>
|
5
5
|
<div class="results">
|
6
6
|
<ul>
|
7
|
-
<li><a href="{{ site.paths.categories }}">{{ site.data.i18n[site.lang].categories }}</a></li>
|
8
|
-
<li><a href="{{ site.paths.tags }}">{{ site.data.i18n[site.lang].tags }}</a></li>
|
9
|
-
<li><a href="{{ site.paths.home }}">{{ site.data.i18n[site.lang].about }}</a></li>
|
7
|
+
<li><a href="{{ site.paths.categories | relative_url }}">{{ site.data.i18n[site.lang].categories }}</a></li>
|
8
|
+
<li><a href="{{ site.paths.tags | relative_url }}">{{ site.data.i18n[site.lang].tags }}</a></li>
|
9
|
+
<li><a href="{{ site.paths.home | relative_url }}">{{ site.data.i18n[site.lang].about }}</a></li>
|
10
10
|
</ul>
|
11
11
|
</div>
|
12
12
|
</div>
|
data/_includes/blog/scripts.html
CHANGED
@@ -122,12 +122,12 @@ $(document).ready(function () {
|
|
122
122
|
{% endif %}
|
123
123
|
|
124
124
|
<!-- Show menu overlay + Jekyll Simple Search option -->
|
125
|
-
<script src="/assets/javascripts/jekyll-search.jquery.js"></script>
|
125
|
+
<script src="{{ site.baseurl }}/assets/javascripts/jekyll-search.jquery.js"></script>
|
126
126
|
<script>
|
127
127
|
$(document).ready(function () {
|
128
128
|
$('.search-field').simpleJekyllSearch({
|
129
|
-
jsonFile: '/search.json',
|
130
|
-
template: '<li><a href="{url}">{title} <span class="entry-date"><time datetime="{date}">{shortdate}</time></span></a></li>',
|
129
|
+
jsonFile: '{{ site.baseurl }}/search.json',
|
130
|
+
template: '<li><a href="{{ site.baseurl }}{url}">{title} <span class="entry-date"><time datetime="{date}">{shortdate}</time></span></a></li>',
|
131
131
|
searchResults: '.search-wrapper .results',
|
132
132
|
searchResultsTitle: '<h4>{{ site.data.i18n[site.lang].search_results }}</h4>',
|
133
133
|
noResults: '<p>{{ site.data.i18n[site.lang].search_not_found }}</p>'
|
@@ -169,16 +169,16 @@ $(document).ready(function () {
|
|
169
169
|
|
170
170
|
<script src='//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.min.js'></script>
|
171
171
|
<script src='//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/helpers/jquery.fancybox-buttons.min.js'></script>
|
172
|
-
<script src="/assets/javascripts/unveil/jquery.unveil.min.js"></script>
|
172
|
+
<script src="{{ site.baseurl }}/assets/javascripts/unveil/jquery.unveil.min.js"></script>
|
173
173
|
|
174
174
|
<script>
|
175
|
-
window.jQuery.fancybox || document.write('<script src="/assets/javascripts/fancybox/jquery.fancybox.pack.js?v=2.1.4"><\/script>')
|
176
|
-
window.jQuery.fancybox.helpers.buttons || document.write('<script src="/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js?v=1.0.5"><\/script>')
|
175
|
+
window.jQuery.fancybox || document.write('<script src="{{ site.baseurl }}/assets/javascripts/fancybox/jquery.fancybox.pack.js?v=2.1.4"><\/script>')
|
176
|
+
window.jQuery.fancybox.helpers.buttons || document.write('<script src="{{ site.baseurl }}/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js?v=1.0.5"><\/script>')
|
177
177
|
</script>
|
178
178
|
|
179
179
|
<script>
|
180
|
-
$("head").append('<link rel="stylesheet" href="/assets/javascripts/fancybox/jquery.fancybox.css?v=2.1.4" type="text/css" />');
|
181
|
-
$("head").append('<link rel="stylesheet" href="/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" />');
|
180
|
+
$("head").append('<link rel="stylesheet" href="{{ site.baseurl }}/assets/javascripts/fancybox/jquery.fancybox.css?v=2.1.4" type="text/css" />');
|
181
|
+
$("head").append('<link rel="stylesheet" href="{{ site.baseurl }}/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" />');
|
182
182
|
$(".post-image").fancybox({
|
183
183
|
prevEffect: 'none',
|
184
184
|
nextEffect: 'none',
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
|
2
|
-
<script>window.Modernizr || document.write('<script src="/assets/javascripts/modernizr-2.8.3.min.js"><\/script>')</script>
|
2
|
+
<script>window.Modernizr || document.write('<script src="{{ site.baseurl }}/assets/javascripts/modernizr-2.8.3.min.js"><\/script>')</script>
|
3
3
|
|
4
4
|
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
5
5
|
<script>
|
6
|
-
window.jQuery || document.write('<script src="/assets/javascripts/jquery-3.2.1.min.js"><\/script>')
|
6
|
+
window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/javascripts/jquery-3.2.1.min.js"><\/script>')
|
7
7
|
</script>
|
8
8
|
|
9
9
|
<script src="//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js"></script>
|
10
10
|
<script>
|
11
|
-
window.Pace || document.write('<script src="/assets/javascripts/pace.min.js"><\/script>')
|
11
|
+
window.Pace || document.write('<script src="{{ site.baseurl }}/assets/javascripts/pace.min.js"><\/script>')
|
12
12
|
</script>
|
13
13
|
|
14
14
|
{% if site.google_analytics %}
|
data/_includes/common/meta.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="keywords" content="{% if site.author.username %}{{ site.author.username }},{% endif %}{% if page.tags != null %}{{ page.tags | join: ',' }}{% else %}{{ site.blog.keywords }}{% endif %}" />
|
7
7
|
|
8
8
|
{% if page.url == "/404.html" %}
|
9
|
-
<meta http-equiv="refresh" content="5; url={{ site.paths.blog }}">
|
9
|
+
<meta http-equiv="refresh" content="5; url={{ site.paths.blog | relative_url }}">
|
10
10
|
{% endif %}
|
11
11
|
|
12
12
|
{% if page.indexing == false %}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
{% if categories_list.first[0] == null %}
|
2
2
|
{% for category in categories_list %}
|
3
3
|
<li>
|
4
|
-
<a class="internal" data-ga="{{ category | join: "/" }}" href="{{ site.paths.categories }}#{{ category | replace:' ','-' }}" title="{{ category | join: "/" }}">
|
4
|
+
<a class="internal" data-ga="{{ category | join: "/" }}" href="{{ site.paths.categories | relative_url }}#{{ category | replace:' ','-' }}" title="{{ category | join: "/" }}">
|
5
5
|
{{ category | join: "/" }} <span>{{ site.categories[category].size }}</span></a>
|
6
6
|
</li>
|
7
7
|
{% endfor %}
|
8
8
|
{% else %}
|
9
9
|
{% for category in categories_list %}
|
10
10
|
<li>
|
11
|
-
<a class="internal" data-ga="{{ category[0] | join: "/" }}" href="{{ site.paths.categories }}#{{ category[0] | replace:' ','-' }}" title="{{ category[0] | join: "/" }}">
|
11
|
+
<a class="internal" data-ga="{{ category[0] | join: "/" }}" href="{{ site.paths.categories | relative_url }}#{{ category[0] | replace:' ','-' }}" title="{{ category[0] | join: "/" }}">
|
12
12
|
{{ category[0] | join: "/" }} <span>{{ category[1].size }}</span></a>
|
13
13
|
</li>
|
14
14
|
{% endfor %}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
{% if page.url == node.url %}
|
5
5
|
<li class="active"><a class="active internal" href="{{node.url}}">{{node.title}}</a>
|
6
6
|
{% else %}
|
7
|
-
<li><a class="internal" href="{{node.url}}">{{node.title}}</a>
|
7
|
+
<li><a class="internal" href="{{node.url | relative_url }}">{{node.title}}</a>
|
8
8
|
{% endif %}
|
9
9
|
<span class="date">{{ node.date | date: "%b %d, %Y" }}</span></li>
|
10
10
|
{% endif %}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
{% endif %}
|
11
11
|
|
12
12
|
<li>
|
13
|
-
<a class="active internal" href="{{ post.url }}">{{ post.title }}</a>
|
13
|
+
<a class="active internal" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
14
14
|
{% if post.last_updated %}
|
15
15
|
<span title="{{ site.data.i18n[site.lang].last_updated }}: {{ post.last_updated | date: "%b %d, %Y" }}" class="date">{{ post.date | date: "%b %d, %Y" }}</span>
|
16
16
|
{% else %}
|
data/_includes/helpers/tags_list
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
{% for tag in tags_list %}
|
3
3
|
{% assign actual_tag_name = tag | replace:' ',' ' %}
|
4
4
|
<li>
|
5
|
-
<a class="internal" data-ga="{{ actual_tag_name }}" href="{{ site.paths.tags }}#{{ actual_tag_name | replace:' ','-' | replace:'#','sharp' }}" title="{{ actual_tag_name }}">{{ actual_tag_name }} <span>{{ site.tags[actual_tag_name].size }}</span></a>
|
5
|
+
<a class="internal" data-ga="{{ actual_tag_name }}" href="{{ site.paths.tags | relative_url }}#{{ actual_tag_name | replace:' ','-' | replace:'#','sharp' }}" title="{{ actual_tag_name }}">{{ actual_tag_name }} <span>{{ site.tags[actual_tag_name].size }}</span></a>
|
6
6
|
</li>
|
7
7
|
{% endfor %}
|
8
8
|
{% else %}
|
9
9
|
{% for tag in tags_list %}
|
10
10
|
{% assign actual_tag_name = tag[0] | replace:' ',' ' %}
|
11
11
|
<li>
|
12
|
-
<a class="internal" data-ga="{{ actual_tag_name }}" href="{{ site.paths.tags }}#{{ actual_tag_name | replace:' ','-' | replace:'#','sharp' }}" title="{{ actual_tag_name }}">{{ actual_tag_name }} <span>{{ tag[1].size }}</span></a>
|
12
|
+
<a class="internal" data-ga="{{ actual_tag_name }}" href="{{ site.paths.tags | relative_url }}#{{ actual_tag_name | replace:' ','-' | replace:'#','sharp' }}" title="{{ actual_tag_name }}">{{ actual_tag_name }} <span>{{ tag[1].size }}</span></a>
|
13
13
|
</li>
|
14
14
|
{% endfor %}
|
15
15
|
{% endif %}
|
data/_includes/home/scripts.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
<script src="/assets/javascripts/jquery.fullPage.min.js"></script>
|
2
|
-
<script src="/assets/javascripts/jquery.easing.min.js"></script>
|
1
|
+
<script src="{{ site.baseurl }}/assets/javascripts/jquery.fullPage.min.js"></script>
|
2
|
+
<script src="{{ site.baseurl }}/assets/javascripts/jquery.easing.min.js"></script>
|
3
3
|
<script>
|
4
4
|
$(document).ready(function () {
|
5
5
|
$.fn.fullpage({
|
data/_layouts/blog.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
<head>
|
11
11
|
{% include common/meta.html %}
|
12
|
-
<link href='/assets/stylesheets/blog.css' rel="stylesheet" type="text/css">
|
12
|
+
<link href='{{ site.baseurl }}/assets/stylesheets/blog.css' rel="stylesheet" type="text/css">
|
13
13
|
{% include common/libraries.html %}
|
14
14
|
</head>
|
15
15
|
|
data/_layouts/home.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
<head>
|
11
11
|
{% include common/meta.html %}
|
12
|
-
<link href='/assets/stylesheets/home.css' rel="stylesheet" type="text/css">
|
12
|
+
<link href='{{ site.baseurl }}/assets/stylesheets/home.css' rel="stylesheet" type="text/css">
|
13
13
|
{% include common/libraries.html %}
|
14
14
|
</head>
|
15
15
|
|
@@ -24,19 +24,19 @@
|
|
24
24
|
{% include common/notices.html %}
|
25
25
|
|
26
26
|
<div class="headings animated fadeInLeft">
|
27
|
-
{% if site.home.
|
28
|
-
{% if site.home.
|
29
|
-
{% if site.home.
|
27
|
+
{% if site.home.section1 %}{{ site.home.section1 }}{% endif %}
|
28
|
+
{% if site.home.section2 %}{{ site.home.section2 }}{% endif %}
|
29
|
+
{% if site.home.section3 %}{{ site.home.section3 }}{% endif %}
|
30
30
|
</div>
|
31
31
|
<a class="btn-continue animated bounce" data-ga="More" href="#social"></a>
|
32
32
|
</div>
|
33
33
|
|
34
34
|
<div id="section1" class="section" data-name="social">
|
35
35
|
<h1 class="animated hidden">
|
36
|
-
<a class="btn-enter btn-light" data-ga="Enter Blog" href="{{ site.paths.blog }}">{{ site.data.i18n[site.lang].enter_blog }}</a>
|
36
|
+
<a class="btn-enter btn-light" data-ga="Enter Blog" href="{{ site.paths.blog | relative_url }}">{{ site.data.i18n[site.lang].enter_blog }}</a>
|
37
37
|
</h1>
|
38
38
|
<div class="social-links animated hidden">
|
39
|
-
<a class="btn-light ico-rss" href="/feed.xml" rel="me" target="_blank" title="feed"></a>
|
39
|
+
<a class="btn-light ico-rss" href="{{ site.baseurl }}/feed.xml" rel="me" target="_blank" title="feed"></a>
|
40
40
|
{% if site.author.email %}
|
41
41
|
<a class="btn-light ico-gmail" href="mailto:{{ site.author.email }}" rel="me" target="_blank" title="email"></a>
|
42
42
|
{% endif %}
|
data/_layouts/post.html
CHANGED
@@ -21,7 +21,7 @@ layout: blog
|
|
21
21
|
by
|
22
22
|
<a class="author" href="/" rel="author"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{% if page.author == null %}{{ site.author.name }}{% else %}{{ page.author }}{% endif %}</span></span></a>
|
23
23
|
<a class="license-icon" rel="license" href="{{ site.blog.cc_license }}" target="_blank">
|
24
|
-
<img alt="Creative Commons Licence" style="border-width:0" src="{{ site.blog.cc_license_image }}" height="16" width="80"/>
|
24
|
+
<img alt="Creative Commons Licence" style="border-width:0" src="{{ site.blog.cc_license_image | relative_url }}" height="16" width="80"/>
|
25
25
|
</a> {% if page.last_updated %} ({{ site.data.i18n[site.lang].last_updated
|
26
26
|
}}:
|
27
27
|
<time class="date-updated updated" title="{{ page.last_updated | date_to_xmlschema }}" datetime="{{ page.last_updated | date_to_xmlschema }}">{{ page.last_updated }}</time>) {% endif %}
|
@@ -50,10 +50,10 @@ layout: blog
|
|
50
50
|
</div>
|
51
51
|
<nav class="pagination">
|
52
52
|
{% if page.previous %}
|
53
|
-
<a class="internal" data-ga="Previous Post" rel="prev" href="{{ page.previous.url }}" title="{{ site.data.i18n[site.lang].view }} '{{ page.previous.title }}'"> ← {{ page.previous.title }}</a>
|
53
|
+
<a class="internal" data-ga="Previous Post" rel="prev" href="{{ page.previous.url | relative_url }}" title="{{ site.data.i18n[site.lang].view }} '{{ page.previous.title }}'"> ← {{ page.previous.title }}</a>
|
54
54
|
{% endif %}
|
55
55
|
{% if page.next %}
|
56
|
-
<a class="internal" data-ga="Next Post" rel="next" href="{{ page.next.url }}" title="{{ site.data.i18n[site.lang].view }} '{{ page.next.title }}'">{{ page.next.title }} → </a>
|
56
|
+
<a class="internal" data-ga="Next Post" rel="next" href="{{ page.next.url | relative_url }}" title="{{ site.data.i18n[site.lang].view }} '{{ page.next.title }}'">{{ page.next.title }} → </a>
|
57
57
|
{% endif %}
|
58
58
|
</nav>
|
59
59
|
</div>
|
@@ -62,7 +62,7 @@ layout: blog
|
|
62
62
|
{% if site.disqus.shortname and page.comments != false %}
|
63
63
|
{% include common/disqus.html %}
|
64
64
|
<div class="comments">
|
65
|
-
<button class="center-block show-hidden" data-ga="Show Comments" data-disqus-url="{{
|
65
|
+
<button class="center-block show-hidden" data-ga="Show Comments" data-disqus-url="{{ page.url | absolute_url }}">{{ site.data.i18n[site.lang].show_comments }}</button>
|
66
66
|
<div id="disqus_thread"></div>
|
67
67
|
</div>
|
68
68
|
{% endif %}
|
@@ -80,11 +80,11 @@ textarea {
|
|
80
80
|
}
|
81
81
|
|
82
82
|
#section0 {
|
83
|
-
background: url('
|
83
|
+
background: url('../images/theme/noisy_texture_section0-200x200.png') repeat 0 0 #F0F0F0;
|
84
84
|
}
|
85
85
|
|
86
86
|
#section1 {
|
87
|
-
background: url('
|
87
|
+
background: url('../images/theme/noisy_texture_section1-200x200.png') repeat 0 0 #150E1F;
|
88
88
|
}
|
89
89
|
|
90
90
|
#fullPage-nav {
|
@@ -155,7 +155,7 @@ textarea {
|
|
155
155
|
text-indent: -9999em;
|
156
156
|
|
157
157
|
outline: none;
|
158
|
-
background-image: url('
|
158
|
+
background-image: url('../images/theme/btn-more.png');
|
159
159
|
background-repeat: no-repeat;
|
160
160
|
background-position: center center;
|
161
161
|
|
@@ -437,7 +437,7 @@
|
|
437
437
|
|
438
438
|
list-style: none;
|
439
439
|
|
440
|
-
background: url('
|
440
|
+
background: url('../images/theme/noisy_texture_section0-200x200.png') repeat #F0F0F0;
|
441
441
|
background-clip: padding-box;
|
442
442
|
box-shadow: inset 0 3px 3px rgba(0, 0, 0, .4), 0 3px 0 rgba(255, 255, 255, .4);
|
443
443
|
|
@@ -39,13 +39,13 @@
|
|
39
39
|
.btn-menu {
|
40
40
|
float: left;
|
41
41
|
|
42
|
-
background: url('
|
42
|
+
background: url('../images/theme/btn-menu.png') no-repeat;
|
43
43
|
}
|
44
44
|
|
45
45
|
.btn-search {
|
46
46
|
float: right;
|
47
47
|
|
48
|
-
background: url('
|
48
|
+
background: url('../images/theme/btn-search.png') no-repeat;
|
49
49
|
}
|
50
50
|
}
|
51
51
|
|
@@ -3,21 +3,21 @@
|
|
3
3
|
font-weight: normal;
|
4
4
|
font-style: normal;
|
5
5
|
|
6
|
-
src: url('
|
7
|
-
src: url('
|
6
|
+
src: url('../fonts/bitter-regular-webfont.eot');
|
7
|
+
src: url('../fonts/bitter-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/bitter-regular-webfont.woff') format('woff'), url('../fonts/bitter-regular-webfont.ttf') format('truetype'), url('../fonts/bitter-regular-webfont.svg#bitterregular') format('svg');
|
8
8
|
}
|
9
9
|
@font-face {
|
10
10
|
font-family: 'Junge Regular';
|
11
11
|
font-weight: normal;
|
12
12
|
font-style: normal;
|
13
|
-
src: url('
|
14
|
-
src: url('
|
13
|
+
src: url('../fonts/junge-regular-webfont.eot');
|
14
|
+
src: url('../fonts/junge-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/junge-regular-webfont.woff') format('woff'), url('../fonts/junge-regular-webfont.ttf') format('truetype'), url('../fonts/junge-regular-webfont.svg#jungeregular') format('svg');
|
15
15
|
}
|
16
16
|
@font-face {
|
17
17
|
font-family: 'Ubuntu Condensed';
|
18
18
|
font-weight: normal;
|
19
19
|
font-style: normal;
|
20
20
|
|
21
|
-
src: url('
|
22
|
-
src: url('
|
21
|
+
src: url('../fonts/ubuntu-c-webfont.eot');
|
22
|
+
src: url('../fonts/ubuntu-c-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-c-webfont.woff') format('woff'), url('../fonts/ubuntu-c-webfont.ttf') format('truetype'), url('../fonts/ubuntu-c-webfont.svg#ubuntu_condensedregular') format('svg');
|
23
23
|
}
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-simple-texture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yi Zeng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -179,6 +179,8 @@ files:
|
|
179
179
|
- assets/fonts/ubuntu-c-webfont.svg
|
180
180
|
- assets/fonts/ubuntu-c-webfont.ttf
|
181
181
|
- assets/fonts/ubuntu-c-webfont.woff
|
182
|
+
- assets/images/screenshots/home.png
|
183
|
+
- assets/images/screenshots/post.png
|
182
184
|
- assets/images/simple-icons/facebook-48.png
|
183
185
|
- assets/images/simple-icons/github-48.png
|
184
186
|
- assets/images/simple-icons/gmail-48.png
|