Skip to content

Commit

Permalink
WIP homepage changes
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 16, 2020
1 parent 7aa6b06 commit 49249b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
6 changes: 0 additions & 6 deletions site/assets/scss/_masthead.scss
Expand Up @@ -44,8 +44,6 @@
}

.masthead-followup {
.bd-clipboard { display: none; }

h2 {
@include font-size(2.5rem);
}
Expand All @@ -60,10 +58,6 @@
pre code {
display: inline-block;
white-space: pre;

&::before {
display: none;
}
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions site/layouts/partials/home/masthead-followup.html
Expand Up @@ -13,10 +13,8 @@ <h2>Installation</h2>
<a class="btn btn-lg btn-outline-primary mb-3" href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/">Read installation docs</a>
</div>
<div class="col-md-7 pl-md-5">
{{ highlight (printf (`# Via npm
npm install bootstrap
# Via gem
gem install bootstrap -v %s`) .Site.Params.current_ruby_version) "sh" "" }}
{{ highlight "npm install bootstrap" "sh" "" }}
{{ highlight (printf ("gem install bootstrap -v %s") .Site.Params.current_ruby_version) "sh" "" }}
</div>
</div>

Expand All @@ -36,10 +34,12 @@ <h2>jsDelivr</h2>
</div>
<div class="col-md-7 pl-md-5">
{{ highlight (printf (`<!-- CSS -->
<link href="%s" rel="stylesheet" integrity=%q crossorigin="anonymous">`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
{{ highlight (printf (`<!-- jQuery and JS bundle w/ Popper.js -->
<link href="%s" rel="stylesheet" integrity=%q crossorigin="anonymous">
`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
{{ highlight (printf (`<!-- jQuery and JavaScript Bundle with Popper.js -->
<script src="%s" integrity=%q crossorigin="anonymous"></script>
<script src="%s" integrity=%q crossorigin="anonymous"></script>`) .Site.Params.cdn.jquery (.Site.Params.cdn.jquery_hash | safeHTMLAttr) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
<script src="%s" integrity=%q crossorigin="anonymous"></script>
`) .Site.Params.cdn.jquery (.Site.Params.cdn.jquery_hash | safeHTMLAttr) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
</div>
</div>

Expand Down

0 comments on commit 49249b2

Please sign in to comment.