jekyll-theme-conscious-sedation 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d85576a142e95fa9d35206aa03d2bb79432af73b
4
+ data.tar.gz: feae28367fb2164e5fedeca74e795f6474eb7227
5
+ SHA512:
6
+ metadata.gz: e3717d153f09ec9c52ac42ebbde82b8530a2b1d256f736cb6e5923d32099baf1aaa87aea33803ebe6a38432c71acf8e81052af5880287d5e11a0639cef909f5f
7
+ data.tar.gz: 704befe1698bd3984d83ed8c7237b016523fd4cabde60e76db924be8c39d1ef282ad237009a96b87c65a03a9cbcbcdf903f722214876f698a31f470bf16400e5
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 LavenderGrey
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.
@@ -0,0 +1,170 @@
1
+ jekyll-theme-conscious-sedation
2
+ ================================
3
+
4
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
5
+
6
+ More information can be found in the Resources and Credits section.
7
+
8
+ Directory File Structure
9
+
10
+ * _data
11
+ - menu.yml
12
+ - menu items for the top bar navigation.
13
+ - socialmedia.yml
14
+ - Social media information for the footer.
15
+
16
+ * _drafts
17
+ - A place for unpublished posts.
18
+
19
+ * _includes
20
+ - articles_main.html
21
+ - The number of posts to show and where the layout file is.
22
+ - article_post.html
23
+ - The layout for posts.
24
+ - google-analytics.html
25
+ - Google anaylytic script.
26
+ - header.html
27
+ - Top navigation bar.
28
+ - head.html
29
+ - Typical head with cdn link for google fonts, font-awesome, and links for google-analytics, seo, and feed.
30
+ - footer.html
31
+ - Footer with social links and cdnjs for Foundation.
32
+
33
+ * _layouts
34
+ - default.html
35
+ - This file is the main layout of your site. It adds the head, header, content, and footer.
36
+ - home.html
37
+ - This file links to _layouts/default.html, and adds the "Welcome" callout. The _includes/articles_main.html adds the posts formatted by _includes/article_post.html
38
+ - page.html
39
+ - A layout that only adds a title section.
40
+ - post.html
41
+ - The layout for your posts.
42
+
43
+ * _posts
44
+ - The home for your published posts.
45
+
46
+ * _site
47
+ - Do not touch. This is your generated site.
48
+
49
+ * _sass
50
+ - The following files or partials contain vanilla css.
51
+ - conscious-sedation.scss
52
+ - This is the file that collects all the partials. The cdnjs for Foundation. Any unused partials can be disabled by adding // before the @import.
53
+ - _rouge-github.scss
54
+ - _tags.scss
55
+ - _footer.scss
56
+ - _grid.scss
57
+ - _settings.scss
58
+ - _menu.scss
59
+ - _calloutcard.scss
60
+ - _button.scss
61
+ - _badge.scss
62
+ - _breadcrumbs.scss
63
+ - _forms.scss
64
+ - _pagination.scss
65
+ - _table.scss
66
+ - _tabs.scss
67
+ - _tooltip.scss
68
+
69
+ * assets
70
+ - main.scss
71
+ - This file imports the sass files into a single style sheet.
72
+ - SoftGrunge1.jpg -- Wallpapers by [Carol Francis](http://cazcastalla.deviantart.com/)
73
+ - SoftGrunge2.jpg
74
+ - SoftGrunge3.jpg
75
+ - SoftGrunge4.jpg
76
+ - SoftGrunge5.jpg
77
+
78
+ * feed.xml
79
+ - This file will be automatically generated by the jekyll-feed plugin.
80
+
81
+ * README.md
82
+ - Documentation
83
+
84
+ * index.html
85
+ - Homepage for your site. It is blank on purpose and changes should be made in _layouts/home.html.
86
+
87
+ * sample.html
88
+ - This page shows off some Foundation features, and can be removed.
89
+
90
+ * about.md
91
+ - An about page formated by _layouts/page.html
92
+
93
+ * categories.html
94
+ - categories tag page formated at _layout/page.html
95
+
96
+ * tags.html
97
+ - tag page that gets it layout from _layouts/default.html
98
+
99
+ * _config.yml
100
+ - This is your Jekyll configuration file and your Jekyll server will need to be restarted to see any changes. You will want to personalize this.
101
+
102
+ * Gemfile
103
+ - A place to add gems.
104
+
105
+ Installation
106
+ -------------
107
+
108
+ Add this line to your Jekyll site's `Gemfile`:
109
+
110
+ ```ruby
111
+ gem "jekyll-theme-conscious-sedation"
112
+ ```
113
+
114
+ And add this line to your Jekyll site's `_config.yml`:
115
+
116
+ ```yaml
117
+ theme: jekyll-theme-conscious-sedation
118
+ ```
119
+
120
+ And then execute:
121
+
122
+ $ bundle
123
+
124
+ Or install it yourself as:
125
+
126
+ $ gem install jekyll-theme-conscious-sedation
127
+
128
+ To locate files run 'bundle show jekyll-theme-conscious-sedation' and copy then copy any files over that you may need.
129
+
130
+ You can also [Fork, Download, or Clone](https://github.com/LavenderGrey/jekyll-theme-conscious-sedation) the theme.
131
+
132
+ Resources and Credits
133
+ ---------------------
134
+
135
+ This theme was created with the [Foundation 6](http://foundation.zurb.com/) framework, and fonts by [Font Awesome](http://fontawesome.io/) and [Google Fonts](https://fonts.google.com/?query=merriweather). Color scheme was created using [Coolors](https://coolors.co/), [Paletton](http://paletton.com), and [Cohesive Colors](http://javier.xyz/cohesive-colors/).
136
+
137
+ Anything from [Foundation Sites](http://foundation.zurb.com/sites/docs/xy-grid.html) and [Building Blocks](http://foundation.zurb.com/building-blocks/) can be used, though additional JS may be needed.
138
+
139
+ The theme is bundled with Jekyll 3.5. For more information on Jekyll visit [jekyllrb.com](https://jekyllrb.com/) for [front matter](https://jekyllrb.com/docs/frontmatter/), or [writing posts](https://jekyllrb.com/docs/posts/), [using drafts](https://jekyllrb.com/docs/drafts/) and [creating pages](https://jekyllrb.com/docs/pages/).
140
+
141
+ More information on the following gems can be found at [Ruby Gems](https://rubygems.org/).
142
+ * Jekyll-feed 0.9.2 to generate an Atom feed of your posts.
143
+ * Jekyll-seo-tag 2.2.3 to add metadata tags for search engines and social networks.
144
+ * Jekyll-sitemap 1.1.1 to automatically generate a sitemap.xml for your site.
145
+ * Jekyll-mentions 1.2.0 adds @mention support.
146
+ * Jemoji 0.8.0 adds Github emoji images.
147
+
148
+ This theme was inspired by [Gravity](http://hemangkumar.xyz/Gravity/) and [Codinfox](http://codinfox.github.io/).
149
+
150
+ Footer from [Dynda](https://github.com/dyndna/lanyon-plus).
151
+ Tags and Categories from [Codinfox](http://codinfox.github.io/) and [M-x Kelsin](http://mx.kelsin.net/).
152
+
153
+ Contributing
154
+ ------------
155
+
156
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/LavenderGrey/hello). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
157
+
158
+ Development
159
+ -----------
160
+
161
+ To set up your environment to develop this theme, run `bundle install`.
162
+
163
+ Your theme is setup just like a normal Jekyll 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.
164
+
165
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
166
+
167
+ License
168
+ -------
169
+
170
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,9 @@
1
+ <div class="callout secondary large text-center">
2
+ <h2 class="title">
3
+ {{ post.title | escape }}
4
+ </h2>
5
+ <span>{{ post.date | date: '%B %d, %Y' }}</span>
6
+ <p>{{ post.excerpt }}</p>
7
+ {% if post.excerpt %}
8
+ <a href="{{ post.url | prepend: site.baseurl }}" class="hollow button">Read more</a> {% endif %}
9
+ </div>
@@ -0,0 +1,4 @@
1
+ {% assign posts=site.posts %}
2
+ {% for post in posts limit: 5 %}
3
+ {% include article_post.html %}
4
+ {% endfor %}
@@ -0,0 +1,24 @@
1
+ <div class="grid-x grid-padding-x align-center tagg">
2
+ <div class="cell text-center">
3
+ {% for social_item in site.data.socialmedia %}
4
+ {% if social_item.url contains 'http' %}
5
+ {% assign domain = '' %}
6
+ {% else %}
7
+ {% assign domain = site.url %}
8
+ {% endif %}
9
+ <a href="{{ domain }}{{ social_item.url }}" rel="me" {% if social_item.url contains 'http' %} target="_blank" {% endif %} class="social-icons" title="{{ social_item.title }}"><i class="{{ social_item.class }} fa-2x"></a>
10
+ {% endfor %}
11
+ </div>
12
+ <div class="cell">
13
+ <h6 class="text-footer"><a rel="license" href="{{ site.url }}/disclosure/" title="CC BY-NC-SA 4.0 License, link to site disclosure" class="social-icon"><i class="fa fa-creative-commons"></i></a>
14
+ <a rel="license" href="{{ site.url }}/disclosure/" title="CC BY-NC-SA 4.0 License, link to site disclosure">2017-{{ site.time | date: '%Y' }}</a>:
15
+ <a href="{{ site.url }}" title="Home">example.com</a> |
16
+ <a href="{{ site.url }}/about/" rel="me">About</a></h6>
17
+ </div>
18
+ </div>
19
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.1/js/foundation.min.js" integrity="sha256-Nd2xznOkrE9HkrAMi4xWy/hXkQraXioBg9iYsBrcFrs=" crossorigin="anonymous">
20
+ </script>
21
+ <script src="//cdnjs.cloudflare.com/ajax/libs/foundation/6.4.1/js/plugins/foundation.util.mediaQuery.min.js">
22
+ </script>
23
+
24
+
@@ -0,0 +1,8 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
+ ga('create', '{{ site.google_analytics }}', 'auto');
7
+ ga('send', 'pageview');
8
+ </script>
@@ -0,0 +1,22 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
+ <link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
9
+ <link href="https://fonts.googleapis.com/css?family=Merriweather+Sans" rel="stylesheet">
10
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
11
+
12
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
13
+ <link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
14
+
15
+ <script src="https://use.fontawesome.com/5c872e14ad.js"></script>
16
+
17
+ {% if jekyll.environment == 'production' and site.google_analytics %}
18
+ {% include google-analytics.html %}
19
+ {% endif %}
20
+ {% seo %}
21
+ {% feed_meta %}
22
+ </head>
@@ -0,0 +1,12 @@
1
+
2
+ <div class="top-bar">
3
+ <div class="top-bar-left">
4
+ <ul class="menu">
5
+ {% for item in site.data.menu %}
6
+ <li class="{% if item.url == page.url %}active{% endif %}">
7
+ <a href="{{ item.url }}">{{ item.title }}</a>
8
+ </li>
9
+ {% endfor %}
10
+ </ul>
11
+ </div>
12
+ </div>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <div class="grid-container">
11
+
12
+ {{ content }}
13
+
14
+ </div>
15
+
16
+ <footer>
17
+
18
+ {% include footer.html %}
19
+
20
+ </footer>
21
+
22
+ </body>
23
+
24
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ title: Your Awesome Website
4
+ permalink: /home/
5
+ ---
6
+
7
+ <div class="callout large" style="height:20em; background:transparent">
8
+ <div class="row column text-center">
9
+ <br>
10
+ <h1>Welcome to ...</h1>
11
+ <h2 class="subheader">My Simple Blog Layout</h2>
12
+ </div>
13
+ </div>
14
+
15
+
16
+ {% include articles_main.html %}
17
+
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="grid-y medium grid frame">
5
+ <div class="cell medium-cell-block" style="margin-top:4em">
6
+ <p>
7
+ <h1>{{ page.title }}</h1>
8
+
9
+ <hr>
10
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: '%B %d, %Y' }}</time>
11
+ {% if page.author %}
12
+ <p><strong><span>Author</span><span> <h2>{{page.author}}</h2></span></strong></p>
13
+ {% endif %}
14
+ </p>
15
+ </div>
16
+ {{ content }}
17
+ </div>
@@ -0,0 +1,38 @@
1
+ ---
2
+ layout: default
3
+ comments: true
4
+ ---
5
+ <div class="grid-y medium grid frame">
6
+ <div class="cell medium-cell-block" style="margin-top:4em">
7
+ <p>
8
+ <h1>{{ page.title }}</h1>
9
+ <hr>
10
+ <p>
11
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: '%B %d, %Y' }}</time>
12
+ </p>
13
+ {% if page.author %}
14
+ <p><strong><span>Author</span><span> <h2>{{page.author}}</h2></span></strong></p>
15
+ {% endif %}
16
+ </p>
17
+ </div>
18
+ <div class="grid-x grid-padding-x">
19
+ <div class="cell medium-cell-block">
20
+ {{ content }}
21
+ </div>
22
+ </div>
23
+ </div>
24
+ <hr>
25
+ <p class="rss-subscribe">subscribe to the <a href="{{ site.baseurl }}/tag/{{ page.tag }}.xml">{{page.tag}} tag via RSS</a></p>
26
+ <p>
27
+ {% if page.previous.url %}
28
+ <a href="{{page.previous.url}}">
29
+ &laquo; {{page.previous.title}}
30
+ </a> {% endif %} {% if page.next.url %}
31
+ </p>
32
+ <p>
33
+ <a href="{{page.next.url}}">
34
+ {{page.next.title}} &raquo;
35
+ </a> {% endif %}
36
+ </p>
37
+ </hr>
38
+
@@ -0,0 +1,39 @@
1
+ .badge {
2
+ background: var(--color-blue);
3
+ color: var(--color-powder);
4
+ }
5
+
6
+ .badge.primary {
7
+ background: var(--color-blue);
8
+ color: var(--color-powder);
9
+ }
10
+
11
+ .badge.secondary {
12
+ background: var(--color-grey2);
13
+ color: var(--color-font);
14
+ }
15
+
16
+ .badge.alert {
17
+ background: var(--color-ruby);
18
+ color: var(--color-powder);
19
+ }
20
+
21
+ .badge.success {
22
+ background: var(--color-green);
23
+ color: var(--color-font);
24
+ }
25
+
26
+ .badge.warning {
27
+ background: var(--color-orange);
28
+ color: var(--color-font);
29
+ }
30
+
31
+ .badge.body-font {
32
+ background: var(--color-font);
33
+ color: var(--color-powder);
34
+ }
35
+
36
+ .badge.header {
37
+ background: var(--color-font);
38
+ color: var(--color-powder);
39
+ }
@@ -0,0 +1,18 @@
1
+ .breadcrumbs li {
2
+ color: var(--color-font);
3
+ cursor: default;
4
+ text-transform: uppercase;
5
+ }
6
+
7
+ .breadcrumbs li:not(:last-child)::after {
8
+ color: var(--color-grey1);
9
+ }
10
+
11
+ .breadcrumbs a {
12
+ color: var(--color-blue);
13
+ }
14
+
15
+ .breadcrumbs .disabled {
16
+ color: var(--color-grey1);
17
+ cursor: not-allowed;
18
+ }