Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
grunt-jekyll-writer
Advanced tools
This GruntJS plugin allow to use Jekyll as a static blog engine with a custom post files organisation wich allow to save assets within post's source file.
module.exports = function (grunt) {
grunt.initConfig({
'jekyll-writer': {
source: 'articles',
dest: 'jekyll',
assetsPath: 'posts-assets'
}
});
grunt.registerTask('default', ['jekyll-writer']);
grunt.loadNpmTasks('grunt-jekyll-writer');
};
This is where your Writer's sources are stored.
NOTE: read the Writer's folder structure chapter to learn how you can arrange post's sources with Writer.
This is your Jekyll instance folder.
Note: both _posts
and assets
folder will be overridden by Writer process.
It's the name of the folder that will host post's assest in the generated website.
// just copy articles to Jekyll
grunt jekyll-writer
// run a blogging session and serve the blog
grunt jekyll-writer --watch
In Writer each post is represented by a folder so within that folder you can store any post's related assets.
The folder's name will be used as page url by Jekill.
This file contains the Markdown content for your article.
This file contains the Front Matter information for your article.
You can link any article assets from within the article source file using an explicit relative url.
FAQs
allow to write posts sources with embed assets
We found that grunt-jekyll-writer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.