Skip to content

Commit

Permalink
chore: expose $baseRelURL to global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Jan 9, 2021
1 parent 25de088 commit 1756220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
$enableSmoothScroll: false;
{{ end }}

$baseRelURL: "{{ strings.TrimSuffix (.Site.BaseURL | relURL) "/" }}";


// Utilities

Expand Down Expand Up @@ -134,8 +136,6 @@
// Chinese Punctuation Glyph Correction

{{ if .Site.Params.enableChinesePunctuationGlyphCorrection }}
$baseRelURL: "{{ strings.TrimSuffix (.Site.BaseURL | relURL) "/" }}";

@import "base/glyph-correction";

// Magic adjustment for zh-cn
Expand Down

0 comments on commit 1756220

Please sign in to comment.