1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Revert "Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)" (#17799)

* Revert "Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)"

This reverts commit 11baf43eee.

* Move revalidator to depedencies
This commit is contained in:
Jason Etcovitch
2021-02-11 11:15:59 -05:00
committed by GitHub
parent cfbcfad1f2
commit e68e6a5185
14 changed files with 313 additions and 27 deletions

View File

@@ -3,7 +3,7 @@
const fs = require('fs')
const path = require('path')
const walk = require('walk-sync')
const frontmatter = require('@github-docs/frontmatter')
const frontmatter = require('../lib/read-frontmatter')
const contentPath = path.join(process.cwd(), 'content')
const dataPath = path.join(process.cwd(), 'data')