New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jakyll

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jakyll

Node.js Jekyll alternative

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

Jakyll.js

Jakyll.js is a Jekyll alternative built with TypeScript & Node.

Install

npm install jakyll

Run in development mode

jakyll -dev

Development mode serves the site on the fly, generating pages on the fly.

Run in production mode

jakyll -start

Creates a purely static copy of the site to the build directory and runs it locally.

Deploy

jakyll -deploy

Creates a purely static copy of the site to the build directory and contents to the gh-pages branch and pushes an update.

Project structure

Your jakyll.js powered repo needs three directories:

  • /content
  • /static
  • /templates

/static

Contains static files. e.g. images, js (client side), css, etc. Files in this directory will be served at root path /.

/templates

Contains the handlebars.js templates.

The templates/default.html file is required as it's the default template.

/content

Contains the files for which pages are built from. The file structure in this directory directly results in the site's structure. Can include the html, handlebars.js templates, markdown, or txt files.

The content/index.html file is required as it's the root page of your site.

For example:

Content File PathBrowser URL PathStatic File Path Builds
index.html//index.html
blog/index.html/blog/blog/index.html
blog/post-title.md/blog/post-title/blog/post-title/index.html
about/index.html/about/about/index.html
about/people.txt/about/people/about/people/index.html
Meta Header

Content files may optionally contain a meta header. This is similar to jekyllrb front-matter.

---
template: post
title: Norfolk.js meetup kickoff
tags: javascript, meetup, norfolk
published: true
excerpt: The kickoff meetup for the Norfolk.js group.
---

The only property that jakyll.js uses is the template property. If not set the default template is used (default.html). All the values in the header can be used in the handlebars templates.


Made with  ❤️  by iambriansreed.

FAQs

Package last updated on 19 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc