π Pinned Post
Left Sidebar Featured Images
Featured Images (Left Sidebar)
Display clickable promotional images, book covers, or favorite photos in the left sidebar on desktop screens.
How to Add Featured Images
-
Add Your Image
Place your image in the
assets/images/featured/folder:assets/ βββ images/ βββ featured/ βββ book-cover.jpg βββ promo-banner.png βββ portfolio-photo.jpg -
Edit the Configuration File
Open
_data/featured-images.ymland add an entry:- image: /assets/images/featured/book-cover.jpg link: https://amazon.com/yourbook alt: "My New Book - Available Now!" - image: /assets/images/featured/promo-banner.png link: https://yourwebsite.com/promo alt: "Special Promotion" -
Rebuild & Upload
bundle exec jekyll buildUpload the updated
_site/contents to your host.
Configuration Options
| Field | Description | Example |
|---|---|---|
image |
Path to your image file | /assets/images/featured/photo.jpg |
link |
URL when image is clicked | https://yourwebsite.com |
alt |
Caption text displayed below image | βCheck out my latest work!β |