diff --git a/README.md b/README.md index 16031a4..f640d38 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ Parameter | Description ----------- | ----------- readtime | If you want a post to show how many minutes it will take to read it, use `readtime: true`. show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`. -image | If you want to add an image to your blog post that will show up next to the post's excerpt on the feed and in the post page itself, use `image: /path/to/img`. +thumbnail-img | For blog posts, if you want to add a thumbnail that'll show up next to the post's excerpt in the feed, use `thumbnail-img: /path/to/image`. share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's path or full URL here. social-share | By default, every blog post has buttons to share the page on social media. If you want to turn this feature off, use `social-share: false`. nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true` diff --git a/_includes/nav.html b/_includes/nav.html index f3387d9..1fed7f8 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -33,15 +33,7 @@ - {% if page.image and (layout.show-avatar or page.show-avatar) %} -
-
- - Navbar avatar - -
-
- {% elsif site.avatar and (layout.show-avatar or page.show-avatar) %} + {% if site.avatar and (layout.show-avatar or page.show-avatar) %}
diff --git a/_layouts/home.html b/_layouts/home.html index d4dad07..f48b20a 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -25,10 +25,10 @@ layout: page

- {% if post.image %} + {% if post.thumbnail-img %}
- +
{% endif %} diff --git a/_posts/2020-02-26-flake-it-till-you-make-it.md b/_posts/2020-02-26-flake-it-till-you-make-it.md index 6152e76..2fc26f6 100644 --- a/_posts/2020-02-26-flake-it-till-you-make-it.md +++ b/_posts/2020-02-26-flake-it-till-you-make-it.md @@ -3,7 +3,7 @@ layout: post title: Flake it till you make it subtitle: Excerpt from Soulshaping by Jeff Brown cover-img: /assets/img/path.jpg -image: /assets/img/path.jpg +thumbnail-img: /assets/img/path.jpg share-img: /assets/img/path.jpg tags: [books, test] ---