Skip to content

Commit

Permalink
add feed_show_tags option
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Sep 1, 2020
1 parent a0b2cce commit b492d72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ One of the major changes in this version is that a lot of time was spent on reth
- Added `head-extra` YAML option which i s similar to `footer-extra` but is used to include custom HTML code in a page's `<head>` tag
- Added `full-width` YAML option to allow having full-width pages
- Added `feed_show_excerpt` config option to show/hide the post excerpts on the feed page
- Added `feed_show_tags` config option to show/hide the list of tags on post previews on the feed page
- When `nav-short` is turned on, the avatar will also be shorter
- Fixed rendering issues with `nav-short` option that caused the body of the page to start too low
- Improved the `footer-extra` YAML option to support multiple files instead of only a single file
Expand All @@ -22,6 +23,7 @@ One of the major changes in this version is that a lot of time was spent on reth
- Changed the behaviour of `site-css` to include site-wide CSS file **before** page-specific files
- Renamed internal css/js files from "main" to "beautifuljekyll" to make it easier for users to troubleshoot
- Added alt text to all images for better accessibility
- Fixed some CSS styles that broke during the bootstrap 4 migration (#716)

## v4.1.0 (2020-08-08)

Expand Down
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ excerpt_length: 50
# Whether or not to show an excerpt for every blog post in the feed page
feed_show_excerpt: true

# Whether or not to show a list of tags below each post preview in the feed page
feed_show_tags: true

# The keywords to associate with your website, for SEO purposes
#keywords: "my,list,of,keywords"

Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h3 class="post-subtitle">
</div>
{% endunless %}

{% if post.tags.size > 0 %}
{% if site.feed_show_tags != false and post.tags.size > 0 %}
<div class="blog-tags">
Tags:
{% for tag in post.tags %}
Expand Down

0 comments on commit b492d72

Please sign in to comment.