and when visited localhost:5006 there will be a default home page which is good because looks like indexing all of the page run in the previous above code.
Result:
You can serve a .html file or jinja.html template if you want the index page at / to load really fast.
You can see how the built in template works at index.html. You will notice that you can refer to a list of items containing the relative urls to the apps.
But before diving into a custom template I would recommend using on of the built in templates like the FastListTemplate and make a special index.py file that contains for example only a markdown component. It can also load pretty fast and will make things easier and more consistent.
Jinja Template Examle
Here is an example of a basic jinja index template
app2.py
import panel as pn
pn.panel("Hello World").servable()
app1.py
import panel as pn
pn.panel("Hello World").servable()
Hi @Marc many thanks for your advise. will do with built in templates.
Actually the default one is very nice, but if we can modify some thing for example logo in the header, header background image, etc will be perfect (just replicate the page into our folder). is it located some where in holoviz/panel apps folder?
thanks @Marc, apologize one more question I just found is how to mapping images/logo in the html page since when I put with the full address for example :