I want to design a go back home button for my site and how can I get the root path of my site in the template so I can do something like this:
Referring to standard Django example:
urlpatterns = [ path('', views.index, name='index'), ]
Then template code:
href="{% url 'index' %}"
will also work.