Bootstrap all the things
This commit is contained in:
commit
f4b4108ffc
19 changed files with 487 additions and 0 deletions
22
layouts/partials/js.html
Normal file
22
layouts/partials/js.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!-- 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.2.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>
|
Loading…
Add table
Add a link
Reference in a new issue