A future static generator for tessel.io using hexo for static page structure and Netlify for hosting/continuous deployment.
Each time master
is updated the Netlify page at http://tesselwww.netlify.com/ gets updated.
To develop on and serve the website, inside your local directory of tesselwww run:
npm install
npm start
Files to modify:
source/
— Handlebar (.hbs) or Markdown (.md) content for each page on the website.source/_posts/
— Blog posts in Markdown format.
To also modify page layout or stylesheets, run this in another terminal (also inside your local tesselwww directory):
cd theme/
npm install
grunt watch
(If your shell indicates grunt
is not installed, run npm i -g grunt-cli
first.)
Files to modify:
theme/layout/
— Handlebar layout templates for the website.theme/source/scss/
— Sass stylesheets for the whole site.theme/source/scss/shared/
— Sass stylesheets for common components.theme/source/scss/pages/
— Sass stylesheets for individual pages.
These are the other files included in the Hexo structure:
_config.yml
— Hexo configuration.public/
— Generated website files.scripts/
- Build scripts for Hexo (see the Hexo reference for details).theme/_config.yml
— Theme and layout configuration (incl. which tabs to show in the header)theme/source/css/
— Generated CSS files from thegrunt
step.theme/source/font/
— Font files.
CC-BY-SA