Jekyll Postfiles screenshot

Jekyll Postfiles

Author Avatar Theme by Nhoizey
Updated: 2 Oct 2020
129 Stars

A Jekyll plugin that copies static files from the _posts to the _site folder

Overview

The Jekyll Postfiles Gem is a plugin that eases the management of images and other files attached to Markdown posts. It addresses the pain points of Jekyll’s recommended posts assets management by providing a simpler and more organized approach.

Features

  • Eases the management of images and other files attached to Markdown posts
  • Provides a more intuitive way to deal with static files
  • Simplifies the process of including images and resources in Markdown files
  • Allows for easy updates and changes to file names
  • Supports previewing the content while editing

Installation

To install the Jekyll Postfiles Gem, follow these steps:

  1. Add the gem to your site’s Gemfile:
gem 'jekyll-postfiles'
  1. Run the following command to install the gem:
bundle install
  1. Add the following code to your site’s _config.yml file:
plugins:
  - jekyll-postfiles
  1. Save your posts’ files in a designated folder, such as assets/attachments/.

  2. Use the plugin’s specified format for linking files in your Markdown posts.

Summary

The Jekyll Postfiles Gem is a valuable plugin for Jekyll users who want to simplify the management of files and images attached to Markdown posts. By providing a more intuitive approach, it addresses the pain points of Jekyll’s recommended posts assets management. With easy installation and usage instructions, this plugin offers improved efficiency and organization for Jekyll site development.