Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
公式ブログ用:Nunjucks : layout/_default.njk
<!DOCTYPE html>
<html lang="ja">
<head>
{% include 'partial/site/_dochead.njk' -%}
<!-- GTMタグなど -->
</head>
<body>
<!-- GTMタグなど -->
{% include 'partial/site/_header.njk' -%}
{% block contents -%}{%- endblock %}
{% include 'partial/site/_footer.njk' -%}
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script>window.jQuery || document.write('<script src="/assets/js/vendor/jquery-1.12.4.min.js"><\/script>')</script>
<script src="/assets/js/common.js"></script>
{%- block js -%}{%- endblock %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment