Skip to content

shkolyar/hexo-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 71.7%
  • JavaScript 28.3%