You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.html 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. {# <link rel="stylesheet" href="/media/css/style.css" />#}
  5. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
  6. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  7. <title>{% block title %}First Django Application{% endblock %}</title>
  8. </head>
  9. <body>
  10. <nav>
  11. {% block nav %}
  12. <nav class="navbar navbar-expand-sm bg-dark navbar-dark">
  13. <ul class="navbar-nav">
  14. <li class="nav-item">
  15. <a class="nav-link" href="/posts/home">Home</a>
  16. </li>
  17. <li class="nav-item">
  18. <a class="nav-link" href="https://www.google.de/?hl=de">google</a>
  19. </li>
  20. <li class="nav-item">
  21. <a class="nav-link" href="https://www.th-nuernberg.de/fakultaeten/efi/">Efi</a>
  22. </li>
  23. <li class="nav-item">
  24. <a class="nav-link" href="/posts/about">about</a>
  25. </li>
  26. </ul>
  27. </nav>
  28. {% endblock %}
  29. </nav>
  30. <section id="content">
  31. {% block content %}{% endblock %}
  32. </section>
  33. <footer>&copy; Danke</footer>
  34. </body>
  35. </html>