diff --git a/resources/docs/extra/scripts.js b/resources/docs/extra/scripts.js new file mode 100644 index 00000000..6c4e469d --- /dev/null +++ b/resources/docs/extra/scripts.js @@ -0,0 +1,17 @@ +document.addEventListener('DOMContentLoaded', ()=>{ + + if (window.location.hash) { + // show target in tabs/details + document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){ + var tab = item.closest('.tabbed-content'), + details = item.closest('details') + if (tab) tab.previousSibling.click() + if (item) { + item.scrollIntoView() + document.documentElement.scrollTop -= 70 + } + }) + } + + +}) diff --git a/resources/images/logo_discourse.png b/resources/images/logo_discourse.png index 4aa86f41..db8096b2 100644 Binary files a/resources/images/logo_discourse.png and b/resources/images/logo_discourse.png differ