flexdashboard icon indicating copy to clipboard operation
flexdashboard copied to clipboard

Click on dashboard title to bring back to home page per default

Open rempsyc opened this issue 1 year ago • 0 comments

I would like that clicking on the dashboard title in the navbar brings back to the home page, rather than using a redundant home navbar button.

It is possible to do this using the following jQuery hack after the YAML:

<script>
   document.querySelector(".navbar-header").innerHTML =
            "<a href=\"#home\" class=\"navbar-brand navbar-inverse\">Dashboard Title</a>";
</script> 

Would you consider adding this as a feature?

rempsyc avatar Mar 08 '24 09:03 rempsyc