jekyll-theme-artsy 0.1.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.
@@ -0,0 +1,80 @@
1
+ ---
2
+ title: categories
3
+ layout: default
4
+ description: archive
5
+ header-img: art/7979755845_508af4de3b_o.jpg
6
+ ---
7
+
8
+ {% include header.html %}
9
+
10
+ <div id="post-content">
11
+ {% if site.categories[page.category] %}
12
+ {% for post in site.categories[page.category] %}
13
+ <center>
14
+ {% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %}
15
+ {% if forloop.first %}
16
+ <h1>{{ post_year }}</h1><div class="list-group" style="display: inline-block;">
17
+ {% endif %}
18
+
19
+ {% if forloop.first == false %}
20
+ {% assign previous_index = forloop.index0 | minus: 1 %}
21
+ {% capture previous_post_year %}{{ site.categories[page.category][previous_index].date | date: '%Y' }}{% endcapture %}
22
+ {% if post_year != previous_post_year %}
23
+ </div><h3>{{ post_year }}</h3><div class="list-group">
24
+ {% endif %}
25
+ {% endif %}
26
+ </center>
27
+
28
+ <div class="bloglist-header">
29
+ <!-- <div class="bloglist-header" style="background-image: url('/{{ post.header-img }}')"> -->
30
+ <div class="container">
31
+ <div class="row">
32
+ <div class="post-heading">
33
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
34
+ {% if post.subtitle %}
35
+ <h3 class="subheading">{{ post.subtitle }}</h3>
36
+ {% endif %}
37
+ <span class="meta">Posted on {{ post.date | date: "%B %-d, %Y" }}</span>
38
+ <br>
39
+ <span class="time-tag-categ" style="font-size:.7em;background-color: #000000;">
40
+ {% assign minutes = content | number_of_words | divided_by: 180 %}
41
+ <i class="fa fa-clock-o"></i>&nbsp;{% if minutes == 0 %}{% assign minutes = 1 %}{% endif %}
42
+ {{ minutes }} minute read
43
+
44
+
45
+
46
+ {% if post.tags.size > 0 %}
47
+ &sim; Tagged with <i class="fa fa-tags"></i>{% if post.tags.size == 1 %} {% else %}{% endif %}&nbsp;:&nbsp;{% for tag in post.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 %}&nbsp;&bull;&nbsp;{% endunless %}{% endfor %}{% endif %}
48
+
49
+
50
+ {% if post.categories.size > 0 %}
51
+ &sim; Filed in <i class="fa fa-briefcase"></i>{% if post.categories.size == 1 %} {% else %}{% endif %}&nbsp;:&nbsp;{% for tag in post.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 %}&nbsp;&bull;&nbsp;{% endunless %}{% endfor %%}{% endif %}
52
+
53
+ </span>
54
+
55
+ </div>
56
+
57
+ </div>
58
+ </div>
59
+ </div>
60
+
61
+ {% if forloop.last %}
62
+ </div>
63
+ {% endif %}
64
+
65
+ <div class="container">
66
+ <div id="post-content">
67
+ <p>{{ post.excerpt }}</p>
68
+
69
+ {% if post.excerpt != post.content %}
70
+ <br clear="both" />
71
+ <center><a href="{{ site.baseurl }}{{ post.url }}">Read more</a></center>
72
+ {% endif %}
73
+ </div>
74
+ </div>
75
+
76
+ {% endfor %}
77
+ {% else %}
78
+ <p>There are no posts in this category.</p>
79
+ {% endif %}
80
+ </div>
@@ -0,0 +1,35 @@
1
+ ---
2
+ title: tags
3
+ layout: page
4
+ description: archive
5
+ header-img: img/misc-bg.jpg
6
+ ---
7
+
8
+ <div id="post-content">
9
+ {% if site.tags[page.tag] %}
10
+ {% for post in site.tags[page.tag] %}
11
+ {% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %}
12
+ {% if forloop.first %}
13
+ <h3>{{ post_year }}</h3><div class="list-group"style="display: inline-block;">
14
+ {% endif %}
15
+
16
+ {% if forloop.first == false %}
17
+ {% assign previous_index = forloop.index0 | minus: 1 %}
18
+ {% capture previous_post_year %}{{ site.tags[page.tag][previous_index].date | date: '%Y' }}{% endcapture %}
19
+ {% if post_year != previous_post_year %}
20
+ </div><h3>{{ post_year }}</h3><div class="category-list" >
21
+ {% endif %}
22
+ {% endif %}
23
+
24
+ <a href="{{ site.baseurl }}{{ post.url }}">
25
+ <h4>{{ post.title }}</h4>
26
+ </a>
27
+
28
+ {% if forloop.last %}
29
+ </div>
30
+ {% endif %}
31
+ {% endfor %}
32
+ {% else %}
33
+ <p>There are no posts for this tag.</p>
34
+ {% endif %}
35
+ </div>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% include header.html %}
6
+
7
+ <!-- Main Content -->
8
+ <div class="container">
9
+ <div class="row">
10
+
11
+ {{ content }}
12
+
13
+ {% if page.offering-type %}
14
+ {% include services-offering.html type=page.offering-type %}
15
+ {% endif %}
16
+
17
+ {% if page.cta == 'booknow' %}
18
+ <center>{% include paypal/booknow.html %}</center>
19
+ {% elsif page.cta == 'buynow' %}
20
+ <center>{% include paypal/buynow.html %}</center>
21
+ {% endif %}
22
+ </div>
23
+ </div>
@@ -0,0 +1,76 @@
1
+ ---
2
+ title: trina is artsy - the coffee chronicles
3
+ layout: default
4
+ header-img: art/7979755845_508af4de3b_o.jpg
5
+ ---
6
+
7
+ {% include header.html %}
8
+
9
+ {% for post in paginator.posts %}
10
+ <div class="bloglist-header">
11
+ <!-- <div class="bloglist-header" style="background-image: url('/{{ post.header-img }}')"> -->
12
+ <div class="container">
13
+ <div class="row">
14
+ <div class="post-heading">
15
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
16
+ {% if post.subtitle %}
17
+ <h3 class="subheading">{{ post.subtitle }}</h3>
18
+ {% endif %}
19
+ <span class="meta">Posted on {{ post.date | date: "%B %-d, %Y" }}</span>
20
+ <br>
21
+ <span class="time-tag-categ" style="font-size:.7em;background-color: #000000;">
22
+ {% assign minutes = content | number_of_words | divided_by: 180 %}
23
+ <i class="fa fa-clock-o"></i>&nbsp;{% if minutes == 0 %}{% assign minutes = 1 %}{% endif %}
24
+ {{ minutes }} minute read
25
+
26
+
27
+
28
+ {% if post.tags.size > 0 %}
29
+ &sim; Tagged with <i class="fa fa-tags"></i>{% if post.tags.size == 1 %} {% else %}{% endif %}&nbsp;:&nbsp;{% for tag in post.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 %}&nbsp;&bull;&nbsp;{% endunless %}{% endfor %}{% endif %}
30
+
31
+
32
+ {% if post.categories.size > 0 %}
33
+ &sim; Filed in <i class="fa fa-briefcase"></i>{% if post.categories.size == 1 %} {% else %}{% endif %}&nbsp;:&nbsp;{% for tag in post.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 %}&nbsp;&bull;&nbsp;{% endunless %}{% endfor %%}{% endif %}
34
+
35
+ </span>
36
+
37
+ </div>
38
+
39
+ </div>
40
+ </div>
41
+ </div>
42
+ <div class="container">
43
+ <div id="post-content">
44
+ <p>{{ post.excerpt }}</p>
45
+
46
+ {% if post.excerpt != post.content %}
47
+ <br clear="both" />
48
+ <center><a href="{{ site.baseurl }}{{ post.url }}">Read more</a></center>
49
+ {% endif %}
50
+ </div>
51
+ </div>
52
+ {% endfor %}
53
+
54
+
55
+ {% if paginator.total_pages > 1 %}
56
+ <center>
57
+
58
+ {% if paginator.previous_page %}
59
+
60
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer</a>
61
+
62
+ {% endif %}
63
+ {% if paginator.next_page %}
64
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl }}">Older</a>
65
+
66
+ {% endif %}
67
+
68
+ </center>
69
+ {% endif %}
70
+
71
+
72
+ <style>
73
+ .intro-header {
74
+ margin-bottom: 0px;
75
+ }
76
+ </style>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: page
3
+ header-img: art\the_usual_suspects__by_space_monkey.jpg
4
+ ---
5
+
6
+ <h2>{{ page.tag }}</h2>
7
+ <ul>
8
+ {% for post in page.posts %}
9
+ <li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
10
+ {% endfor %}
11
+ </ul>
12
+
13
+ <div id="tag-cloud">
14
+ {{ site | tag_cloud }}
15
+ </div>
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-artsy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Doug Hatcher
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-11-18 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.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - superterran@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/Scroll_to_Top.html
65
+ - _includes/contact.html
66
+ - _includes/disqus_comments.html
67
+ - _includes/donate.html
68
+ - _includes/footer.html
69
+ - _includes/head.html
70
+ - _includes/header.html
71
+ - _includes/nav.html
72
+ - _includes/newsletter.html
73
+ - _includes/paypal/booknow.html
74
+ - _includes/paypal/buynow.html
75
+ - _includes/search.html
76
+ - _includes/services-offering.html
77
+ - _includes/services-one.html
78
+ - _includes/services-testimonials.html
79
+ - _includes/services-three.html
80
+ - _includes/services-two.html
81
+ - _includes/share.html
82
+ - _includes/signoff.html
83
+ - _includes/slider.html
84
+ - _includes/subgallery.html
85
+ - _layouts/blog_list.html
86
+ - _layouts/default.html
87
+ - _layouts/home.html
88
+ - _layouts/image.html
89
+ - _layouts/journal_by_category.html
90
+ - _layouts/journal_by_tag.html
91
+ - _layouts/page.html
92
+ - _layouts/paginated.html
93
+ - _layouts/post.html
94
+ - _layouts/tag_page.html
95
+ homepage: https://github.com/superterran/jekyll-theme-artsy
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.5.2.1
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: An artfully-minded Jekyll theme
119
+ test_files: []