TryGhost / docs

Ghost's official documentation
https://docs.ghost.org
MIT License
112 stars 80 forks source link

Swap {{lang}} -> {{@site.lang}} #89

Closed ErisDS closed 5 years ago

ErisDS commented 5 years ago

Site language is a setting exposed via the {{@site}} object as {{@site.lang}}. When added, this was overlooked and an extra special helper was added that does the same thing.

We decided to deprecate the extra custom helper in favour of the simpler option. This updates the docs to do this. The property will be removed in 3.0.

ErisDS commented 5 years ago

Remade PR from branch here, as fork is causing build to fail. Probably need to rethink the whole idea of having api docs in a submodule at some point.

netlify[bot] commented 5 years ago

Deploy preview for tryghost ready!

Built with commit 42c00f5b65a6a7e072e0630b632b32eddf363954

https://deploy-preview-89--tryghost.netlify.com

JohnONolan commented 5 years ago

Probably need to rethink the whole idea of having api docs in a submodule at some point.

Yeah. It absolutely does not work.