Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cjk compliant font family #357

Merged
merged 3 commits into from
Sep 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ jobs:
env:
DEFAULT_LANGUAGE_ONLY: false

- name: Inject meta data to ensure proper font rendering for some translations
run: |
if [[ -d site/ja ]]
then
echo -e "social:\n cards_layout_options:\n font_family: Noto Sans JP" > site/ja/.meta.yml
echo "Successfully injected meta data into Japanese translation."
else
echo "*** Japanese translations not found in:"
echo "$(ls site)"
echo "*** Skipping this step."
fi

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.2.2
with:
Expand Down