README.md in alna-jekyll-theme-1.0.0 vs README.md in alna-jekyll-theme-1.0.1
- old
+ new
@@ -1,48 +1,118 @@
-# alna-jekyll-theme
+# The ALNA jekyll theme
-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!
+[![Build Status](https://travis-ci.org/abel-nieva/alna-jekyll-theme.svg?branch=master)](https://travis-ci.org/abel-nieva/alna-jekyll-theme) [![Gem Version](https://badge.fury.io/rb/alna-jekyll-theme.svg)](https://badge.fury.io/rb/alna-jekyll-theme)
-TODO: Delete this and the text above, and describe your gem
+Abel Nieva website theme for Jekyll built with inuitcss. You can [preview the theme to see what it looks like](https://abelnieva.com), or even [use it today](#usage).
-## Installation
+![Screenshot of alna-jekyll-theme](screenshot.png)
-Add this line to your Jekyll site's `Gemfile`:
+## Usage
-```ruby
-gem "alna-jekyll-theme"
+To use the ALNA Jekyll theme:
+
+1. Add this line to your Jekyll site's `Gemfile`:
+
+ ```ruby
+ gem "alna-jekyll-theme"
+ ```
+
+2. And add this line to your Jekyll site's `_config.yml`:
+
+ ```yaml
+ theme: alna-jekyll-theme
+ ```
+
+## Customizing
+
+### Configuration variables
+
+ALNA jekyll theme will respect the following variables, if set in your site's `_config.yml`:
+
+```yml
+title: [The title of your site]
+subtitle: [The subtitle of your site]
+description: [A short description of your site's purpose]
+twitter_username: [Your twitter user name]
+author:
+ name: [The author name of your site]
+ avatar: [The url author avatar]
+ avatar2x: [The url author avatar@2x]
+ avatar_alt: [The author avatar alt]
+ bio: [A short author bio]
```
-And add this line to your Jekyll site's `_config.yml`:
+Additionally, you may choose to set the following optional variables:
+```yml
+about: [A short description about your site]
+copyright: [The copyright of your site]
+social_media:
+ - name: [The social media name as twitter, facebook and github]
+ link: [The social media url]
+```
+
+### Stylesheet
+
+If you'd like to add your own custom styles:
+
+1. Create a file called `/assets/css/style.scss` in your site
+2. Add the following content to the top of the file, exactly as shown:
+ ```scss
+ ---
+ ---
+
+ @import "{{ site.theme }}";
+ ```
+3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
+
+### Layouts
+
+If you'd like to change the theme's HTML layout:
+
+1. [Copy the original template](https://github.com/abel-nieva/alna-jekyll-theme/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
+2. Create a file called `/_layouts/default.html` in your site
+3. Paste the default layout content copied in the first step
+4. Customize the layout as you'd like
+
+### Enabling comments (via Disqus)
+
+Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
+
+To enable it, add the following lines to your Jekyll site:
+
```yaml
-theme: alna-jekyll-theme
+disqus:
+ shortname: my_disqus_shortname
```
-And then execute:
+You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
- $ bundle
+Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
-Or install it yourself as:
+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.
- $ gem install alna-jekyll-theme
+### Enabling Google Analytics
-## Usage
+To enable Google Anaytics, add the following lines to your Jekyll site:
-TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
+```yaml
+google_analytics: UA-NNNNNNNN-N
+```
+Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
+
## Contributing
-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.
+Bug reports and pull requests are welcome on GitHub at https://github.com/abel-nieva/alna-jekyll-theme. 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.
## Development
-To set up your environment to develop this theme, run `bundle install`.
+To set up your environment to develop this theme, run `bundle install` and `npm install`.
-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.
+To test your theme, run `npm start` 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.
-When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
+When your theme is released, only the files in `_layouts` and `_includes` tracked with Git will be released.
## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
-