Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (16 sloc)
979 Bytes
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
| <!-- highlight.js --> | |
| {{ if .Site.Params.highlight | default false }} | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> | |
| {{ range .Site.Params.highlightLanguages }} | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{ . }}.min.js"></script> | |
| {{ end }} | |
| <script>hljs.initHighlightingOnLoad();</script> | |
| {{ end }} | |
| <!-- custom --> | |
| {{ range .Site.Params.js }} <script src="{{ . | absURL }}"></script> {{ end }} | |
| <!-- jquery --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
| <!-- bootstrap --> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | |
| <!-- dismiss expanded navigation bar with click --> | |
| <script>$(document).on('click', function() { $('.collapse').collapse('hide'); })</script> |