Skip to content

Commit 42baf65

Browse files
cjk compliant font family (#357)
* cjk compliant font family * typo * typos, format
1 parent be11313 commit 42baf65

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ 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/ja ]]
69+
then
70+
echo -e "social:\n cards_layout_options:\n font_family: Noto Sans JP" > site/ja/.meta.yml
71+
echo "Successfully injected meta data into Japanese translation."
72+
else
73+
echo "*** Japanese translations not found in:"
74+
echo "$(ls site)"
75+
echo "*** Skipping this step."
76+
fi
77+
6678
- name: Deploy to GitHub Pages
6779
uses: JamesIves/[email protected]
6880
with:

0 commit comments

Comments
 (0)