minima 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5e173eb7dc71a7be4996afafa41bb040fb7a0f4
4
- data.tar.gz: 43d2b13d1203edf562ce30f27c4addef2b00eb0f
3
+ metadata.gz: 89544b38ce5be9c3947fae9c54e8ae7b396278af
4
+ data.tar.gz: 4b5ac034641f3772c658116094222a12a86060b3
5
5
  SHA512:
6
- metadata.gz: 991fcb5c252e392428b3203888980c1aa9b7e8a75619bc211aed2de1a052a3548b537e4ea33a9c3572a046b199293e58507f1a4566c12254e1f03c10c9134371
7
- data.tar.gz: b305c5bf002f74180f2c9e540daff1096fcb302361294af2a805b39ec1404788554cd67fe531463ef3268857fbeda2eee7790bffc29ae079919aaa73a972a393
6
+ metadata.gz: 494dbd2992efde39444e0bd69af025ec000181f1e72562d99fef9cf94b2562106e257928bd6107c50a861f2e78f9ebf9adb481e86348117a1eae764f58be310e
7
+ data.tar.gz: fcd345f10faf6bbd39547e64fb79a634464d17987505c7b40cfd0224eaeb7861a0706424897aced938bc289b93bf3590431e339126b2bd88af26e00655fe9e2e
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  *Minima is a one-size-fits-all Jekyll theme for writers*. It's Jekyll's default (and first) theme. It's what you get when you run `jekyll new`.
4
4
 
5
+ ![minima theme preview](/screenshot.png)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your Jekyll site's Gemfile:
@@ -20,6 +22,33 @@ And then execute:
20
22
 
21
23
  $ bundle
22
24
 
25
+ ## Enabling comments (via Disqus)
26
+
27
+ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
28
+
29
+ To enable it, add the following lines to your Jekyll site:
30
+
31
+ ```yaml
32
+ disqus:
33
+ shortname: my_disqus_shortname
34
+ ```
35
+
36
+ You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
37
+
38
+ Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
39
+
40
+ If you don't want to display comments for a particular post you can disable them by adding `comments: false` to that post's YAML Front Matter.
41
+
42
+ ## Enabling Google Analytics
43
+
44
+ To enable Google Anaytics, add the following lines to your Jekyll site:
45
+
46
+ ```yaml
47
+ google_analytics: UA-NNNNNNNN-N
48
+ ```
49
+
50
+ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
51
+
23
52
  ## Contributing
24
53
 
25
54
  Bug reports and pull requests are welcome on GitHub at https://github.com/jekyll/minima. 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.
@@ -28,6 +57,17 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/jekyll
28
57
 
29
58
  To set up your environment to develop this theme, run `bundle install`.
30
59
 
