Yeoman generator for Liveblog 3 Theme
JavaScript Makefile CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators/app
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
.yo-rc.json
README.md
package.json

README.md

generator-liveblog-theme

Yeoman

The generator allows you to easily create and scaffold your own liveblog themes.

Getting Started

First some dependencies need to be installed:

npm install -g yo generator-liveblog-theme

Then, initiate the generator inside an empty working directory

mkdir my-fantastic-theme
cd my-fantastic-theme
yo liveblog-theme

Here is the resulting directory structure of your new theme:

my-fantastic-theme $ ls   
▕ drwxr-xr-x▏32 sec │   4K│less
▕ drwxr-xr-x▏<  sec │  20K│node_modules
▕ drwxr-xr-x▏32 sec │   4K│templates
▕ -rw-r--r--▏32 sec │ 322B│Makefile
▕ -rw-r--r--▏32 sec │  95B│gulpfile.js
▕ -rw-r--r--▏32 sec │   1K│package.json
▕ -rw-r--r--▏32 sec │   4K│theme.json

You can now start your theme development server with:

gulp watch-static

Custom theme allow you to do two different things:

  • Extend templates, by creating your own template following this naming convention inside the templates/ directory
  • Create your own css. Just a file with the .less extension inside the less/ directory, and this one will automatically be appended at the end of the existing CSS.

License

MIT