ChromeDevTools / debugger-protocol-viewer

DevTools Protocol API docs—its domains, methods, and events
https://chromedevtools.github.io/devtools-protocol/
Other
862 stars 173 forks source link

Tweak title to include domain (but not "tot" version) #149

Closed TimvdLippe closed 4 years ago

TimvdLippe commented 4 years ago

The domainGenerator generates the title for domains in the title field of the return object of data(). As such, we should add the logic to remove tot from the title there.

/tot/ is generated from tot.md per Eleventy's mapping of Markdown files to pages. For more information, see: https://www.11ty.dev/docs/layouts/#front-matter-data-in-layouts

All subpages with the domains are generated by the domainGenerator. For example, all subpages of /tot/ are generated by tot.11ty.js.

Fixes #148

paulirish commented 4 years ago

beautiful. thanks!