jekyll-postfiles | Jekyll plugin that copies static files | Plugin library
kandi X-RAY | jekyll-postfiles Summary
kandi X-RAY | jekyll-postfiles Summary
A Jekyll plugin that copies static files from the _posts to the _site folder
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jekyll-postfiles
jekyll-postfiles Key Features
jekyll-postfiles Examples and Code Snippets
Community Discussions
Trending Discussions on jekyll-postfiles
QUESTION
I'm using jekyll-postfiles plugins to make my life easier. This plugin allows me to have static content in subfolders for my blog posts. For example:
...ANSWER
Answered 2018-Nov-20 at 15:04It is not clear to me why the front matter should contain a variable.
In most cases you do not need variables in the front matter. I think that this is also the case in your situation. I would move the front matter variable to the layout file. Thus, the layout file should look like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jekyll-postfiles
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page