Skip to content

Commit 11fd636

Browse files
cjk compliant font family
1 parent 76c08ca commit 11fd636

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ jobs:
6262
env:
6363
DEFAULT_LANGUAGE_ONLY: false
6464

65+
- name: Inject meta data to ensure proper font rendering for some translations
66+
run: |
67+
if [[ -d site/jp ]]
68+
then
69+
echo -e "social:\n cards_layout_options:\n font_family: Noto Sans JP" > site/jp/.meta.yml
70+
echo "Successfully injected meta data into Japanese translation."
71+
else
72+
echo "Japanse translations not found among $(ls). Skipping this step."
73+
fi
74+
6575
- name: Deploy to GitHub Pages
6676
uses: JamesIves/[email protected]
6777
with:

0 commit comments

Comments
 (0)