jekyll-theme-collider 0.1.1 → 0.1.2

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: 148d4b05588184639ec01b744fe7920155379aec
4
- data.tar.gz: 8d30c0b7d0c7ed6390f5a77deed648d0dd24ed0d
3
+ metadata.gz: 2c6cca56b5a53e3246bbe58c77ff4e4d9c968ac3
4
+ data.tar.gz: 0f0cbebbd0ea102f94eea33da80a91ad6e702085
5
5
  SHA512:
6
- metadata.gz: 00fce6b92817a421a9851ed6b61fd52db8649e9ee17e6c697a724e3a5f5fd4a4f4b68c6d4ce3a291ab3982026d670b0a2921ccc760ed872ad9a8882017cdec73
7
- data.tar.gz: 808024120c45c96ed5b303da2d51df494e9c82d8cbbfd76ddf0319daf775679f65d209f8185091aa24ce0adc2968f54f07ae31b9c033ff34630e72881eece7bd
6
+ metadata.gz: e2d886d323734a7c98ec5f4c485ba3aa36637126ac9b56f2758bf8aa2ae7c0ca6c911f213b52aec726f32b68945b97d6c801d3ce2ff44a0850dcd076fbf9ec54
7
+ data.tar.gz: 3aa36249548b994ce9d78a207ab41a2ff0b53b08860bf7a7468ccc43449bd66bbaee17bc83e16ea7b5d80367e25410c3b73f2b3b79729d88d7fdc71285bcb6fd
data/README.md CHANGED
@@ -62,6 +62,8 @@ github_username: [Your GitHub user name]
62
62
  linked_in_profile: [LinkedIn profile url]
63
63
  full_name: [Your username]
64
64
  user_description: [Your description]
65
+ disqus:
66
+ shortname: [Your Disqus shortname]
65
67
 
66
68
  theme: jekyll-theme-collider
67
69
 
@@ -162,13 +164,26 @@ To change the background color of the particles.js canvas on the home page, go t
162
164
  }
163
165
  ```
164
166
 
167
+ ## About page customization
168
+
169
+ If creating a local copy of the site, simple modify the HTML and text in `_layouts/about.html`. When using the gem theme, create a new `_layouts` directory with an `about.html` file inside that use the following front matter:
170
+ ```
171
+ ---
172
+ layout: default
173
+ ---
174
+ ```
175
+ You may put whatever HTML and text you'd like below.
176
+
177
+ ## Customizing particles.js
178
+
179
+ To customize particles.js, such as the shape and size of the particles, you'll need to edit `assets/js/app.js`. If using the theme gem, you'll need to create this file and override with your own settings. Since this customization is outside the scope of this readme, I recommend learning more on the particles.js [GitHub page](https://github.com/VincentGarreau/particles.js/).
180
+
165
181
  ## Contributing
166
182
 
167
183
  Bug reports and pull requests are welcome on GitHub at https://github.com/ryancolorcafe/jekyll-theme-collider. 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.
168
184
 
169
185
  ## Future projects
170
186
 
171
- * Add comments to posts using Disqus
172
187
  * A portfolio/work page using CSS Grid
173
188
  * Search bar for articles in blog
174
189
  * Modular scale typography
@@ -0,0 +1,16 @@
1
+ {% if page.comments != false %}
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = '{{ page.url | absolute_url }}'; // Replace PAGE_URL with your page's canonical URL variable
6
+ this.page.identifier = '{{ page.url | absolute_url }}'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
7
+ };
8
+ (function() { // DON'T EDIT BELOW THIS LINE
9
+ var d = document, s = d.createElement('script');
10
+ s.src = 'https://{{site.disqus.shortname}}.disqus.com/embed.js';
11
+ s.setAttribute('data-timestamp', +new Date());
12
+ (d.head || d.body).appendChild(s);
13
+ })();
14
+ </script>
15
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
16
+ {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-collider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
+ - _includes/disqus_comments.html
92
93
  - _includes/header.html
93
94
  - _includes/pagination.html
94
95
  - _layouts/about.html