guybarnard / hexo-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexo example website

This repository contains a Hexo website integrated with a DatoCMS site. The site is deployed on Netlify, and can be seen at this URL: https://datocms-hexo-example.netlify.com/

Content stored in a DatoCMS site gets translated into local Hexo files using an npm package called datocms-client you need to add to your Hexo project. The translation rules are defined in file placed in your project root folder called dato.config.js.

To read more about the datocms-client module, please refer to its documentation.

Usage

# install dependencies
npm install

# download latest data from DatoCMS site
dato dump --token=6d71de8571ec5a8d925c83b4a5087813db3242233d187758b6

# build Hexo site!
hexo build

Website preview

Website screenshot

About


Languages

Language:HTML 71.7%Language:JavaScript 28.3%