Skip to content

juji-io/site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

juji.io site

A static site generator Eleventy is in use to build this Web site. The template system uses Nunjucks. The online editor for the blog is Netlify CMS.

Local Setup

Install node.js

brew install node

Make sure the version of node is above v14

Running Server Locally

rm -rf _site/*
npm install 
npx @11ty/eleventy --serve

Browse to http://localhost:8080/ to view live update of the site.

Writing Blog Online

Login to https://juji.io/admin using your Juji SSO credential and start writing.

Add Author to Blog

Edit _data/authors.json

Add Category to Blog

Edit _data/categories.json, then edit _includes/blog/partials/nav.njk

Upgrade Software

npm outdated will show the outdated packages

npm update --save/--save-dev update all dependencies to the latest, except eleventy itself.

Manually change version of elventy in package.json, then npm install

Verify eleventy is the latest version npx @11ty/eleventy --version

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •