Giter VIP home page Giter VIP logo

cmdtree's Introduction

沉默的大树(cmdtree)

Build Status

个人博客&&静态博客生成器

这是一个基于Node.js的Markdown静态博客生成器。

使用方法

一、克隆我这个仓库

git clone https://github.com/rhatyang/cmdtree.git

二、修改信息

全局配置文件为config.json,在里面替换为你的相关信息,如站点信息,分类信息等

三、替换文件

可在config.json中自定义相关目录,如我将文章放在source/post下,页面放在source/page下,替换为你自己的即可,将图片放置于pics目录中,生成的静态资源位于public目录下。

四、主题

本博客系统使用art-template模板系统解析,可使用传统模板语法{{ }}或者高级语法<%- %>(类似EJS)编写主题,具体变量可参考lib/template/data.js文件,自己写一款主题相当方便!

五、部署

生成为静态文件后,随便你部署在哪都行。

最省钱也是推荐的方法是部署在Github Pages。使用Travis CI自动部署Github Pages - 沉默的大树

cmdtree's People

Contributors

yy16 avatar

Watchers

haoht avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.