jekyll-readthedocs 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,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 05ba502e95118927158eea5430003fcd64c21dbc
4
+ data.tar.gz: 8a8825c2bd93e22e04f62dba13ad9f08e77c9075
5
+ SHA512:
6
+ metadata.gz: 60a521031e5d6887faf4ab24273eebe77633d12ef334f650f9bf158391ab71a7a3eed42f51f8ed2f2cdc74c564e28c13eb4384919ff6416c8818cc9554efb352
7
+ data.tar.gz: 17d0637582f1160f5323620fdb3055817f2f2e153df507f697f28fb9169f1e446cdd94882406343a8dada363469401976bc5647ab6db36bcda433b2f12f2d74e
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018-present Timothée Mazzucotelli
4
+ Copyright (c) 2016-present Parker Moore and the minima contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,185 @@
1
+ # Jekyll ReadTheDocs
2
+
3
+ *Jekyll-ReadTheDocs is a fork of Jekyll's Minima base theme. Documentation below may refer to minima instead of this fork.*
4
+
5
+ [Theme preview](https://jekyll.github.io/minima/)
6
+
7
+ ![readthedocs theme preview](/screenshot.png)
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's Gemfile:
12
+
13
+ ```ruby
14
+ gem "jekyll-readthedocs"
15
+ ```
16
+
17
+ And add this line to your Jekyll site:
18
+
19
+ ```yaml
20
+ theme: jekyll-readthedocs
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+
28
+ ### Layouts
29
+
30
+ Refers to files within the `_layouts` directory, that define the markup for your theme.
31
+
32
+ - `default.html` — The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says ` {{ content }} ` and are linked to this file via [FrontMatter](https://jekyllrb.com/docs/frontmatter/) declaration `layout: default`.
33
+ - `home.html` — The layout for your landing-page / home-page / index-page. [[More Info.](#home-layout)]
34
+ - `page.html` — The layout for your documents that contain FrontMatter, but are not posts.
35
+ - `post.html` — The layout for your posts.
36
+
37
+ ### Includes
38
+
39
+ Refers to snippets of code within the `_includes` directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
40
+
41
+ - `disqus_comments.html` — Code to markup disqus comment box.
42
+ - `footer.html` — Defines the site's footer section.
43
+ - `google-analytics.html` — Inserts Google Analytics module (active only in production environment).
44
+ - `head.html` &mdash; Code-block that defines the `<head></head>` in *default* layout.
45
+ - `header.html` &mdash; Defines the site's main header section. By default, pages with a defined `title` attribute will have links displayed here.
46
+ - `sidebar.html` &mdash; Defines the site's ReadTheDocs-like sidebar.
47
+
48
+ ### Sass
49
+
50
+ Refers to `.scss` files within the `_sass` directory that define the theme's styles.
51
+
52
+ - `minima.scss` &mdash; The core file imported by preprocessed `main.scss`, it defines the variable defaults for the theme and also further imports sass partials to supplement itself.
53
+ - `minima/_base.scss` &mdash; Resets and defines base styles for various HTML elements.
54
+ - `minima/_layout.scss` &mdash; Defines the visual style for various layouts.
55
+ - `minima/_syntax-highlighting.scss` &mdash; Defines the styles for syntax-highlighting.
56
+
57
+ ### Assets
58
+
59
+ Refers to various asset files within the `assets` directory.
60
+ Contains the `main.scss` that imports sass files from within the `_sass` directory. This `main.scss` is what gets processed into the theme's main stylesheet `main.css` called by `_layouts/default.html` via `_includes/head.html`.
61
+
62
+ This directory can include sub-directories to manage assets of similar type, and will be copied over as is, to the final transformed site directory.
63
+
64
+ ### Plugins
65
+
66
+ Minima comes with [`jekyll-seo-tag`](https://github.com/jekyll/jekyll-seo-tag) plugin preinstalled to make sure your website gets the most useful meta tags. See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set it up.
67
+
68
+ ## Usage
69
+
70
+ ### Home Layout
71
+
72
+ `home.html` is a flexible HTML layout for the site's landing-page / home-page / index-page. <br/>
73
+
74
+ #### Main Heading and Content-injection
75
+
76
+ From Minima v2.2 onwards, the *home* layout will inject all content from your `index.md` / `index.html` **before** the **`Posts`** heading. This will allow you to include non-posts related content to be published on the landing page under a dedicated heading. *We recommended that you title this section with a Heading2 (`##`)*.
77
+
78
+ Usually the `site.title` itself would suffice as the implicit 'main-title' for a landing-page. But, if your landing-page would like a heading to be explicitly displayed, then simply define a `title` variable in the document's front matter and it will be rendered with an `<h1>` tag.
79
+
80
+ #### Post Listing
81
+
82
+ This section is optional from Minima v2.2 onwards.<br/>
83
+ It will be automatically included only when your site contains one or more valid posts or drafts (if the site is configured to `show_drafts`).
84
+
85
+ The title for this section is `Posts` by default and rendered with an `<h2>` tag. You can customize this heading by defining a `list_title` variable in the document's front matter.
86
+
87
+ --
88
+
89
+ ### Customization
90
+
91
+ To override the default structure and style of minima, simply create the concerned directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file.
92
+ e.g., to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path, create an `_includes` directory, copy `_includes/head.html` from minima gem folder to `<yoursite>/_includes` and start editing that file.
93
+
94
+ The site's default CSS has now moved to a new place within the gem itself, [`assets/main.scss`](assets/main.scss). To **override the default CSS**, the file has to exist at your site source. Do either of the following:
95
+ - Create a new instance of `main.scss` at site source.
96
+ - Create a new file `main.scss` at `<your-site>/assets/`
97
+ - Add the frontmatter dashes, and
98
+ - Add `@import "minima";`, to `<your-site>/assets/main.scss`
99
+ - Add your custom CSS.
100
+ - Download the file from this repo
101
+ - Create a new file `main.scss` at `<your-site>/assets/`
102
+ - Copy the contents at [assets/main.scss](assets/main.scss) onto the `main.scss` you just created, and edit away!
103
+ - Copy directly from Minima 2.0 gem
104
+ - Go to your local minima gem installation directory ( run `bundle show minima` to get the path to it ).
105
+ - Copy the `assets/` folder from there into the root of `<your-site>`
106
+ - Change whatever values you want, inside `<your-site>/assets/main.scss`
107
+
108
+ --
109
+
110
+ ### Change default date format
111
+
112
+ You can change the default date format by specifying `site.minima.date_format`
113
+ in `_config.yml`.
114
+
115
+ ```
116
+ # Minima date format
117
+ # refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
118
+ minima:
119
+ date_format: "%b %-d, %Y"
120
+ ```
121
+
122
+ --
123
+
124
+ ### Enabling comments (via Disqus)
125
+
126
+ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
127
+
128
+ To enable it, add the following lines to your Jekyll site:
129
+
130
+ ```yaml
131
+ disqus:
132
+ shortname: my_disqus_shortname
133
+ ```
134
+
135
+ You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
136
+
137
+ Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
138
+
139
+ 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.
140
+
141
+ --
142
+
143
+ ### Social networks
144
+
145
+ You can add links to the accounts you have on other sites, with respective icon, by adding one or more of the following options in your config:
146
+
147
+ ```yaml
148
+ twitter_username: jekyllrb
149
+ github_username: jekyll
150
+ dribbble_username: jekyll
151
+ facebook_username: jekyll
152
+ flickr_username: jekyll
153
+ instagram_username: jekyll
154
+ linkedin_username: jekyll
155
+ pinterest_username: jekyll
156
+ youtube_username: jekyll
157
+ googleplus_username: +jekyll
158
+ rss: rss
159
+ ```
160
+
161
+ --
162
+
163
+ ### Enabling Google Analytics
164
+
165
+ To enable Google Anaytics, add the following lines to your Jekyll site:
166
+
167
+ ```yaml
168
+ google_analytics: UA-NNNNNNNN-N
169
+ ```
170
+
171
+ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
172
+
173
+ ## Contributing
174
+
175
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Pawamoy/jekyll-readthedocs. 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.
176
+
177
+ ## Development
178
+
179
+ To set up your environment to develop this theme, run `script/bootstrap`.
180
+
181
+ To test your theme, run `script/server` (or `bundle exec jekyll serve`) and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme and the contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.
182
+
183
+ ## License
184
+
185
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,20 @@
1
+ {% if page.comments != false and jekyll.environment == "production" %}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {% endif %}
@@ -0,0 +1,35 @@
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+
4
+ <div class="wrapper">
5
+
6
+ <h2 class="footer-heading">{{ site.title | escape }}</h2>
7
+
8
+ <div class="footer-col-wrapper">
9
+ <div class="footer-col footer-col-1">
10
+ <ul class="contact-list">
11
+ <li class="p-name">
12
+ {% if site.author %}
13
+ {{ site.author | escape }}
14
+ {% else %}
15
+ {{ site.title | escape }}
16
+ {% endif %}
17
+ </li>
18
+ {% if site.email %}
19
+ <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
+ {% endif %}
21
+ </ul>
22
+ </div>
23
+
24
+ <div class="footer-col footer-col-2">
25
+ {% include social.html %}
26
+ </div>
27
+
28
+ <div class="footer-col footer-col-3">
29
+ <p>{{ site.description | escape }}</p>
30
+ </div>
31
+ </div>
32
+
33
+ </div>
34
+
35
+ </footer>
@@ -0,0 +1,12 @@
1
+ <script>
2
+ if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7
+
8
+ ga('create', '{{ site.google_analytics }}', 'auto');
9
+ ga('send', 'pageview');
10
+ }
11
+ </script>
12
+
@@ -0,0 +1,11 @@
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
+ {% seo %}
6
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
7
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
8
+ {% if jekyll.environment == 'production' and site.google_analytics %}
9
+ {% include google-analytics.html %}
10
+ {% endif %}
11
+ </head>
@@ -0,0 +1,6 @@
1
+ <header class="site-header" role="banner">
2
+
3
+ <div class="wrapper">
4
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
5
+ </div>
6
+ </header>
@@ -0,0 +1,45 @@
1
+ <div class="site-sidebar">
2
+ <a class="sidebar-title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
3
+
4
+ <input type=text placeholder="Search blog">
5
+ <br>
6
+
7
+ {% assign default_paths = site.pages | map: "path" %}
8
+ {% assign page_paths = site.header_pages | default: default_paths %}
9
+ {% if page_paths %}
10
+ <!-- <nav class="site-nav">
11
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
12
+ <label for="nav-trigger">
13
+ <span class="menu-icon">
14
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
15
+ <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"/>
16
+ <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"/>
17
+ <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"/>
18
+ </svg>
19
+ </span>
20
+ </label> -->
21
+
22
+ <ul>
23
+ {% for path in page_paths %}
24
+ {% assign my_page = site.pages | where: "path", path | first %}
25
+ {% if my_page.title %}
26
+ <li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
27
+ {% endif %}
28
+ {% endfor %}
29
+ </ul>
30
+ <!-- </nav> -->
31
+ {% endif %}
32
+
33
+ {% if site.posts.size > 0 %}
34
+ <ul>
35
+ {% for post in site.posts %}
36
+ <li>
37
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
38
+ <span>{{ post.date | date: date_format }}</span><br>
39
+ <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
40
+ </li>
41
+ {% endfor %}
42
+ </ul>
43
+ {% endif %}
44
+
45
+ </div>
@@ -0,0 +1,13 @@
1
+ <ul class="social-media-list">
2
+ {% if site.social_sites.dribbble %}<li><a href="https://dribbble.com/{{ site.social_sites.dribbble | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#dribbble"></use></svg> <span class="username">{{ site.social_sites.dribbble | escape }}</span></a></li>{% endif %}
3
+ {% if site.social_sites.facebook %}<li><a href="https://www.facebook.com/{{ site.social_sites.facebook | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#facebook"></use></svg> <span class="username">{{ site.social_sites.facebook | escape }}</span></a></li>{% endif %}
4
+ {% if site.social_sites.flickr %}<li><a href="https://www.flickr.com/photos/{{ site.social_sites.flickr | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#flickr"></use></svg> <span class="username">{{ site.social_sites.flickr | escape }}</span></a></li>{% endif %}
5
+ {% if site.social_sites.github %}<li><a href="https://github.com/{{ site.social_sites.github | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">{{ site.social_sites.github | escape }}</span></a></li>{% endif %}
6
+ {% if site.social_sites.instagram %}<li><a href="https://instagram.com/{{ site.social_sites.instagram | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#instagram"></use></svg> <span class="username">{{ site.social_sites.instagram | escape }}</span></a></li>{% endif %}
7
+ {% if site.social_sites.linkedin %}<li><a href="https://www.linkedin.com/in/{{ site.social_sites.linkedin | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#linkedin"></use></svg> <span class="username">{{ site.social_sites.linkedin | escape }}</span></a></li>{% endif %}
8
+ {% if site.social_sites.pinterest %}<li><a href="https://www.pinterest.com/{{ site.social_sites.pinterest | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#pinterest"></use></svg> <span class="username">{{ site.social_sites.pinterest | escape }}</span></a></li>{% endif %}
9
+ {% if site.social_sites.twitter %}<li><a href="https://www.twitter.com/{{ site.social_sites.twitter | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#twitter"></use></svg> <span class="username">{{ site.social_sites.twitter | escape }}</span></a></li>{% endif %}
10
+ {% if site.social_sites.youtube %}<li><a href="https://youtube.com/{{ site.social_sites.youtube | cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#youtube"></use></svg> <span class="username">{{ site.social_sites.youtube | escape }}</span></a></li>{% endif %}
11
+ {% if site.social_sites.googleplus %}<li><a href="https://plus.google.com/{{ site.social_sites.googleplus | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#googleplus"></use></svg> <span class="username">{{ site.social_sites.googleplus | escape }}</span></a></li>{% endif %}
12
+ {% if site.rss %}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#rss"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{% endif %}
13
+ </ul>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include sidebar.html %}
9
+
10
+ <div class="main-wrapper">
11
+
12
+ {% include header.html %}
13
+
14
+ <main class="page-content" aria-label="Content">
15
+ <div class="wrapper">
16
+ {{ content }}
17
+ </div>
18
+ </main>
19
+
20
+ {% include footer.html %}
21
+
22
+ </div>
23
+
24
+ </body>
25
+
26
+ </html>
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+ {% if page.title %}
7
+ <h1 class="page-heading">{{ page.title }}</h1>
8
+ {% endif %}
9
+
10
+ {{ content }}
11
+
12
+ {% if site.posts.size > 0 %}
13
+ <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14
+ <ul class="post-list">
15
+ {% for post in site.posts %}
16
+ <li>
17
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
18
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
19
+
20
+ <h3>
21
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
22
+ </h3>
23
+ </li>
24
+ {% endfor %}
25
+ </ul>
26
+
27
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
28
+ {% endif %}
29
+
30
+ </div>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title | escape }}</h1>
8
+ </header>
9
+
10
+ <div class="post-content">
11
+ {{ content }}
12
+ </div>
13
+
14
+ </article>
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <p class="post-meta">
8
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">
9
+ {% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}</span></span>
10
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
12
+ {{ page.date | date: date_format }}
13
+ </time>
14
+ </p>
15
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
16
+ </header>
17
+
18
+ <div class="post-content e-content" itemprop="articleBody">
19
+ {{ content }}
20
+ </div>
21
+
22
+ {% if site.disqus.shortname %}
23
+ {% include disqus_comments.html %}
24
+ {% endif %}
25
+
26
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
27
+ </article>
@@ -0,0 +1,51 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+
5
+ $base-font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif !default;
6
+ $base-font-size: 16px !default;
7
+ $base-font-weight: 400 !default;
8
+ $small-font-size: $base-font-size * 0.875 !default;
9
+ $base-line-height: 1.5 !default;
10
+
11
+ $spacing-unit: 30px !default;
12
+
13
+ $text-color: #404040 !default;
14
+ $background-color: #fdfdfd !default;
15
+ $brand-color: #2a7ae2 !default;
16
+
17
+ $grey-color: #828282 !default;
18
+ $grey-color-light: lighten($grey-color, 40%) !default;
19
+ $grey-color-dark: darken($grey-color, 25%) !default;
20
+
21
+ $table-text-align: left !default;
22
+
23
+ // Width of the content area
24
+ $content-width: 1000px !default;
25
+
26
+ $on-palm: 600px !default;
27
+ $on-laptop: 1000px !default;
28
+
29
+ // Use media queries like this:
30
+ // @include media-query($on-palm) {
31
+ // .wrapper {
32
+ // padding-right: $spacing-unit / 2;
33
+ // padding-left: $spacing-unit / 2;
34
+ // }
35
+ // }
36
+ @mixin media-query($device) {
37
+ @media screen and (max-width: $device) {
38
+ @content;
39
+ }
40
+ }
41
+
42
+ @mixin relative-font-size($ratio) {
43
+ font-size: $base-font-size * $ratio;
44
+ }
45
+
46
+ // Import partials.
47
+ @import
48
+ "minima/base",
49
+ "minima/layout",
50
+ "minima/syntax-highlighting"
51
+ ;
@@ -0,0 +1,242 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
+ color: $text-color;
19
+ background-color: $background-color;
20
+ -webkit-text-size-adjust: 100%;
21
+ -webkit-font-feature-settings: "kern" 1;
22
+ -moz-font-feature-settings: "kern" 1;
23
+ -o-font-feature-settings: "kern" 1;
24
+ font-feature-settings: "kern" 1;
25
+ font-kerning: normal;
26
+ }
27
+
28
+
29
+
30
+ /**
31
+ * Set `margin-bottom` to maintain vertical rhythm
32
+ */
33
+ h1, h2, h3, h4, h5, h6,
34
+ p, blockquote, pre,
35
+ ul, ol, dl, figure,
36
+ %vertical-rhythm {
37
+ margin-bottom: $spacing-unit / 2;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Images
44
+ */
45
+ img {
46
+ max-width: 100%;
47
+ vertical-align: middle;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Figures
54
+ */
55
+ figure > img {
56
+ display: block;
57
+ }
58
+
59
+ figcaption {
60
+ font-size: $small-font-size;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Lists
67
+ */
68
+ ul, ol {
69
+ margin-left: $spacing-unit;
70
+ }
71
+
72
+ li {
73
+ > ul,
74
+ > ol {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * Headings
83
+ */
84
+ h1, h2, h3, h4, h5, h6 {
85
+ font-weight: $base-font-weight;
86
+ }
87
+
88
+
89
+
90
+ /**
91
+ * Links
92
+ */
93
+ a {
94
+ color: $brand-color;
95
+ text-decoration: none;
96
+
97
+ &:visited {
98
+ color: darken($brand-color, 15%);
99
+ }
100
+
101
+ &:hover {
102
+ color: $text-color;
103
+ text-decoration: underline;
104
+ }
105
+
106
+ .social-media-list &:hover {
107
+ text-decoration: none;
108
+
109
+ .username {
110
+ text-decoration: underline;
111
+ }
112
+ }
113
+ }
114
+
115
+
116
+ /**
117
+ * Blockquotes
118
+ */
119
+ blockquote {
120
+ color: $grey-color;
121
+ border-left: 4px solid $grey-color-light;
122
+ padding-left: $spacing-unit / 2;
123
+ @include relative-font-size(1.125);
124
+ letter-spacing: -1px;
125
+ font-style: italic;
126
+
127
+ > :last-child {
128
+ margin-bottom: 0;
129
+ }
130
+ }
131
+
132
+
133
+
134
+ /**
135
+ * Code formatting
136
+ */
137
+ pre,
138
+ code {
139
+ @include relative-font-size(0.9375);
140
+ border: 1px solid $grey-color-light;
141
+ border-radius: 3px;
142
+ background-color: #eef;
143
+ }
144
+
145
+ code {
146
+ padding: 1px 5px;
147
+ }
148
+
149
+ pre {
150
+ padding: 8px 12px;
151
+ overflow-x: auto;
152
+
153
+ > code {
154
+ border: 0;
155
+ padding-right: 0;
156
+ padding-left: 0;
157
+ }
158
+ }
159
+
160
+
161
+
162
+ /**
163
+ * Wrapper
164
+ */
165
+ .wrapper {
166
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
167
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
168
+ margin-right: auto;
169
+ margin-left: auto;
170
+ padding-right: $spacing-unit;
171
+ padding-left: $spacing-unit;
172
+ @extend %clearfix;
173
+
174
+ @include media-query($on-laptop) {
175
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
176
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
177
+ padding-right: $spacing-unit / 2;
178
+ padding-left: $spacing-unit / 2;
179
+ }
180
+ }
181
+
182
+
183
+
184
+ /**
185
+ * Clearfix
186
+ */
187
+ %clearfix:after {
188
+ content: "";
189
+ display: table;
190
+ clear: both;
191
+ }
192
+
193
+
194
+
195
+ /**
196
+ * Icons
197
+ */
198
+
199
+ .svg-icon {
200
+ width: 16px;
201
+ height: 16px;
202
+ display: inline-block;
203
+ fill: #{$grey-color};
204
+ padding-right: 5px;
205
+ vertical-align: text-top;
206
+ }
207
+
208
+ .social-media-list {
209
+ li + li {
210
+ padding-top: 5px;
211
+ }
212
+ }
213
+
214
+
215
+
216
+ /**
217
+ * Tables
218
+ */
219
+ table {
220
+ margin-bottom: $spacing-unit;
221
+ width: 100%;
222
+ text-align: $table-text-align;
223
+ color: lighten($text-color, 18%);
224
+ border-collapse: collapse;
225
+ border: 1px solid $grey-color-light;
226
+ tr {
227
+ &:nth-child(even) {
228
+ background-color: lighten($grey-color-light, 6%);
229
+ }
230
+ }
231
+ th, td {
232
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
233
+ }
234
+ th {
235
+ background-color: lighten($grey-color-light, 3%);
236
+ border: 1px solid darken($grey-color-light, 4%);
237
+ border-bottom-color: darken($grey-color-light, 12%);
238
+ }
239
+ td {
240
+ border: 1px solid $grey-color-light;
241
+ }
242
+ }
@@ -0,0 +1,340 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ // border-top: 5px solid $grey-color-dark;
6
+ // border-bottom: 1px solid $grey-color-light;
7
+ min-height: $spacing-unit * 1.865;
8
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ @include relative-font-size(4);
15
+ font-weight: 700;
16
+ line-height: $base-line-height * $base-font-size * 6;
17
+ letter-spacing: -1px;
18
+ margin-bottom: 0;
19
+ // float: left;
20
+ text-align: center;
21
+ font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif;
22
+
23
+ &,
24
+ &:visited {
25
+ color: $grey-color-dark;
26
+ }
27
+ }
28
+
29
+ .site-nav {
30
+ float: right;
31
+ line-height: $base-line-height * $base-font-size * 2.25;
32
+
33
+ .nav-trigger {
34
+ display: none;
35
+ }
36
+
37
+ .menu-icon {
38
+ display: none;
39
+ }
40
+
41
+ .page-link {
42
+ color: $text-color;
43
+ line-height: $base-line-height;
44
+
45
+ // Gaps between nav items, but not on the last one
46
+ &:not(:last-child) {
47
+ margin-right: 20px;
48
+ }
49
+ }
50
+
51
+ @include media-query($on-palm) {
52
+ position: absolute;
53
+ top: 9px;
54
+ right: $spacing-unit / 2;
55
+ background-color: $background-color;
56
+ border: 1px solid $grey-color-light;
57
+ border-radius: 5px;
58
+ text-align: right;
59
+
60
+ label[for="nav-trigger"] {
61
+ display: block;
62
+ float: right;
63
+ width: 36px;
64
+ height: 36px;
65
+ z-index: 2;
66
+ cursor: pointer;
67
+ }
68
+
69
+ .menu-icon {
70
+ display: block;
71
+ float: right;
72
+ width: 36px;
73
+ height: 26px;
74
+ line-height: 0;
75
+ padding-top: 10px;
76
+ text-align: center;
77
+
78
+ > svg path {
79
+ fill: $grey-color-dark;
80
+ }
81
+ }
82
+
83
+ input ~ .trigger {
84
+ clear: both;
85
+ display: none;
86
+ }
87
+
88
+ input:checked ~ .trigger {
89
+ display: block;
90
+ padding-bottom: 5px;
91
+ }
92
+
93
+ .page-link {
94
+ display: block;
95
+ padding: 5px 10px;
96
+
97
+ &:not(:last-child) {
98
+ margin-right: 0;
99
+ }
100
+ margin-left: 20px;
101
+ }
102
+ }
103
+ }
104
+
105
+
106
+
107
+ /**
108
+ * Site footer
109
+ */
110
+ .site-footer {
111
+ border-top: 1px solid $grey-color-light;
112
+ padding: $spacing-unit 0;
113
+ }
114
+
115
+ .footer-heading {
116
+ @include relative-font-size(1.125);
117
+ margin-bottom: $spacing-unit / 2;
118
+ }
119
+
120
+ .contact-list,
121
+ .social-media-list {
122
+ list-style: none;
123
+ margin-left: 0;
124
+ }
125
+
126
+ .footer-col-wrapper {
127
+ @include relative-font-size(0.9375);
128
+ color: $grey-color;
129
+ margin-left: -$spacing-unit / 2;
130
+ @extend %clearfix;
131
+ }
132
+
133
+ .footer-col {
134
+ float: left;
135
+ margin-bottom: $spacing-unit / 2;
136
+ padding-left: $spacing-unit / 2;
137
+ }
138
+
139
+ .footer-col-1 {
140
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
141
+ width: calc(35% - (#{$spacing-unit} / 2));
142
+ }
143
+
144
+ .footer-col-2 {
145
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
146
+ width: calc(20% - (#{$spacing-unit} / 2));
147
+ }
148
+
149
+ .footer-col-3 {
150
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
151
+ width: calc(45% - (#{$spacing-unit} / 2));
152
+ }
153
+
154
+ @include media-query($on-laptop) {
155
+ .footer-col-1,
156
+ .footer-col-2 {
157
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
158
+ width: calc(50% - (#{$spacing-unit} / 2));
159
+ }
160
+
161
+ .footer-col-3 {
162
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
163
+ width: calc(100% - (#{$spacing-unit} / 2));
164
+ }
165
+ }
166
+
167
+ @include media-query($on-palm) {
168
+ .footer-col {
169
+ float: none;
170
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
171
+ width: calc(100% - (#{$spacing-unit} / 2));
172
+ }
173
+ }
174
+
175
+
176
+
177
+ /**
178
+ * Page content
179
+ */
180
+ .page-content {
181
+ padding: $spacing-unit 0;
182
+ }
183
+
184
+ .page-heading {
185
+ @include relative-font-size(2);
186
+ }
187
+
188
+ .post-list-heading {
189
+ @include relative-font-size(1.75);
190
+ }
191
+
192
+ .post-list {
193
+ margin-left: 0;
194
+ list-style: none;
195
+
196
+ > li {
197
+ margin-bottom: $spacing-unit;
198
+ }
199
+ }
200
+
201
+ .post-meta {
202
+ font-size: $small-font-size;
203
+ color: $grey-color;
204
+ padding: 2px;
205
+ border: 0;
206
+ border-bottom: 1px solid #e1e4e5;
207
+ margin-top: 10px;
208
+ margin-bottom: 24px;
209
+
210
+ time {
211
+ float: right;
212
+ }
213
+ }
214
+
215
+ .post-link {
216
+ display: block;
217
+ @include relative-font-size(1.5);
218
+ }
219
+
220
+
221
+
222
+ /**
223
+ * Posts
224
+ */
225
+ .post-header {
226
+ margin-bottom: $spacing-unit;
227
+ }
228
+
229
+ .post-title {
230
+ font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif;
231
+ font-weight: 700;
232
+ color: #404040;
233
+
234
+ @include relative-font-size(2.625);
235
+ letter-spacing: -1px;
236
+ line-height: 1;
237
+
238
+ @include media-query($on-laptop) {
239
+ @include relative-font-size(2.25);
240
+ }
241
+ }
242
+
243
+ .post-content {
244
+ margin-bottom: $spacing-unit;
245
+
246
+ h2 {
247
+ @include relative-font-size(2);
248
+
249
+ @include media-query($on-laptop) {
250
+ @include relative-font-size(1.75);
251
+ }
252
+ }
253
+
254
+ h3 {
255
+ @include relative-font-size(1.625);
256
+
257
+ @include media-query($on-laptop) {
258
+ @include relative-font-size(1.375);
259
+ }
260
+ }
261
+
262
+ h4 {
263
+ @include relative-font-size(1.25);
264
+
265
+ @include media-query($on-laptop) {
266
+ @include relative-font-size(1.125);
267
+ }
268
+ }
269
+ }
270
+
271
+
272
+
273
+ /**
274
+ * Sidebar
275
+ */
276
+ .main-wrapper {
277
+ // TODO: responsiveness
278
+ margin-left: 300px;
279
+ }
280
+
281
+ .site-sidebar {
282
+ z-index: 1000;
283
+ height: 100%;
284
+ width: 300px;
285
+ position: fixed;
286
+ // float: left;
287
+ background-color: #171A2F;
288
+
289
+ .sidebar-title {
290
+ display: block;
291
+ font-size: 100%;
292
+ font-weight: bold;
293
+ color: #fcfcfc;
294
+ text-align: center;
295
+ margin-top: 1em;
296
+ margin-bottom: 1.5em;
297
+ }
298
+
299
+ input {
300
+ width: 80%;
301
+ border-radius: 50px;
302
+ border-color: transparent;
303
+ padding: 6px 10px;
304
+ margin-left: 12px;
305
+ }
306
+
307
+ ul {
308
+ margin-top: 20px;
309
+ list-style: none;
310
+ margin-left: 0;
311
+ }
312
+
313
+ ul li {
314
+ list-style: none;
315
+ line-height: 16px;
316
+ padding: 5px 15px;
317
+ }
318
+
319
+ ul li:hover {
320
+ background-color: #454545;
321
+ }
322
+
323
+ ul li span {
324
+ font-size: 70%;
325
+ font-style: italic;
326
+ color: #b3b3b3;
327
+ list-style: none;
328
+ text-decoration: none;
329
+ }
330
+
331
+ ul li a {
332
+ display: block;
333
+ position: relative;
334
+ font-size: 90%;
335
+ color: #b3b3b3;
336
+ list-style: none;
337
+ text-decoration: none;
338
+ cursor: pointer;
339
+ }
340
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background: #fff;
6
+ @extend %vertical-rhythm;
7
+
8
+ .highlighter-rouge & {
9
+ background: #eef;
10
+ }
11
+
12
+ .c { color: #998; font-style: italic } // Comment
13
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
14
+ .k { font-weight: bold } // Keyword
15
+ .o { font-weight: bold } // Operator
16
+ .cm { color: #998; font-style: italic } // Comment.Multiline
17
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
18
+ .c1 { color: #998; font-style: italic } // Comment.Single
19
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
20
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
21
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
22
+ .ge { font-style: italic } // Generic.Emph
23
+ .gr { color: #a00 } // Generic.Error
24
+ .gh { color: #999 } // Generic.Heading
25
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
26
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
27
+ .go { color: #888 } // Generic.Output
28
+ .gp { color: #555 } // Generic.Prompt
29
+ .gs { font-weight: bold } // Generic.Strong
30
+ .gu { color: #aaa } // Generic.Subheading
31
+ .gt { color: #a00 } // Generic.Traceback
32
+ .kc { font-weight: bold } // Keyword.Constant
33
+ .kd { font-weight: bold } // Keyword.Declaration
34
+ .kp { font-weight: bold } // Keyword.Pseudo
35
+ .kr { font-weight: bold } // Keyword.Reserved
36
+ .kt { color: #458; font-weight: bold } // Keyword.Type
37
+ .m { color: #099 } // Literal.Number
38
+ .s { color: #d14 } // Literal.String
39
+ .na { color: #008080 } // Name.Attribute
40
+ .nb { color: #0086B3 } // Name.Builtin
41
+ .nc { color: #458; font-weight: bold } // Name.Class
42
+ .no { color: #008080 } // Name.Constant
43
+ .ni { color: #800080 } // Name.Entity
44
+ .ne { color: #900; font-weight: bold } // Name.Exception
45
+ .nf { color: #900; font-weight: bold } // Name.Function
46
+ .nn { color: #555 } // Name.Namespace
47
+ .nt { color: #000080 } // Name.Tag
48
+ .nv { color: #008080 } // Name.Variable
49
+ .ow { font-weight: bold } // Operator.Word
50
+ .w { color: #bbb } // Text.Whitespace
51
+ .mf { color: #099 } // Literal.Number.Float
52
+ .mh { color: #099 } // Literal.Number.Hex
53
+ .mi { color: #099 } // Literal.Number.Integer
54
+ .mo { color: #099 } // Literal.Number.Oct
55
+ .sb { color: #d14 } // Literal.String.Backtick
56
+ .sc { color: #d14 } // Literal.String.Char
57
+ .sd { color: #d14 } // Literal.String.Doc
58
+ .s2 { color: #d14 } // Literal.String.Double
59
+ .se { color: #d14 } // Literal.String.Escape
60
+ .sh { color: #d14 } // Literal.String.Heredoc
61
+ .si { color: #d14 } // Literal.String.Interpol
62
+ .sx { color: #d14 } // Literal.String.Other
63
+ .sr { color: #009926 } // Literal.String.Regex
64
+ .s1 { color: #d14 } // Literal.String.Single
65
+ .ss { color: #990073 } // Literal.String.Symbol
66
+ .bp { color: #999 } // Name.Builtin.Pseudo
67
+ .vc { color: #008080 } // Name.Variable.Class
68
+ .vg { color: #008080 } // Name.Variable.Global
69
+ .vi { color: #008080 } // Name.Variable.Instance
70
+ .il { color: #099 } // Literal.Number.Integer.Long
71
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "minima";
@@ -0,0 +1,27 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+
3
+ <symbol id="dribbble" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 16c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm6.747-6.905c-.234-.074-2.115-.635-4.257-.292.894 2.456 1.258 4.456 1.328 4.872 1.533-1.037 2.624-2.68 2.93-4.58zM10.67 14.3c-.102-.6-.5-2.688-1.46-5.18l-.044.014C5.312 10.477 3.93 13.15 3.806 13.4c1.158.905 2.614 1.444 4.194 1.444.947 0 1.85-.194 2.67-.543zm-7.747-1.72c.155-.266 2.03-3.37 5.555-4.51.09-.03.18-.056.27-.08-.173-.39-.36-.778-.555-1.16-3.413 1.02-6.723.977-7.023.97l-.003.208c0 1.755.665 3.358 1.756 4.57zM1.31 6.61c.307.005 3.122.017 6.318-.832-1.132-2.012-2.353-3.705-2.533-3.952-1.912.902-3.34 2.664-3.784 4.785zM6.4 1.368c.188.253 1.43 1.943 2.548 4 2.43-.91 3.46-2.293 3.582-2.468C11.323 1.827 9.736 1.176 8 1.176c-.55 0-1.087.066-1.6.19zm6.89 2.322c-.145.194-1.29 1.662-3.816 2.694.16.325.31.656.453.99.05.117.1.235.147.352 2.274-.286 4.533.172 4.758.22-.015-1.613-.59-3.094-1.543-4.257z"/></symbol>
4
+
5
+ <symbol id="facebook" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M15.117 0H.883C.395 0 0 .395 0 .883v14.234c0 .488.395.883.883.883h7.663V9.804H6.46V7.39h2.086V5.607c0-2.066 1.262-3.19 3.106-3.19.883 0 1.642.064 1.863.094v2.16h-1.28c-1 0-1.195.48-1.195 1.18v1.54h2.39l-.31 2.42h-2.08V16h4.077c.488 0 .883-.395.883-.883V.883C16 .395 15.605 0 15.117 0" fill-rule="nonzero"/></symbol>
6
+
7
+ <symbol id="flickr" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M0 8c0 2.05 1.662 3.71 3.71 3.71 2.05 0 3.713-1.66 3.713-3.71S5.76 4.29 3.71 4.29C1.663 4.29 0 5.95 0 8zm8.577 0c0 2.05 1.662 3.71 3.712 3.71C14.33 11.71 16 10.05 16 8s-1.662-3.71-3.71-3.71c-2.05 0-3.713 1.66-3.713 3.71z"/></symbol>
8
+
9
+ <symbol id="github" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"/></symbol>
10
+
11
+ <symbol id="googleplus" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M5.09 7.273v1.745h2.89c-.116.75-.873 2.197-2.887 2.197-1.737 0-3.155-1.44-3.155-3.215S3.353 4.785 5.09 4.785c.99 0 1.652.422 2.03.786l1.382-1.33c-.887-.83-2.037-1.33-3.41-1.33C2.275 2.91 0 5.19 0 8s2.276 5.09 5.09 5.09c2.94 0 4.888-2.065 4.888-4.974 0-.334-.036-.59-.08-.843H5.09zm10.91 0h-1.455V5.818H13.09v1.455h-1.454v1.454h1.455v1.455h1.46V8.727H16"/></symbol>
12
+
13
+ <symbol id="instagram" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C5.827 0 5.555.01 4.702.048 3.85.088 3.27.222 2.76.42c-.526.204-.973.478-1.417.923-.445.444-.72.89-.923 1.417-.198.51-.333 1.09-.372 1.942C.008 5.555 0 5.827 0 8s.01 2.445.048 3.298c.04.852.174 1.433.372 1.942.204.526.478.973.923 1.417.444.445.89.72 1.417.923.51.198 1.09.333 1.942.372.853.04 1.125.048 3.298.048s2.445-.01 3.298-.048c.852-.04 1.433-.174 1.942-.372.526-.204.973-.478 1.417-.923.445-.444.72-.89.923-1.417.198-.51.333-1.09.372-1.942.04-.853.048-1.125.048-3.298s-.01-2.445-.048-3.298c-.04-.852-.174-1.433-.372-1.942-.204-.526-.478-.973-.923-1.417-.444-.445-.89-.72-1.417-.923-.51-.198-1.09-.333-1.942-.372C10.445.008 10.173 0 8 0zm0 1.44c2.136 0 2.39.01 3.233.048.78.036 1.203.166 1.485.276.374.145.64.318.92.598.28.28.453.546.598.92.11.282.24.705.276 1.485.038.844.047 1.097.047 3.233s-.01 2.39-.05 3.233c-.04.78-.17 1.203-.28 1.485-.15.374-.32.64-.6.92-.28.28-.55.453-.92.598-.28.11-.71.24-1.49.276-.85.038-1.1.047-3.24.047s-2.39-.01-3.24-.05c-.78-.04-1.21-.17-1.49-.28-.38-.15-.64-.32-.92-.6-.28-.28-.46-.55-.6-.92-.11-.28-.24-.71-.28-1.49-.03-.84-.04-1.1-.04-3.23s.01-2.39.04-3.24c.04-.78.17-1.21.28-1.49.14-.38.32-.64.6-.92.28-.28.54-.46.92-.6.28-.11.7-.24 1.48-.28.85-.03 1.1-.04 3.24-.04zm0 2.452c-2.27 0-4.108 1.84-4.108 4.108 0 2.27 1.84 4.108 4.108 4.108 2.27 0 4.108-1.84 4.108-4.108 0-2.27-1.84-4.108-4.108-4.108zm0 6.775c-1.473 0-2.667-1.194-2.667-2.667 0-1.473 1.194-2.667 2.667-2.667 1.473 0 2.667 1.194 2.667 2.667 0 1.473-1.194 2.667-2.667 2.667zm5.23-6.937c0 .53-.43.96-.96.96s-.96-.43-.96-.96.43-.96.96-.96.96.43.96.96z"/></symbol>
14
+
15
+ <symbol id="linkedin" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M13.632 13.635h-2.37V9.922c0-.886-.018-2.025-1.234-2.025-1.235 0-1.424.964-1.424 1.96v3.778h-2.37V6H8.51v1.04h.03c.318-.6 1.092-1.233 2.247-1.233 2.4 0 2.845 1.58 2.845 3.637v4.188zM3.558 4.955c-.762 0-1.376-.617-1.376-1.377 0-.758.614-1.375 1.376-1.375.76 0 1.376.617 1.376 1.375 0 .76-.617 1.377-1.376 1.377zm1.188 8.68H2.37V6h2.376v7.635zM14.816 0H1.18C.528 0 0 .516 0 1.153v13.694C0 15.484.528 16 1.18 16h13.635c.652 0 1.185-.516 1.185-1.153V1.153C16 .516 15.467 0 14.815 0z" fill-rule="nonzero"/></symbol>
16
+
17
+ <symbol id="pinterest" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 0C3.582 0 0 3.582 0 8c0 3.39 2.108 6.285 5.084 7.45-.07-.633-.133-1.604.028-2.295.146-.625.938-3.977.938-3.977s-.24-.48-.24-1.188c0-1.11.646-1.943 1.448-1.943.683 0 1.012.513 1.012 1.127 0 .687-.436 1.713-.662 2.664-.19.797.4 1.445 1.185 1.445 1.42 0 2.514-1.498 2.514-3.662 0-1.91-1.376-3.25-3.342-3.25-2.276 0-3.61 1.71-3.61 3.47 0 .69.263 1.43.593 1.83.066.08.075.15.057.23-.06.25-.196.8-.223.91-.035.15-.115.18-.268.11C3.516 10.46 2.89 9 2.89 7.82c0-2.52 1.834-4.84 5.287-4.84 2.774 0 4.932 1.98 4.932 4.62 0 2.76-1.74 4.98-4.16 4.98-.81 0-1.57-.42-1.84-.92l-.5 1.9c-.18.698-.67 1.57-1 2.1.75.23 1.54.357 2.37.357 4.41 0 8-3.58 8-8s-3.59-8-8-8z" fill-rule="nonzero"/></symbol>
18
+
19
+ <symbol id="rss" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194 11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.99 2.194-2.2 2.194C.98 16 0 15.017 0 13.806c0-1.21.983-2.195 2.194-2.195zM10.606 16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"/></symbol>
20
+
21
+ <symbol id="stackoverflow" class="svg-icon" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M12.658 14.577v-4.27h1.423V16H1.23v-5.693h1.42v4.27h10.006zm-8.583-1.423h7.16V11.73h-7.16v1.424zm.173-3.235l6.987 1.46.3-1.38L4.55 8.54l-.302 1.38zm.906-3.37l6.47 3.02.602-1.3-6.47-3.02-.602 1.29zm1.81-3.19l5.478 4.57.906-1.08L7.87 2.28l-.9 1.078zM10.502 0L9.338.863l4.27 5.735 1.164-.862L10.5 0z"/></symbol>
22
+
23
+ <symbol id="twitter" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16 3.038c-.59.26-1.22.437-1.885.517.677-.407 1.198-1.05 1.443-1.816-.634.37-1.337.64-2.085.79-.598-.64-1.45-1.04-2.396-1.04-1.812 0-3.282 1.47-3.282 3.28 0 .26.03.51.085.75-2.728-.13-5.147-1.44-6.766-3.42C.83 2.58.67 3.14.67 3.75c0 1.14.58 2.143 1.46 2.732-.538-.017-1.045-.165-1.487-.41v.04c0 1.59 1.13 2.918 2.633 3.22-.276.074-.566.114-.865.114-.21 0-.41-.02-.61-.058.42 1.304 1.63 2.253 3.07 2.28-1.12.88-2.54 1.404-4.07 1.404-.26 0-.52-.015-.78-.045 1.46.93 3.18 1.474 5.04 1.474 6.04 0 9.34-5 9.34-9.33 0-.14 0-.28-.01-.42.64-.46 1.2-1.04 1.64-1.7z" fill-rule="nonzero"/></symbol>
24
+
25
+ <symbol id="youtube" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M0 7.345c0-1.294.16-2.59.16-2.59s.156-1.1.636-1.587c.608-.637 1.408-.617 1.764-.684C3.84 2.36 8 2.324 8 2.324s3.362.004 5.6.166c.314.038.996.04 1.604.678.48.486.636 1.588.636 1.588S16 6.05 16 7.346v1.258c0 1.296-.16 2.59-.16 2.59s-.156 1.102-.636 1.588c-.608.638-1.29.64-1.604.678-2.238.162-5.6.166-5.6.166s-4.16-.037-5.44-.16c-.356-.067-1.156-.047-1.764-.684-.48-.487-.636-1.587-.636-1.587S0 9.9 0 8.605v-1.26zm6.348 2.73V5.58l4.323 2.255-4.32 2.24z"/></symbol>
26
+
27
+ </svg>
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-readthedocs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Timothée Mazzucotelli
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-22 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.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-seo-tag
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.12'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.12'
55
+ description:
56
+ email:
57
+ - timothee.mazzucotelli@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/disqus_comments.html
65
+ - _includes/footer.html
66
+ - _includes/google-analytics.html
67
+ - _includes/head.html
68
+ - _includes/header.html
69
+ - _includes/sidebar.html
70
+ - _includes/social.html
71
+ - _layouts/default.html
72
+ - _layouts/home.html
73
+ - _layouts/page.html
74
+ - _layouts/post.html
75
+ - _sass/minima.scss
76
+ - _sass/minima/_base.scss
77
+ - _sass/minima/_layout.scss
78
+ - _sass/minima/_syntax-highlighting.scss
79
+ - assets/main.scss
80
+ - assets/minima-social-icons.svg
81
+ homepage: https://github.com/Pawamoy/jekyll-readthedocs
82
+ licenses:
83
+ - MIT
84
+ metadata: {}
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 2.6.8
102
+ signing_key:
103
+ specification_version: 4
104
+ summary: A ReadTheDocs theme based on minima.
105
+ test_files: []