Abel Nieva website theme for Jekyll built with inuitcss. You can preview the theme to see what it looks like, or even use it today.
To use the ALNA Jekyll theme:
-
Add this line to your Jekyll site's
Gemfile
:gem "alna-jekyll-theme"
-
And add this line to your Jekyll site's
_config.yml
:theme: alna-jekyll-theme
ALNA jekyll theme will respect the following variables, if set in your site's _config.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]
Additionally, you may choose to set the following optional variables:
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]
If you'd like to add your own custom styles:
- Create a file called
/assets/css/style.scss
in your site - Add the following content to the top of the file, exactly as shown:
--- --- @import "{{ site.theme }}";
- Add any custom CSS (or Sass, including imports) you'd like immediately after the
@import
line
If you'd like to change the theme's HTML layout:
- Copy the original template from the theme's repository
(Pro-tip: click "raw" to make copying easier) - Create a file called
/_layouts/default.html
in your site - Paste the default layout content copied in the first step
- Customize the layout as you'd like
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:
disqus:
shortname: my_disqus_shortname
You can find out more about Disqus' shortnames here.
Comments are enabled by default and will only appear in production, i.e., JEKYLL_ENV=production
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.
To enable Google Anaytics, add the following lines to your Jekyll site:
google_analytics: UA-NNNNNNNN-N
Google Analytics will only appear in production, i.e., JEKYLL_ENV=production
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 code of conduct.
To set up your environment to develop this theme, run bundle install
and npm install
.
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
and _includes
tracked with Git will be released.
The theme is available as open source under the terms of the MIT License.