# Including page titles, favicon, etc in dash app?

**URL:** <https://community.plotly.com/t/including-page-titles-favicon-etc-in-dash-app/4648>\
**Category:** Dash Python\
**Created:** [June 27, 2017, 12:19pm UTC](https://community.plotly.com/t/including-page-titles-favicon-etc-in-dash-app/4648 "2017-06-27T12:19:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![nedned](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nedned/32/8795_2.png) [@nedned](https://community.plotly.com/u/nedned)\
**Post date:** [October 30, 2017, 11:16pm UTC](https://community.plotly.com/t/including-page-titles-favicon-etc-in-dash-app/4648/6 "2017-10-30T23:16:28Z")

</div>

If you’re happy with Flask serving the favicon, then one option is to add an explicit route for it. Here’s how I got it working:

```
from dash import Dash
from flask import Flask, send_from_directory

server = Flask( __name__ , static_folder='static')
app = Dash(server=server)

@server.route('/favicon.ico')
def favicon():
    return send_from_directory(os.path.join(server.root_path, 'static'),
                               'favicon.ico', mimetype='image/vnd.microsoft.icon')

```

And copy your favicon into the ‘static’ directory which should be in the same directory as the app file.

---

_[View the full topic](https://community.plotly.com/t/including-page-titles-favicon-etc-in-dash-app/4648)._
