oscailte 3.0.1 → 3.0.2
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.
- checksums.yaml +5 -5
- data/LICENSE.txt +21 -21
- data/README.md +170 -175
- data/_includes/comments.html +20 -20
- data/_includes/footer.html +10 -10
- data/_includes/google-analytics.html +10 -10
- data/_includes/head.html +16 -12
- data/_includes/header.html +17 -17
- data/_includes/hero.html +16 -16
- data/_includes/icon.html +4 -2
- data/_includes/navigation.html +17 -17
- data/_includes/social.html +16 -16
- data/_includes/strings.html +8 -8
- data/_layouts/core.html +27 -27
- data/_layouts/default.html +6 -6
- data/_layouts/home.html +43 -43
- data/_layouts/page.html +4 -4
- data/_layouts/post.html +37 -37
- data/_sass/_oscailte.scss +146 -146
- data/_sass/oscailte/components/_button.scss +10 -10
- data/_sass/oscailte/components/_card.scss +18 -18
- data/_sass/oscailte/components/_footer.scss +21 -21
- data/_sass/oscailte/components/_header.scss +50 -50
- data/_sass/oscailte/components/_hero.scss +84 -84
- data/_sass/oscailte/components/_icon.scss +6 -6
- data/_sass/oscailte/components/_navigation.scss +31 -31
- data/_sass/oscailte/components/_recentposts.scss +58 -58
- data/_sass/oscailte/components/_skipnav.scss +10 -10
- data/_sass/oscailte/components/_social.scss +54 -54
- data/_sass/oscailte/components/_syntax.scss +72 -72
- data/_sass/oscailte/elements/_blockquote.scss +5 -5
- data/_sass/oscailte/elements/_body.scss +6 -6
- data/_sass/oscailte/elements/_code.scss +18 -18
- data/_sass/oscailte/elements/_headings.scss +14 -14
- data/_sass/oscailte/elements/_hr.scss +3 -3
- data/_sass/oscailte/elements/_html.scss +9 -9
- data/_sass/oscailte/elements/_img.scss +2 -2
- data/_sass/oscailte/elements/_links.scss +3 -3
- data/_sass/oscailte/generic/_font-face.scss +62 -62
- data/_sass/oscailte/generic/_lobotomised-owl.scss +2 -2
- data/_sass/oscailte/generic/_modern-normalize.scss +273 -273
- data/_sass/oscailte/layout/_container.scss +4 -4
- data/_sass/oscailte/layout/_post.scss +13 -13
- data/_sass/oscailte/layout/_stickyfooter.scss +10 -10
- data/_sass/oscailte/objects/_circuited.scss +5 -5
- data/_sass/oscailte/objects/_lists.scss +10 -10
- data/_sass/oscailte/objects/_muted.scss +2 -2
- data/_sass/oscailte/objects/_no-owl.scss +3 -3
- data/_sass/oscailte/tools/_functions.scss +26 -26
- data/_sass/oscailte/tools/_mixins.scss +28 -28
- data/assets/css/main.scss +4 -4
- data/assets/oscailte/fonts/lato-v16-latin-regular.svg +435 -435
- data/assets/oscailte/fonts/merriweather-v21-latin-700.svg +375 -375
- data/assets/oscailte/fonts/merriweather-v21-latin-italic.svg +390 -390
- data/assets/oscailte/fonts/merriweather-v21-latin-regular.svg +374 -374
- data/assets/oscailte/img/icons.svg +62 -62
- metadata +24 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 87bf5672d2e692a574469c3286c590873d8bcbe4524e1873d9a1e64791846dae
|
4
|
+
data.tar.gz: d49869b3f994e34e9675bd8f8950a81c4d9b0cece190a5b3a60586b08be43dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3525e1874908fb5424b21f7577b543c4150aaf70c178e814c092a795060f65c611b1c99c842c8c2e3b3bd19d444a071837e8e01c8de5016a37123955f355d210
|
7
|
+
data.tar.gz: 0cc13d236f21c4195fa601814fa99b70c9bc7c84bfaad97d4760e7b96043f9d9f989f82937648a9c9c8d3ea54edb98088c8589192f2062a32f4d0ecc4aecab4e
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2019 Stephen Coogan
|
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.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Stephen Coogan
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,175 +1,170 @@
|
|
1
|
-
# Oscailte — A Jekyll theme
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
- [
|
13
|
-
- [
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
</
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
```
|
41
|
-
|
42
|
-
```
|
43
|
-
|
44
|
-
|
45
|
-
```
|
46
|
-
|
47
|
-
```
|
48
|
-
|
49
|
-
|
50
|
-
```sh
|
51
|
-
$
|
52
|
-
```
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
`
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
code of conduct.
|
172
|
-
|
173
|
-
## License
|
174
|
-
|
175
|
-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
1
|
+
# Oscailte — A Jekyll theme [](https://rubygems.org/gems/oscailte)
|
2
|
+
|
3
|
+
Oscailte ([IPA: [ˈɔsˠkɪlʲtʲɪ]](http://en.wiktionary.org/wiki/Appendix:Irish_pronunciation) Gaeilge for "Open") is a light and clean theme for use on [Jekyll](https://jekyllrb.org/) sites, released under the MIT Licence.
|
4
|
+
|
5
|
+
## Quicklinks
|
6
|
+
- [Installation](#installation)
|
7
|
+
- [Usage](#usage)
|
8
|
+
- [Enabling Comments (via Disqus)](#enabling-comments-via-disqus)
|
9
|
+
- [Social Networks](#social-networks)
|
10
|
+
- [Enabling Google Analytics](#enabling-google-analytics)
|
11
|
+
- [Enabling Excerpts on the Home Page](#enabling-excerpts-on-the-home-page)
|
12
|
+
- [Customising Oscailte](#customising-oscailte)
|
13
|
+
- [Site Colours](#site-colours)
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
<details>
|
18
|
+
<summary><strong>Install as Remote Theme</strong></summary>
|
19
|
+
|
20
|
+
Using [Jekyll Remote Theme](https://github.com/benbalter/jekyll-remote-theme) (enabled
|
21
|
+
by default on Github Pages) is the quickest way to install Oscailte.
|
22
|
+
|
23
|
+
1. Add the following to your site's `_config.yml` to activate Oscailte
|
24
|
+
```yml
|
25
|
+
remote_theme: coogie/oscailte
|
26
|
+
```
|
27
|
+
</details>
|
28
|
+
|
29
|
+
----
|
30
|
+
|
31
|
+
<details>
|
32
|
+
<summary><strong>Install via Gemfile</strong></summary>
|
33
|
+
|
34
|
+
1. Add this line to your Jekyll site's `Gemfile`:
|
35
|
+
```ruby
|
36
|
+
gem "oscailte"
|
37
|
+
```
|
38
|
+
|
39
|
+
2. And add this line to your Jekyll site's `_config.yml`:
|
40
|
+
```yaml
|
41
|
+
theme: oscailte
|
42
|
+
```
|
43
|
+
|
44
|
+
3. And then execute:
|
45
|
+
```sh
|
46
|
+
$ bundle
|
47
|
+
```
|
48
|
+
|
49
|
+
4. Or install it yourself as:
|
50
|
+
```sh
|
51
|
+
$ gem install oscailte
|
52
|
+
```
|
53
|
+
</details>
|
54
|
+
|
55
|
+
## Usage
|
56
|
+
|
57
|
+
The majority of Oscailte's settings are nested under the `oscailte` key.
|
58
|
+
Below are a list of all available ones, and their default values.
|
59
|
+
|
60
|
+
```yml
|
61
|
+
oscailte:
|
62
|
+
posts_url:
|
63
|
+
google_analytics:
|
64
|
+
social:
|
65
|
+
twitter: jekyllrb
|
66
|
+
github: jekyll
|
67
|
+
dribbble: jekyll
|
68
|
+
facebook: jekyll
|
69
|
+
flickr: jekyll
|
70
|
+
instagram: jekyll
|
71
|
+
linkedin: jekyll
|
72
|
+
pinterest: jekyll
|
73
|
+
telegram: jekyll
|
74
|
+
keybase: jekyll
|
75
|
+
rss: rss
|
76
|
+
strings:
|
77
|
+
skip_to_main_content: "Skip to main content"
|
78
|
+
x_minute_read: "$x$ minute read"
|
79
|
+
hero_title: "Welcome to Oscailte!<br> A powerful, clean, and responsive Jekyll theme."
|
80
|
+
recent_posts: "Recent posts"
|
81
|
+
view_all: "View all"
|
82
|
+
read_full: "Read full"
|
83
|
+
disqus_enable_javascript: 'Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus</a>.'
|
84
|
+
```
|
85
|
+
|
86
|
+
### Enabling Comments (via Disqus)
|
87
|
+
|
88
|
+
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments
|
89
|
+
section below each post.
|
90
|
+
|
91
|
+
To enable it, add the following lines to your Jekyll site:
|
92
|
+
|
93
|
+
```yml
|
94
|
+
disqus:
|
95
|
+
shortname: my_disqus_shortname
|
96
|
+
```
|
97
|
+
|
98
|
+
You can find out more about Disqus' shortnames [here](https://help.disqus.com/installation/whats-a-shortname).
|
99
|
+
|
100
|
+
Comments are enabled by default and will only appear in production, i.e.,
|
101
|
+
`JEKYLL_ENV=production`
|
102
|
+
|
103
|
+
If you don't want to display comments for a particular post you can disable them by adding
|
104
|
+
`comments: false` to that post's YAML Front Matter.
|
105
|
+
|
106
|
+
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to
|
107
|
+
work.
|
108
|
+
|
109
|
+
### Social Networks
|
110
|
+
|
111
|
+
You can add links to the accounts you have on other sites, with respective icon, by adding
|
112
|
+
one or more of the following options in your config. These usernames are nested under
|
113
|
+
`oscailte.social`, with the keys being simply the social network's name:
|
114
|
+
|
115
|
+
```yml
|
116
|
+
oscailte:
|
117
|
+
social:
|
118
|
+
twitter: jekyllrb
|
119
|
+
github: jekyll
|
120
|
+
dribbble: jekyll
|
121
|
+
facebook: jekyll
|
122
|
+
flickr: jekyll
|
123
|
+
instagram: jekyll
|
124
|
+
linkedin: jekyll
|
125
|
+
pinterest: jekyll
|
126
|
+
telegram: jekyll
|
127
|
+
keybase: jekyll
|
128
|
+
rss: rss
|
129
|
+
```
|
130
|
+
|
131
|
+
### Enabling Google Analytics
|
132
|
+
|
133
|
+
To enable Google Analytics, add the following lines to your `_config.yml`:
|
134
|
+
|
135
|
+
```yml
|
136
|
+
oscailte:
|
137
|
+
google_analytics: UA-NNNNNNNN-N
|
138
|
+
```
|
139
|
+
|
140
|
+
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
|
141
|
+
Oscailte will also inform Google Analytics of your user's request for DNT.
|
142
|
+
|
143
|
+
### Enabling Excerpts on the Home Page
|
144
|
+
|
145
|
+
To display post-excerpts on the Home Page, simply add the following to your `_config.yml`:
|
146
|
+
|
147
|
+
```yaml
|
148
|
+
show_excerpts: true
|
149
|
+
```
|
150
|
+
|
151
|
+
## Customising Oscailte
|
152
|
+
|
153
|
+
### Site Colours
|
154
|
+
|
155
|
+
Oscailte makes extensive use of [CSS Custom Properties](https://developer.mozilla.org/en-US/docs/Web/CSS/--*)
|
156
|
+
for various parts of its look and feel. A full list of the properties used throughout can
|
157
|
+
be found in [`/_sass/_oscailte.scss`](./_sass/_oscailte.scss#L40). _Some_ of these
|
158
|
+
properties are generated via SCSS (such as typography), but are still Custom Properties
|
159
|
+
in-browser (not Sass variables).
|
160
|
+
|
161
|
+
## Contributing
|
162
|
+
|
163
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/coogie/oscailte.
|
164
|
+
This project is intended to be a safe, welcoming space for collaboration, and contributors
|
165
|
+
are expected to adhere to the [Contributor Covenant](https://contributor-covenant.org)
|
166
|
+
code of conduct.
|
167
|
+
|
168
|
+
## License
|
169
|
+
|
170
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_includes/comments.html
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
{%- if page.comments != false and site.disqus.shortname and jekyll.environment == "production" -%}
|
2
|
-
<section class="container">
|
3
|
-
<h1 class="SectionTitle">Comments</h1>
|
4
|
-
<div id="disqus_thread" class="Comments"></div>
|
5
|
-
<script>
|
6
|
-
var disqus_config = function () {
|
7
|
-
this.page.url = '{{ page.url | absolute_url }}';
|
8
|
-
this.page.identifier = '{{ page.url | absolute_url }}';
|
9
|
-
};
|
10
|
-
(function() {
|
11
|
-
var d = document, s = d.createElement('script');
|
12
|
-
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
13
|
-
s.setAttribute('data-timestamp', +new Date());
|
14
|
-
(d.head || d.body).appendChild(s);
|
15
|
-
})();
|
16
|
-
</script>
|
17
|
-
<noscript>
|
18
|
-
{{ disqus_enable_javascript }}
|
19
|
-
</noscript>
|
20
|
-
</section>
|
1
|
+
{%- if page.comments != false and site.disqus.shortname and jekyll.environment == "production" -%}
|
2
|
+
<section class="container">
|
3
|
+
<h1 class="SectionTitle">Comments</h1>
|
4
|
+
<div id="disqus_thread" class="Comments"></div>
|
5
|
+
<script>
|
6
|
+
var disqus_config = function () {
|
7
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
8
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
9
|
+
};
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
13
|
+
s.setAttribute('data-timestamp', +new Date());
|
14
|
+
(d.head || d.body).appendChild(s);
|
15
|
+
})();
|
16
|
+
</script>
|
17
|
+
<noscript>
|
18
|
+
{{ disqus_enable_javascript }}
|
19
|
+
</noscript>
|
20
|
+
</section>
|
21
21
|
{%- endif -%}
|
data/_includes/footer.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
<footer class="Site__footer o-circuited">
|
2
|
-
<div class="Container">
|
3
|
-
<p>
|
4
|
-
All content copyright {{ site.author }}<br>
|
5
|
-
<small class="o-muted">Powered by <a href="https://jekyllrb.com/">Jekyll</a>, themed with <a href="https://github.com/coogie/oscailte">Oscailte</a></small>.
|
6
|
-
</p>
|
7
|
-
|
8
|
-
{%- include social.html -%}
|
9
|
-
</div>
|
10
|
-
</footer>
|
1
|
+
<footer class="Site__footer o-circuited">
|
2
|
+
<div class="Container">
|
3
|
+
<p>
|
4
|
+
All content copyright {{ site.author }}<br>
|
5
|
+
<small class="o-muted">Powered by <a href="https://jekyllrb.com/">Jekyll</a>, themed with <a href="https://github.com/coogie/oscailte">Oscailte</a></small>.
|
6
|
+
</p>
|
7
|
+
|
8
|
+
{%- include social.html -%}
|
9
|
+
</div>
|
10
|
+
</footer>
|