Skip to content

Commit f8f0b0f

Browse files
cjk compliant font family
1 parent be11313 commit f8f0b0f

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
@@ -63,6 +63,16 @@ jobs:
6363
env:
6464
DEFAULT_LANGUAGE_ONLY: false
6565

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

0 commit comments

Comments
 (0)