Closed paulirish closed 4 years ago
right now the <title> doesn't mention what domain you're looking at. (but the two descriptions do!)
<title>
I wanted to do two things
- version tot
tot
i tried this:
{{#if domain}} <title>Chrome DevTools Protocol {{#if isTot}} {{else}} - version {{{version}}} {{/if}} - {{{domain.domain}}}</title> {{else}} <title>Chrome DevTools Protocol {{#if isTot}} {{else}} - version {{{version}}} {{/if}}</title> {{/if}}
along with this:
However this doesn't always work. (like on http://localhost:8000/devtools-protocol/tot/ ... isTot was undefined)
TBH i can't really follow the data cascade especially with the cool domaingenerator indirection, so I was hoping you could point me in the right direction @TimvdLippe ;)
right now the
<title>
doesn't mention what domain you're looking at. (but the two descriptions do!)I wanted to do two things
- version tot
because essentially this is the default. (but show the version if its nottot
)i tried this:
along with this:
However this doesn't always work. (like on http://localhost:8000/devtools-protocol/tot/ ... isTot was undefined)
TBH i can't really follow the data cascade especially with the cool domaingenerator indirection, so I was hoping you could point me in the right direction @TimvdLippe ;)