- blended
- bourbons
- cask-strength
- highland
- islands-peated-smoky
- japan-asia
- lowland-irish
- speyside
- independent
bundle exec jekyll server
- flavors are defined in
_includes/flavor-profile.html
- in
_includes/flavor-profile.html
file, there is an if statement to check all flavors are defined or not. - If not all flavors are defined, it's not visible in the post. This is good for backward compatible for the posts not updated yet or doesn't want to add flavor.
- in the post pages, you can set score for a flavor, e.g.
smoke_peat : 0
. This is the variable name of flavor. - flavor varialble name should be in format
xxx_yyy
. Actual flavor name displayed in the website is defined between<p>
tags in file_includes/flavor-profile.html
- Currently there are 4 flavors defined.
- If you just want to change the display name for a flavor, you can update the flavor name for that flavor in
_includes/flavor-profile.html
file between<p>
tags. - If you want to update flavor variable name, follow these steps;
- update each flavor variable name
smoke_peat
tosmoke_bitter
in_includes/flavor-profile.html
- update every post's(that has flavors under
_posts
folder) header section with new name, likesmoke_bitter
.
- update each flavor variable name
- Best practise is using flavor variable name and display name align to maintain easily for future and also to understand code easily.
- in file
_layouts/default.html
, there are 2link
lines before</head>
tag close.- update those 2 lines with what google font page offers.
- in file
assets/css/theme.scss
, there are some lines starting withfont-family:
.- update those lines with what google font offers under
CSS rules to specify families
section
- update those lines with what google font offers under
- In the file
_layouts/default.html
, there is a code line for listing categories<li><a href="{{ site.baseurl }}/categories">Categories</a>
- Under the categories line, there is a list of categories. You can copy paste of on the line and add yours like;
<li class="sub"><a href="{{ site.baseurl }}/new-category">New Category</a></li>
- in the a tag's href section,
new-category
is the url suffix for the category, no uppercase or space should be used, hyphen to separate words.New Category
wording is the title, will be visible on the website.
- Now, you need to create the
new-category.html
page on the root folder. To do that, copy and paste one of the existing category file likehighland.html
.- Rename the copy-paste file with the
new-category.html
- Within the
new-category.html
file;- update line 2: title to new title what you want. Try to stick to the same wording for less confusion for end users.
- update line 3: permalink to what you want. Try to stick to the same wording for less confusion for end users.
- update line 8: Span value to correct title, Capital first letters.
- update line 14:
{% for post in site.categories.highland %}
to{% for post in site.categories.new-category %}
- Rename the copy-paste file with the