This repo is forked from mume, adapted to bloging
- added index.ts, changed the main entry in package.json to it.
- added mume-blog.ts
- added blog-engine.ts, which is a modification copy of markdown-engine.ts
- added to changed: needToCopy/, bin/, package.json
npm install -g git+https://github.com/keenguy/wret.git
- Prepare files
- src/: md source directory
- assets/: css files, images
- CNAME
- _config.yml
- Use
wret i
to initialize _config.yml if needed - Three fields: title, copyFiles, deploy are needed. (May be empty)
- srcDir, buildDir are defaulted to be 'src' and 'docs' respectively.
- Use
-
Build the blog:
wret b
-
Push to github
wret d
-
Other commands:
wret help
wret copy
Copy two things to buildDir: 1. built-in assets 2. files specified in the 'copyFiles' field of _config.ymlwrep less
Compile less files in 'assets/css/'wret note
Generate htmls in buildDir using md files in srcDir
2017-10-10 Changed module name mume-blog to wret, implemented _config.yml
2017-09-09 Integrated all notes-independent functions to mume-blog
2017-09-05 Integrated main code into @keenguy/mume-blog
2017-09-04 added pagenator; optimized index assembly, listing items in order; rewrite index.js and gulpfile.js;
2017-08-24 added font-awesome, ribbon, made some js opt, took some notes
2017-08-23
Added some icons (e.g. folder, tag). Implemented gulp automation. Solved puml doesn't exit problem. Added some metadata. Changed some css (e.g. toc).
2017-08-22
Added file-brower-like navigation. Auto generate index files for sub folders. Changed mume module:
- move toc-btn to top (change css)
- add callback to htmlExport function in markdown-engine.js.
2017-08-21
Implemented html exporting in batch using mume. Set up blog on github.
- font-awesome icons doesn't work in vscode preview .
- project layout
- search functionality
- comment module
- footer with flexible templating
- improve the layout of index page.
- optimize for mobile
- travis CI deployment
- improve UI (e.g. index of sub folders).
- generate subfolder index automatically
- add header or back links on each page automatically.
- metadata
- implement auto flow using gulp
- font-awesome icons (only for blog export)