⚒Anvil
Sign in

clo / cl-site public

closed

News editing 7

opened by common-lisp.net

Mariano Montone (@mmontone) on GitLab, 2018-10-06.

Also, Would it be possible to switch to Markdown for pages which we want to edit more frequently, like the NEWS page?

common-lisp.net changed the description
Ccommon-lisp.net

Mariano Montone (@mmontone) on GitLab, 2018-10-06.

I've implemented a first working version of news generation from Markdown.

Here: https://gitlab.common-lisp.net/mmontone/cl-site/commit/1788e26acf64e9ea06a0a3abb00571e6018f1d85

This is how it works: - A news.md markdown file is parsed with markdown.cl library and transformed to news.html page. - Also, the news box in the index page is generated, displaying only the first paragraph for each piece of news.

This is how the news.md looks like: https://gitlab.common-lisp.net/mmontone/cl-site/blob/1788e26acf64e9ea06a0a3abb00571e6018f1d85/content/news.md

To test this, please clone the 'markdown' branch of my cl-site fork and proceed as usual (run make).

Ccommon-lisp.net

Mariano Montone (@mmontone) on GitLab, 2018-10-10.

This has been merged into master branch: https://gitlab.common-lisp.net/clo/cl-site/commit/92f6005cdb02e87d711bbf3a5d6079c0801c6139

common-lisp.net closed

Sign in to comment.