Compare commits

..

No commits in common. "b524043127246854a1877678452e2c888e63b461" and "f28cf4615c896e75251d79eb7ec12856f8ee4697" have entirely different histories.

3 changed files with 20 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -38,10 +38,6 @@
{{/* Rotate image before cropping because Hugo's "Smart" cropping crops differently if we do it at the same time as .Fill with a rotation) and use 2x dimensions to keep the thumbnail crisp */}} {{/* Rotate image before cropping because Hugo's "Smart" cropping crops differently if we do it at the same time as .Fill with a rotation) and use 2x dimensions to keep the thumbnail crisp */}}
{{ $RotatedImage := $image.Resize "480x600 r90" }} {{ $RotatedImage := $image.Resize "480x600 r90" }}
<img src={{ ($RotatedImage.Fill "480x600").RelPermalink }} width="240" height="300" /> <img src={{ ($RotatedImage.Fill "480x600").RelPermalink }} width="240" height="300" />
{{ else if eq $orientation 6 }}
{{ $RotatedImage := $image.Resize "480x600 r270" }}
<img src={{ ($RotatedImage.Fill "480x600").RelPermalink }} width="240" height="300" />
{{ else }} {{ else }}
<img src={{ ($image.Fill "480x600").RelPermalink }} width="240" height="300" /> <img src={{ ($image.Fill "480x600").RelPermalink }} width="240" height="300" />
{{ end }} {{ end }}

View File

@ -1,5 +1,5 @@
/*! /*!
* Bootstrap v5.0.0-beta1 (https://getbootstrap.com/) * Bootstrap v5.0.0-alpha3 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors * Copyright 2011-2020 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc. * Copyright 2011-2020 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@ -20,28 +20,28 @@
@import "../../node_modules/bootstrap/scss/containers"; @import "../../node_modules/bootstrap/scss/containers";
@import "../../node_modules/bootstrap/scss/grid"; @import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/tables"; @import "../../node_modules/bootstrap/scss/tables";
//@import "../../node_modules/bootstrap/scss/forms"; @import "../../node_modules/bootstrap/scss/forms";
@import "../../node_modules/bootstrap/scss/buttons"; @import "../../node_modules/bootstrap/scss/buttons";
//@import "../../node_modules/bootstrap/scss/transitions"; @import "../../node_modules/bootstrap/scss/transitions";
//@import "../../node_modules/bootstrap/scss/dropdown"; @import "../../node_modules/bootstrap/scss/dropdown";
//@import "../../node_modules/bootstrap/scss/button-group"; @import "../../node_modules/bootstrap/scss/button-group";
@import "../../node_modules/bootstrap/scss/nav"; @import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar"; @import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card"; @import "../../node_modules/bootstrap/scss/card";
//@import "../../node_modules/bootstrap/scss/accordion"; @import "../../node_modules/bootstrap/scss/accordion";
//@import "../../node_modules/bootstrap/scss/breadcrumb"; @import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination"; @import "../../node_modules/bootstrap/scss/pagination";
//@import "../../node_modules/bootstrap/scss/badge"; @import "../../node_modules/bootstrap/scss/badge";
//@import "../../node_modules/bootstrap/scss/alert"; @import "../../node_modules/bootstrap/scss/alert";
//@import "../../node_modules/bootstrap/scss/progress"; @import "../../node_modules/bootstrap/scss/progress";
//@import "../../node_modules/bootstrap/scss/list-group"; @import "../../node_modules/bootstrap/scss/list-group";
//@import "../../node_modules/bootstrap/scss/close"; @import "../../node_modules/bootstrap/scss/close";
//@import "../../node_modules/bootstrap/scss/toasts"; @import "../../node_modules/bootstrap/scss/toasts";
//@import "../../node_modules/bootstrap/scss/modal"; @import "../../node_modules/bootstrap/scss/modal";
//@import "../../node_modules/bootstrap/scss/tooltip"; @import "../../node_modules/bootstrap/scss/tooltip";
//@import "../../node_modules/bootstrap/scss/popover"; @import "../../node_modules/bootstrap/scss/popover";
//@import "../../node_modules/bootstrap/scss/carousel"; @import "../../node_modules/bootstrap/scss/carousel";
//@import "../../node_modules/bootstrap/scss/spinners"; @import "../../node_modules/bootstrap/scss/spinners";
// Helpers // Helpers
@import "../../node_modules/bootstrap/scss/helpers"; @import "../../node_modules/bootstrap/scss/helpers";