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 Every package has a test 2016-06-21 00:11:55 -06:00
markdown_test.go Migrate remaining middleware packages 2016-06-05 22:39:23 -06:00
markdown.go Remove dead code, do struct alignment, simplify code 2016-10-25 19:19:54 +02:00
process_test.go Generate meta elements from prelude items description and keywords (#1335) 2017-01-22 19:16:38 -07:00
process.go Generate meta elements from prelude items description and keywords (#1335) 2017-01-22 19:16:38 -07:00
setup_test.go Fix for #1276 - support integers and floats as metadata in markdown (#1278) 2016-12-02 23:35:33 -07:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
template.go Generate meta elements from prelude items description and keywords (#1335) 2017-01-22 19:16:38 -07:00