I want to pass the url as parameter in _header.html, so that in future in there is any change arrive then we can change in only through one function, this _header.html is included in base.html, I am new in flask so for I just use {% urlparameter%
I don't know this right or not. Please tell me how to do that, is we required to write any python function for this?
Here I am using http://192.168.206.133:5001/metering
In Future this will change, so any good approach to handle such type of case
_header.html
<h1 class="brand"><a href="http://192.168.206.133:5001/metering"">{% url parameter %}</a></h1>
base.html
<body ng-app="flaskhorizonapp">
{% block content %}
<div id="container">
<div class='topbar'>
{% include "_header.html" %}
</div>
</div>
{% endblock %}
</body>