Skip to content

Commit 30864a6

Browse files
committed
locale fix
1 parent 6855f8c commit 30864a6

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
# Sass (via jekyll-sass-converter 1.x) reads files as US-ASCII unless the
2+
# locale is UTF-8, so force one for all recipes.
3+
export LC_ALL = en_US.UTF-8
4+
export LANG = en_US.UTF-8
5+
16
serve:
27
bundle exec jekyll serve
38

9+
build:
10+
bundle exec jekyll build
11+
412
install:
513
gem install bundler
614
bundler update --bundler

assets/css/style.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
---
3+
4+
// Overrides assets/css/style.scss from the default github-pages theme
5+
// (jekyll-theme-primer). The gem's SCSS contains UTF-8 characters that break
6+
// `jekyll build` under a non-UTF-8 locale, and no page links this stylesheet
7+
// (layouts use /assets/css/styles.css), so we ship an empty ASCII-only file.

0 commit comments

Comments
 (0)