SHARE
TWEET

wat

a guest Oct 19th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% load static %}
  2. <!doctype html>
  3. <html lang="en">
  4.     <head>
  5.         <!-- Required meta tags -->
  6.         <meta charset="utf-8">
  7.         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8.  
  9.         <!-- Bootstrap CSS -->
  10.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  11.        
  12.         <link rel="stylesheet" type="text/css" href="{%static 'blog/main.css' %}">
  13.  
  14.         {% if title %}
  15.             <title>Django Blog - {{ title }} </title>
  16.         {% else %}
  17.             <title>Django Blog</title>
  18.         {% endif %}
  19.     </head>
  20.     <body>
  21.         <header class="site-header">
  22.             <nav class="navbar navbar-expand-md navbar-dark bg-steel fixed-top">
  23.                 <div class="container">
  24.                 <a class="navbar-brand mr-4" href="/">Django Blog</a>
  25.                 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggle" aria-controls="navbarToggle" aria-expanded="false" aria-label="Toggle navigation">
  26.                 <span class="navbar-toggler-icon"></span>
  27.                 </button>
  28.                 <div class="collapse navbar-collapse" id="navbarToggle">
  29.                     <div class="navbar-nav mr-auto">
  30.                     <a class="nav-item nav-link" href="/">Home</a>
  31.                     <a class="nav-item nav-link" href="/about">About</a>
  32.                     </div>
  33.                     <!-- Navbar Right Side -->
  34.                     <div class="navbar-nav">
  35.                     <a class="nav-item nav-link" href="#">Login</a>
  36.                     <a class="nav-item nav-link" href="#">Register</a>
  37.                     </div>
  38.                 </div>
  39.                 </div>
  40.             </nav>
  41.         </header>
  42.  
  43.         <main role="main" class="container">
  44.             <div class="row">
  45.             <div class="col-md-8">
  46.                 {% block content %}{% endblock %}
  47.             </div>
  48.             <div class="col-md-4">
  49.                 <div class="content-section">
  50.                 <h3>Our Sidebar</h3>
  51.                 <p class='text-muted'>You can put any information here you'd like.
  52.                     <ul class="list-group">
  53.                     <li class="list-group-item list-group-item-light">Latest Posts</li>
  54.                     <li class="list-group-item list-group-item-light">Announcements</li>
  55.                     <li class="list-group-item list-group-item-light">Calendars</li>
  56.                     <li class="list-group-item list-group-item-light">etc</li>
  57.                     </ul>
  58.                 </p>
  59.                 </div>
  60.             </div>
  61.             </div>
  62.         </main>
  63.         <!-- Optional JavaScript -->
  64.         <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  65.         <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  66.         <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  67.         <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  68.     </body>
  69. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top