Last active
August 19, 2021 08:20
-
-
Save andresdhn/f6e07841b3821a5a470af76c9c094df7 to your computer and use it in GitHub Desktop.
Shows a basic layout file using Nunjucks
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> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="/css/style.css" /> | |
<title>My site | {{ page_name }}</title> | |
<meta name="keywords" content="{{ SEO_keywords }}"> | |
<meta name="description" content="{{ SEO_description }}"> | |
<meta name="og:title" content="My site {{ page_name }}"> | |
<meta name="og:description" content="{{ SEO_description }}"> | |
</head> | |
<body class="{{ page_name }}"> | |
{% include "partials/header.html" %} | |
<div class="main"> | |
{% block content %}{% endblock %} | |
</div> | |
{% include "partials/footer.html" %} | |
{% block scripts %}{% endblock %} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment