Skip to content

wenxijuji/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

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

About

The source of Juji Web site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.9%
  • CSS 27.5%
  • Nunjucks 9.6%
  • Other 1.0%