Skip to content

An Hexo.js module for content consumption from an API that provides posts, articles, and etc, from an JSON restful Service.

License

Notifications You must be signed in to change notification settings

tverney/hexo-content-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-content-api

An Hexo.js module for content consumption from an API that provides posts, articles, and etc, from an JSON restful Service.

#Instalação

Adicione os seguintes atributos ao seu projeto Hexo

netzei: token: url:

Crie o arquivo api.config.js e adicione as seguintes informações

"use strict";

var hexoApi = require('hexo-content-api'), Hexo = require('hexo'), hexo = new Hexo(process.cwd(), {});

hexo.init().then(function(){ hexo.load().then(function(){ hexoApi.sync(hexo); }); });

#Rodar

node api.config.js

About

An Hexo.js module for content consumption from an API that provides posts, articles, and etc, from an JSON restful Service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published