(context, opts = { preferShort: true })
| 160 | } |
| 161 | |
| 162 | async renderTitle(context, opts = { preferShort: true }) { |
| 163 | return opts.preferShort && this.shortTitle |
| 164 | ? this.renderProp('shortTitle', context, opts) |
| 165 | : this.renderProp('title', context, opts) |
| 166 | } |
| 167 | |
| 168 | async _render(context) { |
| 169 | // use English IDs/anchors for translated headings, so links don't break (see #8572) |
no test coverage detected