No need to use JS modules just embed the data in timestamps.js

This commit is contained in:
Kovid Goyal
2023-05-31 20:56:22 +05:30
parent 2b3865f74e
commit bf2c29ad4f
3 changed files with 113 additions and 115 deletions

View File

@@ -157,7 +157,7 @@ html_theme_options: Dict[str, Any] = {
html_static_path = ['_static']
html_favicon = html_logo = '../logo/kitty.svg'
html_css_files = ['custom.css', 'timestamps.css']
html_js_files = ['custom.js', ('timestamps.js', {'type': 'module'})]
html_js_files = ['custom.js', 'timestamps.js']
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.