0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/markdown
Peer Beckmann e5ef285e59 Generate meta elements from prelude items description and keywords (#1335)
* Generate meta elements from useful front matters.
Limited to the default template and specific elements.

* Rerun gofmt

* Add "keywords" and remove "language" to/from the list of meta tags.

* Add a simple positive list test for the meta tag generation.

* Move the meta tag list to a var at the begin of the file.
Seperate the Meta tags from the other front matters:
	- Don't override user settings with name `meta`
	- Cleaner Code.

* Remove the uneccessary `[:]` in the []Bytes to String casting.
@mholt was right ;)

* One minor refinement. Combining two statements.
2017-01-22 19:16:38 -07:00
..
metadata Fix for #1276 - support integers and floats as metadata in markdown (#1278) 2016-12-02 23:35:33 -07:00
summary
markdown.go
markdown_test.go
process.go Generate meta elements from prelude items description and keywords (#1335) 2017-01-22 19:16:38 -07:00
process_test.go Generate meta elements from prelude items description and keywords (#1335) 2017-01-22 19:16:38 -07:00
setup.go
setup_test.go Fix for #1276 - support integers and floats as metadata in markdown (#1278) 2016-12-02 23:35:33 -07:00
template.go Generate meta elements from prelude items description and keywords (#1335) 2017-01-22 19:16:38 -07:00