Closed Reptilioo closed 2 months ago
The title of the page and the title bar at the top of the screen is wrong on some pages by not showing the title of the sutta:
Is the following part at line 330 in index.js useful?
if (openHtml.includes("sutta-title")) { sutta_title = `${root_text[segment] || ""} : ${translation_text[segment]}`; }
If it is not, removing it will fix the problem. I tried removing it and I didn't see any significant change on some other pages.
@Reptilioo Yes I think it can be removed since we have the following line above it:
let sutta_title = sutta_details['title'];
Thanks
The title of the page and the title bar at the top of the screen is wrong on some pages by not showing the title of the sutta:
Is the following part at line 330 in index.js useful?
If it is not, removing it will fix the problem. I tried removing it and I didn't see any significant change on some other pages.