Merge branch 'dev' into fix/721/remove-header-code-repetition

pull/725/head
Wen Junhua 2023-12-23 07:46:03 +09:00 committed by GitHub
commit 9efb85e5c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 115 additions and 48 deletions

View File

@ -1,6 +1,7 @@
i18n:
- i18n/*
- changed-files:
- any-glob-to-any-file: i18n/*
documentation:
- "*.md"
- exampleSite/content/*
- changed-files:
- any-glob-to-any-file: '**/*.md'

View File

@ -12,7 +12,7 @@ jobs:
steps:
- name: Label
uses: actions/labeler@v4
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeller.yml

View File

@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
days-before-stale: 120
days-before-close: 30

View File

@ -12,13 +12,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Automatic support for WebP images ([#693](https://github.com/jpanther/congo/pull/693))
- Warning when building if links to Markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691))
- Ability to share articles to Telegram and Line ([#719](https://github.com/jpanther/congo/pull/719))
- New icon for `line` ([#719](https://github.com/jpanther/congo/pull/719))
- New icon for `line`([#719](https://github.com/jpanther/congo/pull/719))
- Korean translation ([#731](https://github.com/jpanther/congo/pull/731))
### Changed
- ⚠️ Hugo extended version is now required when building sites
- ⚠️ Author params block in language configuration has been moved to `params.author` ([#704](https://github.com/jpanther/congo/pull/704))
- Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693))
- Upgrade to ChartJS v4.4.1 ([#736](https://github.com/jpanther/congo/pull/736))
- Upgrade to Tailwind v3.3.6 ([#737](https://github.com/jpanther/congo/pull/737))
### Fixed

View File

@ -1,6 +1,6 @@
/*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.3.7 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@ -121,8 +121,10 @@ strong {
}
/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
@ -131,8 +133,12 @@ samp,
pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
/* 1 */
font-size: 1em;
font-feature-settings: normal;
/* 2 */
font-variation-settings: normal;
/* 3 */
font-size: 1em;
/* 4 */
}
/*

File diff suppressed because one or more lines are too long

View File

@ -66,6 +66,7 @@ The theme currently supports the following languages out of the box:
| :indonesia: Indonesian | `id` |
| :it: Italian | `it` |
| :jp: Japanese | `ja` |
| :kr: Korean | `ko` |
| :poland: Polish | `pl` |
| :brazil: Portuguese (Brazil) | `pt-br` |
| :portugal: Portuguese (Portugal) | `pt-pt` |

View File

@ -64,5 +64,6 @@ The list below is just a handful of the websites that are built using the Congo
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |
| [yoganath.me](https://yoganath.me) | Personal Site and Blog |
**Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).

58
i18n/ko.yaml 100644
View File

@ -0,0 +1,58 @@
article:
anchor_label: "앵커"
date: "{{ .Date }}"
date_updated: "수정됨: {{ .Date }}"
draft: "초안"
edit_title: "편집"
reading_time:
one: "{{ .Count }} 분"
other: "{{ .Count }} 분"
reading_time_title: "읽는 데 걸리는 시간"
table_of_contents: "목차"
word_count:
one: "{{ .Count }} 자"
other: "{{ .Count }} 자"
author:
byline_title: "글쓴이"
code:
copy: "복사"
copied: "복사됨"
error:
404_title: "페이지를 찾을 수 없어요 :confused:"
404_error: "Error 404"
404_description: "요청하신 페이지를 찾을 수 없어요."
footer:
dark_appearance: "다크 모드로 전환"
light_appearance: "라이트 모드로 전환"
powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}"
list:
externalurl_title: "외부 사이트 링크"
no_articles: "아직 글이 존재하지 않아요."
nav:
scroll_to_top_title: "위로 스크롤"
skip_to_main: "메인 콘텐츠로 이동하기"
search:
open_button_title: "검색 (/)"
close_button_title: "닫기 (Esc)"
input_placeholder: "검색"
sharing:
email: "email로 보내기"
facebook: "Facebook에 공유하기"
linkedin: "LinkedIn에 공유하기"
mastodon: "Mastodon에 게시하기"
pinterest: "Pinterest에 핀하기"
reddit: "Reddit에 게시하기"
twitter: "Twitter에 트윗하기"
telegram: "Telegram에 공유하기"
line: "LINE에 공유하기"
shortcode:
recent_articles: "최신 글"

61
package-lock.json generated
View File

@ -11,16 +11,16 @@
"license": "MIT",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"chart.js": "^4.4.0",
"chart.js": "^4.4.1",
"fuse.js": "^7.0.0",
"katex": "^0.16.9",
"mermaid": "^10.6.1",
"prettier": "^3.1.0",
"prettier": "^3.1.1",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.7",
"prettier-plugin-tailwindcss": "^0.5.9",
"quicklink": "^2.3.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.3.5",
"tailwindcss": "^3.3.7",
"vendor-copy": "^3.0.1"
},
"funding": {
@ -338,9 +338,9 @@
}
},
"node_modules/chart.js": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.0.tgz",
"integrity": "sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==",
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
"integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
"dev": true,
"dependencies": {
"@kurkle/color": "^0.3.0"
@ -2333,9 +2333,9 @@
"dev": true
},
"node_modules/prettier": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
"integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz",
"integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
@ -2363,9 +2363,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.7.tgz",
"integrity": "sha512-4v6uESAgwCni6YF6DwJlRaDjg9Z+al5zM4JfngcazMy4WEf/XkPS5TEQjbD+DZ5iNuG6RrKQLa/HuX2SYzC3kQ==",
"version": "0.5.9",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.9.tgz",
"integrity": "sha512-9x3t1s2Cjbut2QiP+O0mDqV3gLXTe2CgRlQDgucopVkUdw26sQi53p/q4qvGxMLBDfk/dcTV57Aa/zYwz9l8Ew==",
"dev": true,
"engines": {
"node": ">=14.21.3"
@ -2374,13 +2374,13 @@
"@ianvs/prettier-plugin-sort-imports": "*",
"@prettier/plugin-pug": "*",
"@shopify/prettier-plugin-liquid": "*",
"@shufo/prettier-plugin-blade": "*",
"@trivago/prettier-plugin-sort-imports": "*",
"prettier": "^3.0",
"prettier-plugin-astro": "*",
"prettier-plugin-css-order": "*",
"prettier-plugin-import-sort": "*",
"prettier-plugin-jsdoc": "*",
"prettier-plugin-marko": "*",
"prettier-plugin-organize-attributes": "*",
"prettier-plugin-organize-imports": "*",
"prettier-plugin-style-order": "*",
@ -2396,9 +2396,6 @@
"@shopify/prettier-plugin-liquid": {
"optional": true
},
"@shufo/prettier-plugin-blade": {
"optional": true
},
"@trivago/prettier-plugin-sort-imports": {
"optional": true
},
@ -2899,9 +2896,9 @@
}
},
"node_modules/tailwindcss": {
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz",
"integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==",
"version": "3.3.7",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.7.tgz",
"integrity": "sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==",
"dev": true,
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
@ -3456,9 +3453,9 @@
"dev": true
},
"chart.js": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.0.tgz",
"integrity": "sha512-vQEj6d+z0dcsKLlQvbKIMYFHd3t8W/7L2vfJIbYcfyPcRx92CsHqECpueN8qVGNlKyDcr5wBrYAYKnfu/9Q1hQ==",
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
"integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
"dev": true,
"requires": {
"@kurkle/color": "^0.3.0"
@ -4848,9 +4845,9 @@
"dev": true
},
"prettier": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
"integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz",
"integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==",
"dev": true
},
"prettier-plugin-go-template": {
@ -4863,9 +4860,9 @@
}
},
"prettier-plugin-tailwindcss": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.7.tgz",
"integrity": "sha512-4v6uESAgwCni6YF6DwJlRaDjg9Z+al5zM4JfngcazMy4WEf/XkPS5TEQjbD+DZ5iNuG6RrKQLa/HuX2SYzC3kQ==",
"version": "0.5.9",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.9.tgz",
"integrity": "sha512-9x3t1s2Cjbut2QiP+O0mDqV3gLXTe2CgRlQDgucopVkUdw26sQi53p/q4qvGxMLBDfk/dcTV57Aa/zYwz9l8Ew==",
"dev": true,
"requires": {}
},
@ -5202,9 +5199,9 @@
"dev": true
},
"tailwindcss": {
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz",
"integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==",
"version": "3.3.7",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.7.tgz",
"integrity": "sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==",
"dev": true,
"requires": {
"@alloc/quick-lru": "^5.2.0",

View File

@ -30,16 +30,16 @@
"homepage": "https://github.com/jpanther/congo#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"chart.js": "^4.4.0",
"chart.js": "^4.4.1",
"fuse.js": "^7.0.0",
"katex": "^0.16.9",
"mermaid": "^10.6.1",
"prettier": "^3.1.0",
"prettier": "^3.1.1",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.7",
"prettier-plugin-tailwindcss": "^0.5.9",
"quicklink": "^2.3.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.3.5",
"tailwindcss": "^3.3.7",
"vendor-copy": "^3.0.1"
},
"vendorCopy": [],