Skip to content

Commit 0c501a9

Browse files
authored
Merge pull request creativecommons#369 from creativecommons/add_header
Add global header
2 parents 4b8bbd7 + dfd12ae commit 0c501a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

themes/vocabulary_theme/templates/layout.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
3737
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
3838
<script type="text/javascript" src="{{ '/static/gen/script.js'|url }}"></script>
39+
<script src="https://unpkg.com/@creativecommons/vocabulary@2020.7.2/js/vocabulary.js"></script>
40+
<script>
41+
const globalHeaderInstance = vocabulary.createGlobalHeader();
42+
</script>
3943
<title>{% block title %}Welcome{% endblock %} — Creative Commons on GitHub</title>
4044

4145
<body>

0 commit comments

Comments
 (0)