antwarjs / antwar

A static site generator built with React and Webpack.
https://antwar.js.org/
MIT License
460 stars 35 forks source link

Site descriptions render unprocessed markdown #121

Closed webdesserts closed 7 years ago

webdesserts commented 7 years ago

Right now it seems that the descriptions on the "index" pages of the site are rendering unprocessed markdown. The site could truncate the articles based on word count, but you would still need to deal with images, lists, and other html oddities. Rather than figuring out how to truncate these oddities, I would suggest that each article has a short description in the yaml metadata.

screenshot

bebraw commented 7 years ago

Yeah, good idea. Either that or pushing the content through remove-markdown would do the trick.

bebraw commented 7 years ago

This should be fixed now. Just waiting GitHub pages to get out of maintenance mode.

bebraw commented 7 years ago

Ok, https://antwar.js.org/docs/ .