herencia otros3

This commit is contained in:
jp.av.dev 2020-11-17 04:34:32 -03:00
parent 7e63d367c9
commit 39f632feb1
2 changed files with 9 additions and 10 deletions

View File

@ -34,22 +34,21 @@
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav mx-auto">
<li class="nav-item active px-lg-4">
<li class="nav-item {% if request.path == '/' %}active{% endif %} px-lg-4">
<a class="nav-link text-uppercase text-expanded" href="{% url 'Inicio' %}">Inicio</a>
</li>
<li class="nav-item px-lg-4">
<li class="nav-item {% if request.path == '/servicios' %}active{% endif %} px-lg-4">
<a class="nav-link text-uppercase text-expanded" href="{% url 'Servicios' %}">Servicios</a>
</li>
<li class="nav-item px-lg-4">
<li class="nav-item {% if request.path == '/tienda' %}active{% endif %} px-lg-4">
<a class="nav-link text-uppercase text-expanded" href="{% url 'Tienda' %}">Tienda</a>
</li>
<li class="nav-item px-lg-4">
<li class="nav-item {% if request.path == '/contacto' %}active{% endif %} px-lg-4">
<a class="nav-link text-uppercase text-expanded" href="{% url 'Contacto' %}">Contacto</a>
</li>
<li class="nav-item px-lg-4">
<li class="nav-item {% if request.path == '/blog' %}active{% endif %} px-lg-4">
<a class="nav-link text-uppercase text-expanded" href="{% url 'Blog' %}">Blog</a>
</li>
</ul>
</div>
</div>

View File

@ -3,9 +3,9 @@ from ProyectoWebApp import views
urlpatterns = [
path('', views.home, name="Inicio"),
path('servicios/', views.servicios, name ='Servicios'),
path('tienda/', views.tienda, name ='Tienda'),
path('blog/', views.blog, name ='Blog'),
path('contacto/', views.contacto, name='Contacto'),
path('servicios', views.servicios, name ='Servicios'),
path('tienda', views.tienda, name ='Tienda'),
path('blog', views.blog, name ='Blog'),
path('contacto', views.contacto, name='Contacto'),
path('sample/', views.sample, name ='Sample'),
]