mirror of https://github.com/gogits/gogs.git
Browse Source
Uses the page parser from Hugo, which supports yaml, toml, and json, to seperate frontmatter from content. In the case of an error, the page is constructed as if no parsing was done. Uses `github.com/barracks510/go-table` to convert from page metadata to HTML tables. go-table was written specifically for this use case. Resolves #2931. Signed-off-by: Dennis Chen <barracks510@gmail.com>pull/4643/head
Dennis Chen
7 years ago
1 changed files with 17 additions and 3 deletions
Loading…
Reference in new issue