Created
September 8, 2018 15:02
-
-
Save Esmala/1d24b27f8e2379bebe2851bfb12701fb to your computer and use it in GitHub Desktop.
base template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="assets/css/bootstrap.css" crossorigin="anonymous"> | |
<link href="https://fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet"> | |
<title>Hello, world!</title> | |
<style> | |
.bree-serif { | |
font-family: 'Bree Serif', serif; | |
} | |
</style> | |
</head> | |
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | |
<a class="navbar-brand" href="index.php">{{ pagename }}</a> | |
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" | |
aria-expanded="false" aria-label="Toggle navigation"> | |
<span class="navbar-toggler-icon"></span> | |
</button> | |
<div class="collapse navbar-collapse" id="navbarColor01"> | |
<ul class="navbar-nav mr-auto"> | |
{% for item in navigation %} | |
<li class="nav-item active"> | |
<a class="nav-link" href="{{ item.href }}">{{ item.link }}</a> | |
</li> | |
{% endfor %} | |
</ul> | |
</div> | |
</nav> | |
<body> | |
{% block content %} | |
{% endblock %} | |
<center> | |
<div class="text-center">© {{ organisation }} {{ date_year }} - <a href="index.php?page=login">Log in</a></div> | |
</center> | |
<!-- Optional JavaScript --> | |
<!-- jQuery first, then Popper.js, then Bootstrap JS --> | |
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" | |
crossorigin="anonymous"></script> | |
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" | |
crossorigin="anonymous"></script> --> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" | |
crossorigin="anonymous"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment