Giter Site home page Giter Site logo

pigeon's Introduction

pigeon

Why is the pigeon so big

http://aksdj4.am0200.com/

Install

$ npm i @acyort/pigeon -S

Usage

Configuration

more: https://acyort.js.org/docs/configuration/

# config.yml

# required
template: '@acyort/pigeon' # built-in theme
plugin:
  - '@acyort/pigeon'

# optional
favicon: # website favicon
keyword: # website keyword
description: # website description
title: # website title
perpage: 10 # pagination, default 10
menu: # website menu
  archives: /archives/

source: # markdown content path, default `source`

repository: user/repo # use github issues content

Writing

page

---
type: page
title: About
---

page contents ...

post

---
title: 中文
date: 2018-02-14
category: chinese
tags:
  - tt
---

我年幼时就非常爱好读书。(因为)家里贫穷,(所以)没有办法买书来阅读,常常向藏书的人家去借,亲自抄录,计算着日期按时送还。冬天非常寒冷,砚台里的墨汁像冰一样坚硬,手指(冻得)不能弯曲伸直,也不敢懈怠。

<!-- more -->

抄完后,便马上跑去还书,不敢稍微超过约定的期限。因此有很多人都愿意把书借给我,于是我能够遍观群书。到了成年以后,我更加仰慕古代圣贤的学说,又担心没有才学渊博

Build

$ acyort flow

# width acyort-server
$ acyort server

# github token
$ TOKEN=your github token acyort flow

Hooks

Provides 4 hooks

name arguments description
pigeon_after_fetch (issues) after get github issues(only for github issues)
pigeon_after_markdown ([{ name, content }]) after get markdown content
pigeon_before_render ({ archives, posts, pages, ... }) before render html
pigeon_after_render ([{ name, content }], { archives, posts, pages, ... }) after render html

pigeon's People

Contributors

loeify avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.