simplicity 0.0.12 → 0.0.13

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: c2a60d25e7e6b7ddcda966c99042fd296ff89760
4
- data.tar.gz: ff5cfdc2d2e04799e1998040af8a3d60eb1c9f57
3
+ metadata.gz: 403a5e7f5226a5a7f72209e56769ca1d95800474
4
+ data.tar.gz: 24d24c650851f8f8ccbf22aaa77813c372865242
5
5
  SHA512:
6
- metadata.gz: 9ba29b624c2cef33ef4f6b6e4d29ac38a75c32ecb48d991da6badc69b4e6e80eb16249725a2c6609a60e0afe3f43588ff78140c01d66382ee14441c1a40aa28b
7
- data.tar.gz: 1e76c5baa143e545c52bb34cd9ee4d7d55b667d3394c619ab8eaa9c9122402207010aed4d4be9fb7991c08d153282aa6eab70c2e1837ad54656ac88c3e8e5b84
6
+ metadata.gz: a1f09125754c3342b4a2dd0638bec05a02ae4292e218f4552d9f265070199e3bff0c0d94f45dea97369a838d65cead2325d06829f27187ce4147e5fb27994cf6
7
+ data.tar.gz: c46cab395b188351a1fc2ab21e51acc105c1b8a37b72915e757cb3120b1226ae87c825a89a09d92d03a3b3a1be8bd5069281445a446534742ad5c6f06235b652
data/README.md CHANGED
@@ -1,48 +1,49 @@
1
1
  # simplicity
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
3
+ [Theme preview](https://bananaappletw.github.io/)
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ ![simplicity theme preview](/demo.gif)
6
6
 
7
7
  ## Installation
8
8
 
9
- Add this line to your Jekyll site's `Gemfile`:
10
-
11
- ```ruby
12
- gem "simplicity"
9
+ ```bash
10
+ git clone https://github.com/bananaappletw/simplicity/ [your_github_username].github.io
11
+ cd [your_github_username].github.io
12
+ bundle install
13
+ jekyll serve
13
14
  ```
14
15
 
15
- And add this line to your Jekyll site's `_config.yml`:
16
-
17
- ```yaml
18
- theme: simplicity
19
- ```
16
+ ## Usage
20
17
 
21
- And then execute:
18
+ ### Enabling comments (via Disqus)
22
19
 
23
- $ bundle
20
+ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
24
21
 
25
- Or install it yourself as:
22
+ To enable it, add the following lines to your Jekyll site:
26
23
 
27
- $ gem install simplicity
24
+ ```yaml
25
+ disqus:
26
+ shortname: my_disqus_shortname
27
+ ```
28
28
 
29
- ## Usage
29
+ You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
30
30
 
31
- TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
31
+ Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
32
32
 
33
- ## Contributing
33
+ 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.
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
+ --
36
36
 
37
- ## Development
37
+ ### Enabling Google Analytics
38
38
 
39
- To set up your environment to develop this theme, run `bundle install`.
39
+ To enable Google Anaytics, add the following lines to your Jekyll site:
40
40
 
41
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
41
+ ```yaml
42
+ google_analytics: UA-NNNNNNNN-N
43
+ ```
42
44
 
43
- When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
45
+ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
44
46
 
45
47
  ## License
46
48
 
47
49
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
-
@@ -1,5 +1,14 @@
1
1
  <footer id="footer" class="ui inverted segment">
2
+
2
3
  <div class="ui center aligned container">
4
+ <div>
5
+ Theme by
6
+ <a class="item" href="https://github.com/bananaappletw/simplicity/">
7
+ <i class="github icon"></i>
8
+ simplicity
9
+ </a>
10
+ </div>
11
+ <div class="ui inverted divider"></div>
3
12
  <div class="ui inverted horizontal divided link list">
4
13
  {% if site.facebook %}
5
14
  <a class="item" href="{{site.facebook}}">
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplicity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - bananaappletw
@@ -147,6 +147,7 @@ files:
147
147
  - assets/nctustunion.jpg
148
148
  - assets/profile.jpg
149
149
  - assets/safari-pinned-tab.svg
150
+ - assets/simplicity.gif
150
151
  - assets/symgdb.gif
151
152
  homepage: https://github.com/bananaappletw/simplicity
152
153
  licenses: