Commit a8b30548 authored by Thomas Wood's avatar Thomas Wood

switch back to bootstrap 3 in attempt to get dataspy working

parent 22d8b73f
Pipeline #29965 canceled with stage
in 21 seconds
......@@ -3,20 +3,28 @@
jquery:
uri: "https://ajax.googleapis.com/ajax/libs/jquery/"
version: "2.2.0"
version: "2.1.4"
js:
path: "/jquery.min.js"
integrity: "sha384-K+ctZQ+LL8q6tP7I94W+qzQsfRV2a+AfHIi9k8z8l9ggpc8X+Ytst4yBo/hH+8Fk"
#integrity: "sha384-K+ctZQ+LL8q6tP7I94W+qzQsfRV2a+AfHIi9k8z8l9ggpc8X+Ytst4yBo/hH+8Fk"
bootstrap:
#bootstrap_v4:
# uri: "https://maxcdn.bootstrapcdn.com/bootstrap/"
# version: "4.0.0-alpha.2"
# js:
# path: "/js/bootstrap.min.js"
# integrity: "sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7"
# css:
# path: "/css/bootstrap.min.css"
# integrity: "sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd"
bootstrap_v3:
uri: "https://maxcdn.bootstrapcdn.com/bootstrap/"
version: "4.0.0-alpha.2"
version: "3.3.6"
js:
path: "/js/bootstrap.min.js"
integrity: "sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7"
css:
path: "/css/bootstrap.min.css"
integrity: "sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd"
fontawesome:
uri: "https://maxcdn.bootstrapcdn.com/font-awesome/"
......
......@@ -12,5 +12,5 @@
{% include external-assets-css.html %}
<link rel="stylesheet" href="{{ "/assets/blog.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/syntax.css" | prepend: site.baseurl }}">
{% if page.dataspy %}<link rel="stylesheet" href="{{ "/assets/fixed-sticky/fixedsticky.css" | prepend: site.baseurl }}">{% endif %}
{% if layout.toc %}<link rel="stylesheet" href="{{ "/assets/fixed-sticky/fixedsticky.css" | prepend: site.baseurl }}">{% endif %}
</head>
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body {% if page.dataspy %}data-spy="scroll" data-target="{{ page.dataspy }}"{% endif %}>
<body {% if layout.toc %}data-spy="scroll" data-target="#sidenav"{% endif %}>
{% include header.html %}
<div class="container">
{{ content }}
</div>
{% include footer.html %}
{% include external-assets-js.html %}
{% if page.dataspy %}<script src="{{ "/assets/fixed-sticky/fixedsticky.js" | prepend: site.baseurl }}"></script>{% endif %}
{% if layout.toc %}
<script src="{{ '/assets/fixed-sticky/fixedsticky.js' | prepend: site.baseurl }}"></script>
{% endif %}
</body>
</html>
---
layout: page
dataspy: "#sidenav"
toc: "true"
toc: true
---
<div class="row stickyrow">
<div class="col-sm-9">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment