Django framework uses urls to math the html files. This work with the same
syntax of static files, you would use {% url 'app:viewname' %} to render
any page with Django.

You should check the docs of urls to understand how it works and get this
done.

Regards

El jue., 24 de junio de 2021 9:00 a. m., Richard Dushime <
mudaherar...@gmail.com> escribió:

> i have a problem on my navigation bar on the index.html link when i click
> on it its showing me the error (see error.png)  or everything apart that
> its working fine  need ur help
> <a href="index.html" class="hero-logo" data-aos="zoom-in"><img src=
> "{% static 'assets/img/hero-logo.png' %}" alt=""></a>
>       <div class="logo d-block d-lg-none">
>         <a href="index.html"><img src="{% static 'assets/img/logo.png' %}"
>  alt="" class="img-fluid"></a>
>       </div>
>
>       <nav class="nav-menu d-none d-lg-block">
>         <ul class="nav-inner">
>           <li class="active"><a href="index.html">Home</a></li>
>           <li class="drop-down"><a href="">About</a>
>             <ul>
>               <li><a href="#about">About Us</a></li>
>               <li><a href="#team">Team</a></li>
>             </ul>
>           </li>
>           <li><a href="#services">Services</a></li>
>
>           <li class="nav-logo"><a href="index.html"><img src=
> "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid"></a></li>
>
>           <li><a href="#portfolio">Portfolio</a></li>
>           <li><a href="#pricing">Pricing</a></li>
>           <li><a href="#contact">Contact</a></li>
>
>         </ul>
>       </nav><!-- .nav-menu -->
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%40mail.gmail.com.

Reply via email to