jekyll-theme-artsy 0.1.3 → 0.1.4
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/head.html +2 -2
- data/_includes/nav.html +1 -1
- data/_includes/search.html +1 -1
- data/_includes/signoff.html +1 -1
- data/_layouts/image.html +8 -8
- data/_layouts/post.html +235 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f9a02f833107bb1aa9e888f079b8d794cace635
|
4
|
+
data.tar.gz: c92eac484796eb7d578ddf54cbc79abe25bac0c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd372629fe1464cbf55794f32785a523fe13a9993bb64e03465b6222bbe8ba805632e00cd4a5bac842622308cf0d88e262b0a02ddd9f9bdc822d0f1e1339f252
|
7
|
+
data.tar.gz: 4d46d3d45bd83933f1e0ce1b21ac2ce4070dd7f27659a75b0b2e5b8ee2033f589e39a88dd67686cb23459366e3ece2f8dacd7eca663f0e6472d46402a494f94d
|
data/_includes/head.html
CHANGED
@@ -56,10 +56,10 @@
|
|
56
56
|
|
57
57
|
<!-- bootstrap -->
|
58
58
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
59
|
-
<script src="{{ site.baseurl }}/js/main.min.js "></script>
|
59
|
+
<script src="{{ site.baseurl }}/assets/js/main.min.js "></script>
|
60
60
|
|
61
61
|
<!-- modernizer -->
|
62
|
-
<script src="{{ site.baseurl }}/js/modernizr.js"></script>
|
62
|
+
<script src="{{ site.baseurl }}/assets/js/modernizr.js"></script>
|
63
63
|
|
64
64
|
<!-- paypal enablement -->
|
65
65
|
<script type="text/javascript" src="/js/fullcart.js"></script>
|
data/_includes/nav.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
7
7
|
<i class="fa fa-bars fa-lg"></i>
|
8
8
|
</button>
|
9
|
-
<a href="{{ site.baseurl }}/" title="HOME"><img src="{{ site.baseurl }}/img/logo.png" alt="logo" style="width:150px;cursor:pointer;margin-top:15px;"/></a>
|
9
|
+
<a href="{{ site.baseurl }}/" title="HOME"><img src="{{ site.baseurl }}/assets/img/logo.png" alt="logo" style="width:150px;cursor:pointer;margin-top:15px;"/></a>
|
10
10
|
</div>
|
11
11
|
|
12
12
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
data/_includes/search.html
CHANGED
data/_includes/signoff.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="post-author text-center">
|
2
|
-
<img src="{{ site.baseurl }}/img/{{ site.owner.avatar }}" alt="{{ site.owner.name }}'s photo" itemprop="image" class="post-avatar img-circle img-responsive"/>
|
2
|
+
<img src="{{ site.baseurl }}/assets/img/{{ site.owner.avatar }}" alt="{{ site.owner.name }}'s photo" itemprop="image" class="post-avatar img-circle img-responsive"/>
|
3
3
|
<h4>By <span itemprop="name" class="fn"><a href="{{ site.baseurl }}/about/" title="About {{ site.owner.name }}" itemprop="url">{{ site.owner.name }}</a></span></h4>
|
4
4
|
<div style="font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif; display:inline-block;font-size:.75em;">{{ site.owner.info }}</div>
|
5
5
|
</div>
|
data/_layouts/image.html
CHANGED
@@ -9,7 +9,7 @@ layout: default
|
|
9
9
|
|
10
10
|
<meta name="viewport" content="width=device-width">
|
11
11
|
|
12
|
-
<link href="{{ site.baseurl }}/css/tags-wrap.css" rel="stylesheet" />
|
12
|
+
<link href="{{ site.baseurl }}/assets/css/tags-wrap.css" rel="stylesheet" />
|
13
13
|
|
14
14
|
</head>
|
15
15
|
<body>
|
@@ -138,9 +138,9 @@ layout: default
|
|
138
138
|
</div>
|
139
139
|
|
140
140
|
<!-- Custom Theme JavaScript -->
|
141
|
-
<script src="{{ site.baseurl }}/js/main.min.js "></script>
|
141
|
+
<script src="{{ site.baseurl }}/assets/js/main.min.js "></script>
|
142
142
|
<!-- include image popups -->
|
143
|
-
<script src="{{ site.baseurl }}/js/jquery.magnific-popup.js"></script>
|
143
|
+
<script src="{{ site.baseurl }}/assets/js/jquery.magnific-popup.js"></script>
|
144
144
|
|
145
145
|
<script type="text/javascript">
|
146
146
|
$(document).ready(function($) {
|
@@ -161,17 +161,17 @@ image: {
|
|
161
161
|
});
|
162
162
|
</script>
|
163
163
|
|
164
|
-
<script src="{{ site.baseurl }}/js/retina.min.js"></script>
|
164
|
+
<script src="{{ site.baseurl }}/assets/js/retina.min.js"></script>
|
165
165
|
<!-- include Masonry -->
|
166
|
-
<script src="{{ site.baseurl }}/js/isotope.pkgd.min.js"></script>
|
166
|
+
<script src="{{ site.baseurl }}/assets/js/isotope.pkgd.min.js"></script>
|
167
167
|
<!-- include mousewheel plugins -->
|
168
|
-
<script src="{{ site.baseurl }}/js/jquery.mousewheel.min.js"></script>
|
168
|
+
<script src="{{ site.baseurl }}/assets/js/jquery.mousewheel.min.js"></script>
|
169
169
|
<!-- include carousel plugins -->
|
170
170
|
<script src="{{ site.baseurl}}/js/jquery.tinycarousel.min.js"></script>
|
171
171
|
<!-- include svg line drawing plugin -->
|
172
|
-
<script src="{{ site.baseurl }}/js/jquery.lazylinepainter.min.js"></script>
|
172
|
+
<script src="{{ site.baseurl }}/assets/js/jquery.lazylinepainter.min.js"></script>
|
173
173
|
<!-- include custom script -->
|
174
|
-
<script src="{{ site.baseurl }}/js/scripts.js"></script>
|
174
|
+
<script src="{{ site.baseurl }}/assets/js/scripts.js"></script>
|
175
175
|
|
176
176
|
|
177
177
|
</body>
|
data/_layouts/post.html
CHANGED
@@ -2,4 +2,238 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<meta charset="utf-8">
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
9
|
+
|
10
|
+
<meta name="viewport" content="width=device-width">
|
11
|
+
|
12
|
+
<link href="{{ site.baseurl }}/assets/css/tags-wrap.css" rel="stylesheet" />
|
13
|
+
|
14
|
+
</head>
|
15
|
+
<body>
|
16
|
+
|
17
|
+
|
18
|
+
{% assign post = page %}
|
19
|
+
|
20
|
+
<article>
|
21
|
+
<!-- Post Header -->
|
22
|
+
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% endif %}')">
|
23
|
+
<div class="container">
|
24
|
+
<div class="row">
|
25
|
+
<div class="post-heading">
|
26
|
+
<h1 style="color: #ffffff;">{{ page.title }}</h1>
|
27
|
+
{% if page.subtitle %}
|
28
|
+
<h2 class="subheading">{{ page.subtitle }}</h2>
|
29
|
+
{% endif %}
|
30
|
+
<span class="meta">Posted on {{ page.date | date: "%B %-d, %Y" }}</span>
|
31
|
+
|
32
|
+
<span class="time-tag-categ" style="font-size:.7em;background-color: #000000;">
|
33
|
+
|
34
|
+
{% assign minutes = content | number_of_words | divided_by: 180 %}
|
35
|
+
<i class="fa fa-clock-o"></i> {% if minutes == 0 %}{% assign minutes = 1 %}{% endif %}
|
36
|
+
{{ minutes }} minute read
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
{% if post.tags.size > 0 %}
|
41
|
+
∼ Tagged with <i class="fa fa-tags"></i>{% if post.tags.size == 1 %} {% else %}{% endif %} : {% for tag in page.tags %}<a href="{{ site.baseurl }}/tag/{{ tag | cgi_encode }}/" data-toggle="tooltip" title="Other posts tagged with {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %}{% endif %}
|
42
|
+
|
43
|
+
|
44
|
+
{% if post.categories.size > 0 %}
|
45
|
+
∼ Filed in <i class="fa fa-briefcase"></i>{% if post.categories.size == 1 %} {% else %}{% endif %} : {% for tag in page.categories %}<a href="{{ site.baseurl }}/{{ tag | cgi_encode }}/" data-toggle="tooltip" title="Other posts filed in {{ tag }} category" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %%}{% endif %}
|
46
|
+
|
47
|
+
</span>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</header>
|
53
|
+
|
54
|
+
<!-- Post Content -->
|
55
|
+
|
56
|
+
<div class="container">
|
57
|
+
<div class="row">
|
58
|
+
|
59
|
+
|
60
|
+
{{ content }}
|
61
|
+
|
62
|
+
<br>
|
63
|
+
<br>
|
64
|
+
<br>
|
65
|
+
|
66
|
+
|
67
|
+
{% include signoff.html %}
|
68
|
+
<hr class="small">
|
69
|
+
{% if site.share %}{% include share.html %}{% endif %}
|
70
|
+
|
71
|
+
{% if site.comments %}{% include disqus_comments.html %}{% endif %}
|
72
|
+
|
73
|
+
<br>
|
74
|
+
|
75
|
+
<ul class="pager">
|
76
|
+
{% if page.previous.url %}
|
77
|
+
<li class="previous">
|
78
|
+
<a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
|
79
|
+
</li>
|
80
|
+
{% endif %}
|
81
|
+
{% if page.next.url %}
|
82
|
+
<li class="next">
|
83
|
+
<a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
|
84
|
+
</li>
|
85
|
+
{% endif %}
|
86
|
+
</ul>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</article>
|
91
|
+
|
92
|
+
<br>
|
93
|
+
|
94
|
+
<hr class="medium">
|
95
|
+
|
96
|
+
<div class="tags-wrap">
|
97
|
+
<div class="tags">
|
98
|
+
|
99
|
+
<div class="section-heading group" style="color: #fff; text-align: center; margin-top: 10px;">
|
100
|
+
|
101
|
+
<h3>Tags Cloud</h3>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
{% assign rawtags = "" %}
|
106
|
+
{% for post in site.posts %}
|
107
|
+
{% assign ttags = post.tags | join:'|' | append:'|' %}
|
108
|
+
{% assign rawtags = rawtags | append:ttags %}
|
109
|
+
{% endfor %}
|
110
|
+
|
111
|
+
{% assign rawtags = rawtags | split:'|' | sort %}
|
112
|
+
|
113
|
+
{% assign tags = "" %}
|
114
|
+
|
115
|
+
{% for tag in rawtags %}
|
116
|
+
{% if tag != "" %}
|
117
|
+
|
118
|
+
{% if tags == "" %}
|
119
|
+
{% assign tags = tag | split:'|' %}
|
120
|
+
{% endif %}
|
121
|
+
|
122
|
+
{% unless tags contains tag %}
|
123
|
+
{% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %}
|
124
|
+
{% endunless %}
|
125
|
+
{% endif %}
|
126
|
+
{% endfor %}
|
127
|
+
|
128
|
+
<div class="tag-list">
|
129
|
+
{% for tag in tags %}
|
130
|
+
<a href="{{ site.baseurl }}/tag/{{ tag | slugify }}/" style="text-decoration:none;"> {{ tag }} </a>
|
131
|
+
{% endfor %}
|
132
|
+
</div>
|
133
|
+
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<hr class="medium">
|
137
|
+
|
138
|
+
<div class="categories">
|
139
|
+
|
140
|
+
<div class="section-heading group" style="color: #fff; text-align: center; margin-top: 10px;">
|
141
|
+
|
142
|
+
<h3>Categories Cloud</h3>
|
143
|
+
|
144
|
+
</div>
|
145
|
+
|
146
|
+
|
147
|
+
{% assign rawcategories = "" %}
|
148
|
+
{% for post in site.posts %}
|
149
|
+
{% assign tcategories = post.categories | join:'|' | append:'|' %}
|
150
|
+
{% assign rawcategories = rawcategories | append:tcategories %}
|
151
|
+
{% endfor %}
|
152
|
+
|
153
|
+
{% assign rawcategories = rawcategories | split:'|' | sort %}
|
154
|
+
|
155
|
+
{% assign categories = "" %}
|
156
|
+
|
157
|
+
{% for category in rawcategories %}
|
158
|
+
{% if tag != "" %}
|
159
|
+
|
160
|
+
{% if categories == "" %}
|
161
|
+
{% assign categories = category | split:'|' %}
|
162
|
+
{% endif %}
|
163
|
+
|
164
|
+
{% unless categories contains category %}
|
165
|
+
{% assign categories = categories | join:'|' | append:'|' | append:category | split:'|' %}
|
166
|
+
{% endunless %}
|
167
|
+
{% endif %}
|
168
|
+
{% endfor %}
|
169
|
+
|
170
|
+
<div class="category-list">
|
171
|
+
{% for category in categories %}
|
172
|
+
<a href="{{ site.baseurl }}/{{ category | slugify }}/"> {{ category }} </a>
|
173
|
+
{% endfor %}
|
174
|
+
</div>
|
175
|
+
|
176
|
+
</div>
|
177
|
+
|
178
|
+
<hr class="medium">
|
179
|
+
|
180
|
+
<br>
|
181
|
+
<br>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
|
185
|
+
<!-- Custom Theme JavaScript -->
|
186
|
+
<script src="{{ site.baseurl }}/assets/js/main.min.js "></script>
|
187
|
+
<!-- include image popups -->
|
188
|
+
<script src="{{ site.baseurl }}/assets/js/jquery.magnific-popup.js"></script>
|
189
|
+
|
190
|
+
<script type="text/javascript">
|
191
|
+
$(document).ready(function($) {
|
192
|
+
$('a.popup').magnificPopup({
|
193
|
+
type: 'image',
|
194
|
+
gallery:{
|
195
|
+
enabled:true,
|
196
|
+
navigateByImgClick: true,
|
197
|
+
preload: [0,1] // Will preload 0 - before current, and 1 after the current image
|
198
|
+
},
|
199
|
+
image: {
|
200
|
+
titleSrc: function(item) {
|
201
|
+
return item.el.attr('title') + ' ' + item.el.attr('data-caption');
|
202
|
+
}
|
203
|
+
}
|
204
|
+
// other options
|
205
|
+
});
|
206
|
+
});
|
207
|
+
</script>
|
208
|
+
<!-- adds the lightbox and some formatting clean-up -->
|
209
|
+
<script type="text/javascript">
|
210
|
+
$( "article img" ).each(function() {
|
211
|
+
$( this ).parent('a')
|
212
|
+
.addClass( "popup" )
|
213
|
+
.attr('data-caption', '')
|
214
|
+
.attr('title', $(this).attr('alt'))
|
215
|
+
});
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</script>
|
220
|
+
|
221
|
+
<script src="{{ site.baseurl }}/assets/js/retina.min.js"></script>
|
222
|
+
<!-- include Masonry -->
|
223
|
+
<script src="{{ site.baseurl }}/assets/js/isotope.pkgd.min.js"></script>
|
224
|
+
<!-- include mousewheel plugins -->
|
225
|
+
<script src="{{ site.baseurl }}/assets/js/jquery.mousewheel.min.js"></script>
|
226
|
+
<!-- include carousel plugins -->
|
227
|
+
<script src="{{ site.baseurl}}/js/jquery.tinycarousel.min.js"></script>
|
228
|
+
<!-- include svg line drawing plugin -->
|
229
|
+
<script src="{{ site.baseurl }}/assets/js/jquery.lazylinepainter.min.js"></script>
|
230
|
+
<!-- include custom script -->
|
231
|
+
<script src="{{ site.baseurl }}/assets/js/scripts.js"></script>
|
232
|
+
|
233
|
+
|
234
|
+
</body>
|
235
|
+
</html>
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|