13 Commits

Author SHA1 Message Date
Steve Lathrop
2f3a9d1e08 docs: Document display_url.
* Add contributor

* Document the display_url setting

* Fix typo in pattern example

* Locate Display URL doc section appropriately
2018-04-11 08:13:53 -06:00
Brian Macdonald
6b77aee214 Allow setting config URL with <link> (#1146)
* fix: allows for valid config types expansion

* feat: config url can now come through link tag

* fix: lints added coded

* fix: slims down code per review

* fix: expands query to find supported type

* fix: removes typo in test copy

* fix: changes validTypes to object

* fix: groups config functions into one getConfig func

* adds console message for config url

* adds to docs

* update docs

* fix test

* fix merge conflicts

contributor addition moved to #1241

* avoids empty path with link without href. changes link console message

* removes additional console

* fixes link path in console

* fix: remove superfluous .allcontributorsrc change
2018-04-10 13:48:04 -07:00
S. Suzuki
100f56220c Feature Reuest: Append slug: hour, minutes, secounds (#1207) 2018-04-05 08:16:18 -06:00
Jeremy Bise
1e9b666baf 949 document hide preview by default (#1219)
* document config option to hide preview by default

* document config option to hide preview pane by default

* revise wording to specify preview disables entirely for a collection

* adjust wording of editor section to be more consistent with other settings
sections

* add note about defaulting to true
2018-04-03 12:46:10 -07:00
Caleb
cd10a713d8 Add option to strip Unicode from entry filenames (#1135) 2018-03-27 18:56:10 -04:00
Josh Dzielak
cc60dc9aa9 Improve readability of docs for extension field 2018-03-27 10:42:51 -06:00
Caleb
d10f97f561 Allow different beginning and ending frontmatter delimiters. 2018-02-21 17:01:13 -05:00
Pedro Duarte
49894d9fd9 Add label_singular to collection config (#1086) 2018-02-19 09:00:52 -08:00
Swieckowski
afce6abbc2 Custom delimiters (#1064)
* frontmatter functions now exported as curried constructors

* changed formats.js to accomodate frontmatter.js changes

* can only use custom delimiters if format is specified

* reverting changes

* updated tests to reflect changes

* created tests for custom delimiters

* updated docs to reflect addition of custom delimiter configuration

* formatByExtension no longer takes custom delimiter

* missed some formatByExtension calls

* Edited the docs according to suggestions

* Throws an error if a custom delimiter is set without declaring frontmatter format

* Throws error if custom delimiter set without explicit and proper frontmatter format being declared

* example config file set to proper defaults

* moved frontmatterFormats to formats

* Update .all-contributorsrc

* updated contributions

* Clarify docs
2018-02-08 18:04:42 -07:00
Caleb
756d562c66 Support writing frontmatter in multiple formats (#933)
* Format JSON files.

Currently we store JSON as a single line in files. We should prettify it
like we do the other formats.

* Add output parsers to the frontmatter list.

* Cleanup frontmatter format parser options.

* Support writing frontmatter in TOML and JSON.

Right now we can read TOML or JSON frontmatter by inferring,
but we can only write frontmatter in YAML. This change allows the
frontmatter format to be explicitly set for reading and writing.

* Fix frontmatter formatter.

* Update Frontmatter formatter tests.

* Update frontmatter format docs.
2018-01-29 17:35:36 -05:00
Edward Betts
24307e3c3c Correct spelling mistakes. (#898) 2017-12-11 17:16:24 -08:00
Jessica Parsons
b370929087
Minor docs fixes (#894)
* Update links

Update test-drive and quick-start references
Change relative links to absolute so they work in GitHub repo view

* Regain paragraph margins

Adding back the bottom margin had no effect on landing page, except a 16px legnth increase in the hero and editor sections. Offset by reducing the variable that set their margin/padding by the same amount.
2017-12-07 13:27:33 -08:00
Jessica Parsons
bee768e1e1
Add configuration options doc (#885)
* Add collections options doc
* Move Editorial Workflow page; transfer content to config and architecture docs
2017-12-07 09:52:03 -08:00