jekyll-theory 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +21 -0
- data/README.md +95 -0
- data/_includes/banner.html +4 -0
- data/_includes/footer.html +49 -0
- data/_includes/front-post.html +29 -0
- data/_includes/front-team.html +22 -0
- data/_includes/head.html +5 -0
- data/_includes/header.html +13 -0
- data/_includes/main-index.html +4 -0
- data/_includes/scripts.html +5 -0
- data/_includes/services.html +20 -0
- data/_layouts/default.html +19 -0
- data/_layouts/page.html +15 -0
- data/_layouts/post.html +36 -0
- data/_layouts/service.html +26 -0
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ebe15cbacac98de36d144f40f234c4d364fcc3
|
4
|
+
data.tar.gz: dcf03bb5580db77cbb218a8316a6e16f7418ff35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 024c07e1990c25bc1c2a8e371f53c82fbbb14d19d6e56b9f4fd9bf62bbda2de94ef5649c32cc02894ba1e36c932e1526e2b4fcfd3c172526941467a7ab619661
|
7
|
+
data.tar.gz: d8b9b9a5156b8f131aa232726c7192e511475bef021773672bcaf9048e185f3ce6ca5cae62f7708fd7714e5deba7c802bb48adfeae3572f0a0fb7d3d5647cc65
|
data/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Rohan Sakhale
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
# Jekyll Theory
|
2
|
+
|
3
|
+
[![build status](https://gitlab.com/SaiAshirwadInformatia/Jekyll-Theory/badges/master/build.svg)](https://gitlab.com/SaiAshirwadInformatia/Jekyll-Theory/commits/master) [![Gem Version](https://badge.fury.io/rb/jekyll-theory.svg)](https://badge.fury.io/rb/jekyll-theory)
|
4
|
+
|
5
|
+
Just a crisp, modern landing page template ideal for businesses and corporations, designed by [Templated.co](https://templated.co). This template is perfect to display your services, team, blog.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Jekyll site's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem "jekyll-theory"
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: jekyll-theory
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install jekyll-theory
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
This template comes with ready features available like Social Links, Team Info and Services on top of Posts which requires to be configured. Below are several configuration available that can be leveraged easily
|
32
|
+
|
33
|
+
### _config.yml
|
34
|
+
|
35
|
+
```yaml
|
36
|
+
social_links:
|
37
|
+
facebook_url: https://facebook.com/SaiAshirwadInformatia
|
38
|
+
twitter_url: https://twitter.com/SaiAshirwadInfo/
|
39
|
+
linkedin_url: LINKEDIN_URL
|
40
|
+
pinterest_url: PINTEREST_URL
|
41
|
+
vimeo_url: VIMEO_URL
|
42
|
+
email_id: EMAIL_ID
|
43
|
+
|
44
|
+
|
45
|
+
collections:
|
46
|
+
services:
|
47
|
+
output: true
|
48
|
+
team:
|
49
|
+
output: true
|
50
|
+
```
|
51
|
+
|
52
|
+
Now add two new folders named `_team` and `_services` that contain your team member info and services info individually as a markdown file
|
53
|
+
|
54
|
+
#### Front Matter for services
|
55
|
+
|
56
|
+
```yaml
|
57
|
+
title: "Interdum lorem pulvinar adipiscing vitae"
|
58
|
+
display: "Interdum lorem pulvinar<br> adipiscing vitae"
|
59
|
+
short_description: Morbi interdum mollis sapien. Sed ac risus. Phasellus lacinia, magna a ullamcorper laoreet, lectus arcu.
|
60
|
+
layout: service
|
61
|
+
```
|
62
|
+
|
63
|
+
#### Front Matter for team
|
64
|
+
|
65
|
+
```yaml
|
66
|
+
name: Dolore
|
67
|
+
username: dolore
|
68
|
+
title: Praesent placer
|
69
|
+
image: bower_components/theory/images/pic06.jpg
|
70
|
+
front_display: true
|
71
|
+
```
|
72
|
+
|
73
|
+
### _layouts
|
74
|
+
|
75
|
+
1. default.html - Presents the default layout that can be extended by any layout for base structure.
|
76
|
+
1. page.html - Presents the additional custom pages you can add
|
77
|
+
1. post.html - Presents the post page and also displays next and previous blog post
|
78
|
+
1. services.html - Presents the service information and also lists down additional services available
|
79
|
+
|
80
|
+
## Contributing
|
81
|
+
|
82
|
+
Issue reports, feature/enhancement requests and merge requests are welcome on GitLab.
|
83
|
+
|
84
|
+
## Development
|
85
|
+
|
86
|
+
To set up your environment to develop this theme, run `bundle install`.
|
87
|
+
|
88
|
+
You theme is setup just like a normal Jelyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
89
|
+
|
90
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
91
|
+
|
92
|
+
## License
|
93
|
+
|
94
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
95
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<!-- Footer -->
|
2
|
+
<footer id="footer">
|
3
|
+
<div class="inner">
|
4
|
+
<div class="flex">
|
5
|
+
<div class="copyright">
|
6
|
+
© {{ site.title }}. Design: <a href="https://templated.co">TEMPLATED</a>. Images: <a href="https://unsplash.com">Unsplash</a>. Jekyll Template: <a href="http://saiashirwad.com">Sai Ashirwad Informatia</a>
|
7
|
+
</div>
|
8
|
+
<ul class="icons">
|
9
|
+
{% if site.social_links.facebook_url and site.social_links.facebook_url != "FACEBOOK_URL" %}
|
10
|
+
<li>
|
11
|
+
<a href="{{ site.social_links.facebook_url }}" class="icon fa-facebook">
|
12
|
+
<span class="label">Facebook</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endif %}
|
16
|
+
{% if site.social_links.twitter_url and site.social_links.twitter_url != "TWITTER_URL" %}
|
17
|
+
<li>
|
18
|
+
<a href="{{ site.social_links.twitter_url }}" class="icon fa-twitter">
|
19
|
+
<span class="label">Twitter</span>
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endif %}
|
23
|
+
{% if site.social_links.linked_url and site.social_links.linked_url != "LINKED_URL" %}
|
24
|
+
<li>
|
25
|
+
<a href="{{ site.social_links.linked_url }}" class="icon fa-linkedin">
|
26
|
+
<span class="label">linkedIn</span>
|
27
|
+
</a>
|
28
|
+
</li>
|
29
|
+
{% endif %}
|
30
|
+
{% if site.social_links.pinterest_url and site.social_links.pinterest_url != "PINTEREST_URL" %}
|
31
|
+
<li>
|
32
|
+
<a href="{{ site.social_links.pinterest_url }}" class="icon fa-pinterest-p">
|
33
|
+
<span class="label">Pinterest</span>
|
34
|
+
</a>
|
35
|
+
</li>
|
36
|
+
{% endif %}
|
37
|
+
{% if site.social_links.vimeo_url and site.social_links.vimeo_url != "VIMEO_URL" %}
|
38
|
+
<li>
|
39
|
+
<a href="{{ site.social_links.vimeo_url }}" class="icon fa-vimeo">
|
40
|
+
<span class="label">Vimeo</span>
|
41
|
+
</a>
|
42
|
+
</li>
|
43
|
+
{% endif %}
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</footer>
|
48
|
+
|
49
|
+
{% include scripts.html %}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<!-- Three -->
|
4
|
+
<section id="three" class="wrapper special">
|
5
|
+
<div class="inner">
|
6
|
+
<header class="align-center">
|
7
|
+
<h2>Nunc Dignissim</h2>
|
8
|
+
<p>Aliquam erat volutpat nam dui </p>
|
9
|
+
</header>
|
10
|
+
<div class="flex flex-2">
|
11
|
+
{% for post in site.posts limit:2 %}
|
12
|
+
<article>
|
13
|
+
<div class="image fit">
|
14
|
+
<img src="{{ site.baseurl }}/{{ post.image }}" alt="{{ post.title }}" />
|
15
|
+
</div>
|
16
|
+
<header>
|
17
|
+
<h3>{{ post.title }}</h3>
|
18
|
+
</header>
|
19
|
+
<p>
|
20
|
+
{{ post.excerpt }}
|
21
|
+
</p>
|
22
|
+
<footer>
|
23
|
+
<a href="{{ site.baseurl }}{{ post.url }}" class="button special">More</a>
|
24
|
+
</footer>
|
25
|
+
</article>
|
26
|
+
{% endfor %}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</section>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- Two -->
|
2
|
+
<section id="two" class="wrapper style1 special">
|
3
|
+
<div class="inner">
|
4
|
+
<header>
|
5
|
+
<h2>Ipsum Feugiat</h2>
|
6
|
+
<p>Semper suscipit posuere apede</p>
|
7
|
+
</header>
|
8
|
+
<div class="flex flex-4">
|
9
|
+
{% for member in site.team %}
|
10
|
+
{% if member.front_display %}
|
11
|
+
<div class="box person">
|
12
|
+
<div class="image round">
|
13
|
+
<img src="{{ site.baseurl }}/{{ member.image }}" alt="{{ member.name }}" />
|
14
|
+
</div>
|
15
|
+
<h3>{{ member.name }}</h3>
|
16
|
+
<p>{{ member.title }}</p>
|
17
|
+
</div>
|
18
|
+
{% endif %}
|
19
|
+
{% endfor %}
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</section>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
<title>{{ page.title }} - {{ site.title }}</title>
|
2
|
+
<meta charset="utf-8" />
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
4
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/bower_components/theory/assets/css/font-awesome.min.css" />
|
5
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/bower_components/theory/assets/css/main.css" />
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Header -->
|
2
|
+
<header id="header">
|
3
|
+
<div class="inner">
|
4
|
+
<a href="{{ site.baseurl }}/" class="logo">{{ site.title }}</a>
|
5
|
+
<nav id="nav">
|
6
|
+
<a href="{{ site.baseurl }}/">Home</a>
|
7
|
+
<a href="{{ site.baseurl }}/blog">Blog</a>
|
8
|
+
<a href="{{ site.baseurl }}/contact">Contact</a>
|
9
|
+
<a href="{{ site.baseurl }}/elements">Elements</a>
|
10
|
+
</nav>
|
11
|
+
<a href="#navPanel" class="navPanelToggle"><span class="fa fa-bars"></span></a>
|
12
|
+
</div>
|
13
|
+
</header>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<!-- Scripts -->
|
2
|
+
<script src="{{ site.baseurl }}/bower_components/theory/assets/js/jquery.min.js"></script>
|
3
|
+
<script src="{{ site.baseurl }}/bower_components/theory/assets/js/skel.min.js"></script>
|
4
|
+
<script src="{{ site.baseurl }}/bower_components/theory/assets/js/util.js"></script>
|
5
|
+
<script src="{{ site.baseurl }}/bower_components/theory/assets/js/main.js"></script>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!-- One -->
|
2
|
+
<section id="one" class="wrapper">
|
3
|
+
<div class="inner">
|
4
|
+
<div class="flex flex-3">
|
5
|
+
{% for service in site.services %}
|
6
|
+
<article>
|
7
|
+
<header>
|
8
|
+
<h3>{{ service.display }}</h3>
|
9
|
+
</header>
|
10
|
+
<p>
|
11
|
+
{{ service.short_description }}
|
12
|
+
</p>
|
13
|
+
<footer>
|
14
|
+
<a href="{{ site.baseurl }}{{ service.url }}" class="button special">More</a>
|
15
|
+
</footer>
|
16
|
+
</article>
|
17
|
+
{% endfor %}
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</section>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
<!doctype html>
|
4
|
+
<!--
|
5
|
+
Visualize by TEMPLATED
|
6
|
+
templated.co @templatedco
|
7
|
+
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
|
8
|
+
Jekyll Template by Sai Ashirwad Informatia
|
9
|
+
-->
|
10
|
+
<html>
|
11
|
+
<head>
|
12
|
+
{% include head.html %}
|
13
|
+
</head>
|
14
|
+
<body {% if page.layout != 'default' %} class="subpage"{% endif %}>
|
15
|
+
{% include header.html %}
|
16
|
+
{{ content }}
|
17
|
+
{% include footer.html %}
|
18
|
+
</body>
|
19
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<!-- Three -->
|
5
|
+
<section id="three" class="wrapper">
|
6
|
+
<div class="inner">
|
7
|
+
<header class="align-center">
|
8
|
+
<h2>{{ page.title }}</h2>
|
9
|
+
{% if page.short_description %}
|
10
|
+
<p>{{ page.short_description }}</p>
|
11
|
+
{% endif %}
|
12
|
+
</header>
|
13
|
+
{{ content }}
|
14
|
+
</div>
|
15
|
+
</section>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<div class="flex flex-2">
|
8
|
+
{% if page.previous %}
|
9
|
+
<article>
|
10
|
+
<div class="image fit">
|
11
|
+
<img src="{{ site.baseurl }}/{{ page.previous.image }}" alt="Pic 01" />
|
12
|
+
</div>
|
13
|
+
<header>
|
14
|
+
<h3>{{ page.previous.title }}</h3>
|
15
|
+
</header>
|
16
|
+
<p>{{ page.previous.excerpt }}</p>
|
17
|
+
<footer>
|
18
|
+
<a href="{{ site.baseurl }}{{ page.previous.url }}" class="button special">More</a>
|
19
|
+
</footer>
|
20
|
+
</article>
|
21
|
+
{% endif %}
|
22
|
+
{% if page.next %}
|
23
|
+
<article>
|
24
|
+
<div class="image fit">
|
25
|
+
<img src="{{ site.baseurl }}/{{ page.next.image }}" alt="Pic 01" />
|
26
|
+
</div>
|
27
|
+
<header>
|
28
|
+
<h3>{{ page.next.title }}</h3>
|
29
|
+
</header>
|
30
|
+
<p>{{ page.next.excerpt }}</p>
|
31
|
+
<footer>
|
32
|
+
<a href="{{ site.baseurl }}{{ page.next.url }}" class="button special">More</a>
|
33
|
+
</footer>
|
34
|
+
</article>
|
35
|
+
{% endif %}
|
36
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
{{ content }}
|
5
|
+
{% assign service_idx=0 %}
|
6
|
+
{% for service in site.services %}
|
7
|
+
{% if page.title != service.title %}
|
8
|
+
{% capture modulo %}{{ service_idx | modulo:3 }}{% endcapture %}
|
9
|
+
{% if modulo == '0' or forloop.first %}
|
10
|
+
<div class="flex flex-3">
|
11
|
+
{% endif %}
|
12
|
+
<article>
|
13
|
+
<header>
|
14
|
+
<h3>{{ service.title }}</h3>
|
15
|
+
</header>
|
16
|
+
<p>{{ service.short_description }}</p>
|
17
|
+
<footer>
|
18
|
+
<a href="{{ site.baseurl }}{{ service.url }}" class="button special">More</a>
|
19
|
+
</footer>
|
20
|
+
</article>
|
21
|
+
{% if modulo == '2' or forloop.last %}
|
22
|
+
</div>
|
23
|
+
{% endif %}
|
24
|
+
{% capture service_idx %}{{ service_idx | plus:1 }}{% endcapture %}
|
25
|
+
{% endif %}
|
26
|
+
{% endfor %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rohan Sakhale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll-bower
|
@@ -72,7 +72,22 @@ email:
|
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
|
-
files:
|
75
|
+
files:
|
76
|
+
- LICENSE.md
|
77
|
+
- README.md
|
78
|
+
- _includes/banner.html
|
79
|
+
- _includes/footer.html
|
80
|
+
- _includes/front-post.html
|
81
|
+
- _includes/front-team.html
|
82
|
+
- _includes/head.html
|
83
|
+
- _includes/header.html
|
84
|
+
- _includes/main-index.html
|
85
|
+
- _includes/scripts.html
|
86
|
+
- _includes/services.html
|
87
|
+
- _layouts/default.html
|
88
|
+
- _layouts/page.html
|
89
|
+
- _layouts/post.html
|
90
|
+
- _layouts/service.html
|
76
91
|
homepage: https://saiashirwadinformatia.gitlab.io/Jekyll-Theory
|
77
92
|
licenses:
|
78
93
|
- MIT
|
@@ -94,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
109
|
version: '0'
|
95
110
|
requirements: []
|
96
111
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.6.
|
112
|
+
rubygems_version: 2.6.7
|
98
113
|
signing_key:
|
99
114
|
specification_version: 4
|
100
115
|
summary: Just a crisp, modern landing page template ideal for businesses and corporations.
|