Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlainVagner committed Jan 26, 2024
1 parent c0a6391 commit 7c0a5ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ let articles = news.filter(e => { return e.match(/\.md$/)}).map(e => {
function cbfm(fm) {
data.meta = {...data.meta, ...fm}
}
// temporary comment
data.html = newsMarkdownIt(cbfm).render(fs.readFileSync('./content/news/'+e).toString())
$ = cheerio.load(data.html)
data.meta.lang = $('body').children().first().attr('lang')
Expand Down

0 comments on commit 7c0a5ea

Please sign in to comment.