Documentation
Installation
I’d strongly recommend you to fork accent and use the “upstream” strategy described on this page to keep accent up to date.
If you don’t want to do that, just clone accent and use
in the root of the accent directory, or, simply download accent.
Customization
You can edit the variables in _config.yml
as per your needs. Edit only the variables under the section marked User Settings.
Most of the variables are self explanatory. Notes about few of the non obvious ones:
-
You can change the hex value of the variable
$accent-color
in_sass/_style.scss
to any color value that you want. This will change the accent of the theme. -
Set
intro
totrue
to reveal a short bio section on the index page. -
Setting
about_footer
to true or false will turn theabout
section at the bottom of every post to on or off respectively. -
description
is the summary that will show up in places like facebook thumbnails, twitter cards and google search results.
Note: Don’t change any variable under Build Settings.
Usage
- To create a new post, simply save the
.markdown
file in the_posts
directory in the format.
-
For Syntax highlighting, accent uses Rouge which is the default highlighter in Jekyll 3 and above. If you don’t know how to highlight a code block, refer.
-
To set up Google Analytics tracking id, just set the
tracking_id
variable in_config.yml
. -
For comments, accent uses Disqus. To set comments on your site, just paste the universal code in
_includes/disqus.html
.
License
MIT. Copyright © Ankit Sultana