Skip to content

MimiLau/Basic-html-project-in-Jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Compile jade in to html
  • grunt blog to blog

Usage

To Start server

npm start

and go to http://localhost:3001

To auto compile .scss and .js from src to assets folder:

grunt watch

To start blogging

grunt blog

will ask you the blog post, please don't left any space, i.e. first-post then the README,md will pop out by atom, save it and you will see the blog appear in homepage.

To convert jade into html:

(To do)

To publish the blog

(To do)

To Do list

Bug fixing

  • postcss cannot use --> disable now
  • stylelint is annoying --> disable stylelint atom plugin now
  • read markdown include:marked is red dot in atom editor --> In order to apply the transform markdown you must install one of "marked","supermarked","markdown-js","markdown"
  • .sass-cache folder is created --> Sass cache files speed up compilation based on whether a Sass file has changed since last compile.
  • grunt jade has error

To-do

  • 404 page redirect
  • blog post listed order by date
  • convert .jade to .html
  • publish to username.github.io
  • when input blog name, convert space into -

Changelog

18-4-2016

  • the config of stylelint was missing. Adding back the .stylelintrc.json, postcss now works with stylelint.

14-4-2016

  • redirect to 404 page if no such post

13-4-2016

  • gitignore the .html

About

html write by jade, js , scss

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published