소스 검색

fix: workaround Hugo Modules incompatibility with Bootstrap

"In Go Modules, the /vendor directory in a module has a special meaning, so they delete it from the bundle"

Enables Academic to be installed as a Hugo Module.

See https://github.com/gohugoio/hugo/issues/6945
George Cushen 5 년 전
부모
커밋
886eb23663
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      assets/scss/_vendor/bootstrap/_mixins.scss
  2. 0 0
      assets/scss/_vendor/bootstrap/_vendor/_rfs.scss

+ 1 - 1
assets/scss/_vendor/bootstrap/_mixins.scss

@@ -3,7 +3,7 @@
 // Used in conjunction with global variables to enable certain theme features.
 
 // Vendor
-@import "vendor/rfs";
+@import "_vendor/rfs";
 
 // Deprecate
 @import "mixins/deprecate";

+ 0 - 0
assets/scss/_vendor/bootstrap/vendor/_rfs.scss → assets/scss/_vendor/bootstrap/_vendor/_rfs.scss