Similar to browsing in GitHub, but support custom markdown, YAML front matter, Pug and commenting
Similar to browsing on GitHub website, but these are supported.
type: reveal
in YAML front matterSimply clone the repo, and create .env
with
ROOT=<PATH_TO_FOLDER_CONTAINING_DATA_FOLDER>
For example, you might add the repo as a submodule or repo in repo, for easy navigation.
Navigate to the repo, and run yarn serve
or yarn build
To publish to GitHub, you might be interested in gh-pages
gh-pages -d dist
You can edit the config in git-publisher.(json|js|yaml)
, or "gitPublisher"
field in package.json
.
The defaults can be viewed at /default-config.js.
Commenting system is based on https://utteranc.es. To enable it, you will have to
You can also use disqus, by providing "disqus"
field in git-publisher.(json|js|yaml)
.