60
+ Then add a `css/main.scss` file based on the following template, don't forget to include the frontmatter:
61
+
62
+ ```css
63
+ ---
64
+ ---
65
+
66
+ @import "minima";
67
+ ```
68
+
69
+ You can choose to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path.
70
+
31
71
  To test your theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme and the contents of the `example/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
32
72
 
33
73
  ## License
@@ -0,0 +1,25 @@
1
+ {% if page.comments != false and jekyll.environment == "production" %}
2
+ {% if site.url %}
3
+ {% assign disqus_url = page.url | prepend: site.url %}
4
+ {% elsif site.github.url %}
5
+ {% assign disqus_url = page.url | prepend: site.github.url %}
6
+ {% endif %}
7
+
8
+ <div id="disqus_thread"></div>
9
+ <script>
10
+ var disqus_config = function () {
11
+ this.page.url = '{{ disqus_url }}';
12
+ this.page.identifier = '{{ disqus_url }}';
13
+ };
14
+
15
+ (function() {
16
+ var d = document, s = d.createElement('script');
17
+
18
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
19
+
20
+ s.setAttribute('data-timestamp', +new Date());
21
+ (d.head || d.body).appendChild(s);
22
+ })();
23
+ </script>
24
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
25
+ {% endif %}
@@ -7,7 +7,13 @@
7
7
  <div class="footer-col-wrapper">
8
8
  <div class="footer-col footer-col-1">
9
9
  <ul class="contact-list">
10
- <li>{{ site.title | escape }}</li>
10
+ <li>
11
+ {% if site.author %}
12
+ {{ site.author | escape }}
13
+ {% else %}
14
+ {{ site.title | escape }}
15
+ {% endif %}
16
+ </li>
11
17
  <li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
12
18
  </ul>
13
19
  </div>
@@ -0,0 +1,11 @@
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
+
7
+ ga('create', '{{ site.google_analytics }}', 'auto');
8
+ ga('send', 'pageview');
9
+
10
+ </script>
11
+
data/_includes/head.html CHANGED
@@ -6,7 +6,13 @@
6
6
  <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
7
  <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
8
 
9
- <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
10
- <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
11
- <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
9
+ {% assign custom_url = site.url | append: site.baseurl %}
10
+ {% assign full_base_url = site.github.url | default: custom_url %}
11
+ <link rel="stylesheet" href="{{ "/css/main.css" | prepend: full_base_url }}">
12
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: full_base_url }}">
13
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: full_base_url }}">
14
+
15
+ {% if jekyll.environment == 'production' and site.google_analytics %}
16
+ {% include google-analytics.html %}
17
+ {% endif %}
12
18
  </head>
@@ -2,11 +2,13 @@
2
2
 
3
3
  <div class="wrapper">
4
4
 
5
- <a class="site-title" href="{{ site.baseurl }}/">{{ site.title | escape }}</a>
5
+ {% assign custom_url = site.url | append: site.baseurl %}
6
+ {% assign full_base_url = site.github.url | default: custom_url %}
7
+ <a class="site-title" href="{{ full_base_url }}/">{{ site.title | escape }}</a>
6
8
 
7
9
  <nav class="site-nav">
8
10
  <a href="#" class="menu-icon">
9
- <svg viewBox="0 0 18 15">
11
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
10
12
  <path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
11
13
  <path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
12
14
  <path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
@@ -16,7 +18,7 @@
16
18
  <div class="trigger">
17
19
  {% for my_page in site.pages %}
18
20
  {% if my_page.title %}
19
- <a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title | escape }}</a>
21
+ <a class="page-link" href="{{ my_page.url | prepend: full_base_url }}">{{ my_page.title | escape }}</a>
20
22
  {% endif %}
21
23
  {% endfor %}
22
24
  </div>
@@ -1 +1 @@
1
- <svg viewBox="0 0 16 16"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 16 16"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
data/_layouts/post.html CHANGED
@@ -12,4 +12,7 @@ layout: default
12
12
  {{ content }}
13
13
  </div>
14
14
 
15
+ {% if site.disqus.shortname %}
16
+ {% include disqus_comments.html %}
17
+ {% endif %}
15
18
  </article>
@@ -190,8 +190,6 @@ pre {
190
190
  */
191
191
  .icon > svg {
192
192
  display: inline-block;
193
- width: 16px;
194
- height: 16px;
195
193
  vertical-align: middle;
196
194
 
197
195
  path {
@@ -60,13 +60,8 @@
60
60
  padding-top: 10px;
61
61
  text-align: center;
62
62
 
63
- > svg {
64
- width: 18px;
65
- height: 15px;
66
-
67
- path {
68
- fill: $grey-color-dark;
69
- }
63
+ > svg path {
64
+ fill: $grey-color-dark;
70
65
  }
71
66
  }
72
67
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minima
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Glovier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-28 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -59,14 +59,11 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - ".gitignore"
63
- - CODE_OF_CONDUCT.md
64
- - Gemfile
65
- - History.markdown
66
62
  - LICENSE.txt
67
63
  - README.md
68
- - Rakefile
64
+ - _includes/disqus_comments.html
69
65
  - _includes/footer.html
66
+ - _includes/google-analytics.html
70
67
  - _includes/head.html
71
68
  - _includes/header.html
72
69
  - _includes/icon-github.html
@@ -80,13 +77,6 @@ files:
80
77
  - _sass/minima/_base.scss
81
78
  - _sass/minima/_layout.scss
82
79
  - _sass/minima/_syntax-highlighting.scss
83
- - example/_config.yml
84
- - example/_posts/2016-05-20-my-example-post.md
85
- - example/_posts/2016-05-20-super-long-article.md
86
- - example/_posts/2016-05-20-this-post-demonstrates-post-content-styles.md
87
- - example/css/main.scss
88
- - example/index.html
89
- - minima.gemspec
90
80
  homepage: https://github.com/jekyll/minima
91
81
  licenses:
92
82
  - MIT
@@ -108,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
98
  version: '0'
109
99
  requirements: []
110
100
  rubyforge_project:
111
- rubygems_version: 2.5.1
101
+ rubygems_version: 2.6.6
112
102
  signing_key:
113
103
  specification_version: 4
114
104
  summary: A beautiful, minimal theme for Jekyll. NOT DONE YET.
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- .bundle
2
- .sass-cache
3
- Gemfile.lock
4
- example/_site
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at parkrmoore@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec
data/History.markdown DELETED
@@ -1,9 +0,0 @@
1
- ## 1.0.1 / 2016-07-28
2
-
3
- * include `_layouts`, `_includes`, and `_sass` dir in gem (#6)
4
-
5
- ## 1.0.0 / 2016-07-27
6
-
7
- * default layout: html `lang` attribute should allow user customization (#3)
8
- * Use `normalize_whitespace` filter for meta description (#4)
9
- * Fix repo's URL in contributing (#5)
data/Rakefile DELETED
@@ -1,74 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "jekyll"
3
- require "listen"
4
-
5
- def listen_ignore_paths(base, options)
6
- [
7
- /_config\.ya?ml/,
8
- /_site/,
9
- /\.jekyll-metadata/
10
- ]
11
- end
12
-
13
- def listen_handler(base, options)
14
- site = Jekyll::Site.new(options)
15
- Jekyll::Command.process_site(site)
16
- proc do |modified, added, removed|
17
- t = Time.now
18
- c = modified + added + removed
19
- n = c.length
20
- relative_paths = c.map{ |p| Pathname.new(p).relative_path_from(base).to_s }
21
- print Jekyll.logger.message("Regenerating:", "#{relative_paths.join(", ")} changed... ")
22
- begin
23
- Jekyll::Command.process_site(site)
24
- puts "regenerated in #{Time.now - t} seconds."
25
- rescue => e
26
- puts "error:"
27
- Jekyll.logger.warn "Error:", e.message
28
- Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
29
- end
30
- end
31
- end
32
-
33
- task :preview do
34
- base = Pathname.new('.').expand_path
35
- options = {
36
- "source" => base.join('example').to_s,
37
- "destination" => base.join('example/_site').to_s,
38
- "force_polling" => false,
39
- "serving" => true,
40
- "theme" => "minima"
41
- }
42
-
43
- options = Jekyll.configuration(options)
44
-
45
- ENV["LISTEN_GEM_DEBUGGING"] = "1"
46
- listener = Listen.to(
47
- base.join("_includes"),
48
- base.join("_layouts"),
49
- base.join("_sass"),
50
- options["source"],
51
- :ignore => listen_ignore_paths(base, options),
52
- :force_polling => options['force_polling'],
53
- &(listen_handler(base, options))
54
- )
55
-
56
- begin
57
- listener.start
58
- Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options["source"]}'"
59
-
60
- unless options['serving']
61
- trap("INT") do
62
- listener.stop
63
- puts " Halting auto-regeneration."
64
- exit 0
65
- end
66
-
67
- loop { sleep 1000 }
68
- end
69
- rescue ThreadError
70
- # You pressed Ctrl-C, oh my!
71
- end
72
-
73
- Jekyll::Commands::Serve.process(options)
74
- end
data/example/_config.yml DELETED
@@ -1,8 +0,0 @@
1
- theme: minima
2
-
3
- name: A site title
4
- description: "Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
5
-
6
- collections:
7
- posts:
8
- permalink: /posts/:title
@@ -1,12 +0,0 @@
1
- ---
2
- layout: post
3
- ---
4
-
5
- Eos eu docendi tractatos sapientem, brute option menandri in vix, quando vivendo accommodare te ius. Nec melius fastidii constituam id, viderer theophrastus ad sit, hinc semper periculis cum id. Noluisse postulant assentior est in, no choro sadipscing repudiandae vix. Vis in euismod delenit dignissim. Ex quod nostrum sit, suas decore animal id ius, nobis solet detracto quo te.
6
-
7
- {% comment %}
8
- Might you have an include in your theme? Why not try it here!
9
- {% include my-themes-great-include.html %}
10
- {% endcomment %}
11
-
12
- No laudem altera adolescens has, volumus lucilius eum no. Eam ei nulla audiam efficiantur. Suas affert per no, ei tale nibh sea. Sea ne magna harum, in denique scriptorem sea, cetero alienum tibique ei eos. Labores persequeris referrentur eos ei.
@@ -1,11 +0,0 @@
1
- ---
2
- layout: post
3
- title: "Some articles are just so long they deserve a really long title to see if things will break well"
4
- categories: misc
5
- ---
6
-
7
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
8
-
9
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
10
-
11
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
@@ -1,88 +0,0 @@
1
- ---
2
- layout: post
3
- title: "This post demonstrates post content styles"
4
- categories: junk
5
- author: "Bart Simpson"
6
- meta: "Springfield"
7
- ---
8
-
9
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit.
10
-
11
- ## Some great heading (h2)
12
-
13
- Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu.
14
-
15
- Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
16
-
17
- ## Another great heading (h2)
18
-
19
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit.
20
-
21
- ### Some great subheading (h3)
22
-
23
- Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum.
24
-
25
- Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc.
26
-
27
- ### Some great subheading (h3)
28
-
29
- Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
30
-
31
- > This quote will change your life. It will reveal the secrets of the universe, and all the wonders of humanity. Don't misuse it.
32
-
33
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt.
34
-
35
- ### Some great subheading (h3)
36
-
37
- Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum.
38
-
39
- ```html
40
- <html>
41
- <head>
42
- </head>
43
- <body>
44
- <p>Hello, World!</p>
45
- </body>
46
- </html>
47
- ```
48
-
49
-
50
- In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
51
-
52
- #### You might want a sub-subheading (h4)
53
-
54
- In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
55
-
56
- In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
57
-
58
- #### But it's probably overkill (h4)
59
-
60
- In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
61
-
62
- ### Oh hai, an unordered list!!
63
-
64
- In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
65
-
66
- - First item, yo
67
- - Second item, dawg
68
- - Third item, what what?!
69
- - Fourth item, fo sheezy my neezy
70
-
71
- ### Oh hai, an ordered list!!
72
-
73
- In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
74
-
75
- 1. First item, yo
76
- 2. Second item, dawg
77
- 3. Third item, what what?!
78
- 4. Fourth item, fo sheezy my neezy
79
-
80
-
81
-
82
- ## Headings are cool! (h2)
83
-
84
- Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
85
-
86
- Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
87
-
88
- Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc.
@@ -1,4 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import "minima";
data/example/index.html DELETED
@@ -1,13 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- Lorem ipsum dolor sit amet, quo id prima corrumpit pertinacia, id ius dolor dolores, an veri pertinax explicari mea. Agam solum et qui, his id ludus graeco adipiscing. Duis theophrastus nam in, at his vidisse atomorum. Tantas gloriatur scripserit ne eos. Est wisi tempor habemus at, ei graeco dissentiet eos. Ne usu aliquip sanctus conceptam, te vis ignota animal, modus latine contentiones ius te.
6
-
7
- {% for post in site.posts %}
8
- <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
9
- {% endfor %}
10
-
11
- Te falli veritus sea, at molestiae scribentur deterruisset vix, et mea zril phaedrum vulputate. No cum dicit consulatu. Ut has nostro noluisse expetendis, te pro quaeque disputando, eu sed summo omnes. Eos at tale aperiam, usu cu propriae quaestio constituto, sed aperiam erroribus temporibus an.
12
-
13
- Quo eu liber mediocritatem, vix an delectus eleifend, iuvaret suscipit ei vel. Partem invenire per an, mea postulant dissentias eu, ius tantas audire nominavi eu. Dicunt tritani veritus ex vis, mei in case sententiae. At exerci democritum nam, cu lobortis iracundia mei. Alia eligendi consectetuer eu sed, paulo docendi noluisse sit ex.
data/minima.gemspec DELETED
@@ -1,22 +0,0 @@
1
- # coding: utf-8
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = "minima"
5
- spec.version = "1.0.1"
6
- spec.authors = ["Joel Glovier"]
7
- spec.email = ["jglovier@github.com"]
8
-
9
- spec.summary = %q{A beautiful, minimal theme for Jekyll. NOT DONE YET.}
10
- spec.homepage = "https://github.com/jekyll/minima"
11
- spec.license = "MIT"
12
-
13
- spec.metadata["plugin_type"] = "theme"
14
-
15
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(exe)/}) }
16
- spec.bindir = "exe"
17
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
-
19
- spec.add_development_dependency "jekyll", "~> 3.2"
20
- spec.add_development_dependency "bundler", "~> 1.12"
21
- spec.add_development_dependency "rake", "~> 10.0"
22
- end