No description or website provided.
CSS JavaScript HTML
Latest commit a4b8a70 Dec 25, 2016 @stefanoverna stefanoverna First commit
Permalink
Failed to load latest commit information.
assets First commit Dec 24, 2016
scripts First commit Dec 24, 2016
source First commit Dec 24, 2016
themes/creative-inc First commit Dec 24, 2016
.gitignore
.nvmrc First commit Dec 24, 2016
README.md First commit Dec 24, 2016
_config.yml First commit Dec 24, 2016
dato.config.js First commit Dec 24, 2016
package.json First commit Dec 24, 2016
webpack.dev.config.js First commit Dec 24, 2016
webpack.prod.config.js First commit Dec 24, 2016
yarn.lock First commit Dec 24, 2016

README.md

Hexo Portfolio Website

This repo contains a working static website written with Hexo, integrated with content coming from a DatoCMS administrative area.

Usage

First, install the dependencies of this project:

yarn install

Then, to run this website in development mode (with live-reload):

yarn start

To build the final, production ready static website:

yarn build

The final result will be saved in the public directory.

About

The goal of this project is to show how easily you can create static sites using the content (text, images, links, etc.) stored on DatoCMS. This project is configured to fetch data from a specific administrative area using the API DatoCMS provides.

This websites uses:

  • Yarn as package manager;
  • EJS as templating language;
  • Webpack to compile and bundle assets (Sass/ES2015 JS);
  • datocms-client to integrate the website with DatoCMS.

The dato.config.js file

To convert the content stored on DatoCMS into local Markdown files that can be digested by Hexo, the datocms-client plugin requires an explicit mapping file called dato.config.js. You can read more about the commands available in this file in the plugin documentation.