mirror of https://github.com/jpanther/congo.git
commit
73353fa74f
15
CHANGELOG.md
15
CHANGELOG.md
|
@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.5.1] - 2023-01-20
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- External links are now automatically appended with `rel="noreferrer noopener"` ([#446](https://github.com/jpanther/congo/pull/446))
|
||||||
|
- Updated Traditional Chinese (Taiwan) translation ([#448](https://github.com/jpanther/congo/pull/448))
|
||||||
|
- Upgrade to Chart.js v4.2.0 ([#449](https://github.com/jpanther/congo/pull/449))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Page alignment off-centre when opening hamburger menu at wide viewports ([#445](https://github.com/jpanther/congo/issues/445))
|
||||||
|
|
||||||
## [2.5.0] - 2023-01-17
|
## [2.5.0] - 2023-01-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -605,7 +617,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Advanced customisation using simple Tailwind colour definitions and styles
|
- Advanced customisation using simple Tailwind colour definitions and styles
|
||||||
- Fully documented
|
- Fully documented
|
||||||
|
|
||||||
[Unreleased]: https://github.com/jpanther/congo/compare/v2.5.0...HEAD
|
[Unreleased]: https://github.com/jpanther/congo/compare/v2.5.1...HEAD
|
||||||
|
[2.5.1]: https://github.com/jpanther/congo/compare/v2.5.0...v2.5.1
|
||||||
[2.5.0]: https://github.com/jpanther/congo/compare/v2.4.2...v2.5.0
|
[2.5.0]: https://github.com/jpanther/congo/compare/v2.4.2...v2.5.0
|
||||||
[2.4.2]: https://github.com/jpanther/congo/compare/v2.4.1...v2.4.2
|
[2.4.2]: https://github.com/jpanther/congo/compare/v2.4.1...v2.4.2
|
||||||
[2.4.1]: https://github.com/jpanther/congo/compare/v2.4.0...v2.4.1
|
[2.4.1]: https://github.com/jpanther/congo/compare/v2.4.0...v2.4.1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.5.0 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.5.1 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
|
@ -1020,8 +1020,8 @@ body button {
|
||||||
/* Hamburger menu */
|
/* Hamburger menu */
|
||||||
|
|
||||||
body:has(#menu-controller:checked) {
|
body:has(#menu-controller:checked) {
|
||||||
position: fixed;
|
height: 100vh;
|
||||||
overflow-y: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-button:has(#menu-controller:checked) {
|
#menu-button:has(#menu-controller:checked) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.5.0 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.5.1 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
@ -23,7 +23,7 @@ body button {
|
||||||
|
|
||||||
/* Hamburger menu */
|
/* Hamburger menu */
|
||||||
body:has(#menu-controller:checked) {
|
body:has(#menu-controller:checked) {
|
||||||
@apply fixed overflow-y-hidden;
|
@apply h-screen overflow-hidden;
|
||||||
}
|
}
|
||||||
#menu-button:has(#menu-controller:checked) {
|
#menu-button:has(#menu-controller:checked) {
|
||||||
@apply invisible;
|
@apply invisible;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -100,11 +100,11 @@ Then in the root of your site repository, create a `netlify.toml` file:
|
||||||
TZ = "UTC" # Set to preferred timezone
|
TZ = "UTC" # Set to preferred timezone
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.109.0"
|
HUGO_VERSION = "0.110.0"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.109.0"
|
HUGO_VERSION = "0.110.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`.
|
This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`.
|
||||||
|
|
|
@ -48,7 +48,7 @@ The list below is just a handful of the websites that are built using the Congo
|
||||||
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
|
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
|
||||||
| [major.io](https://major.io) | Personal site and Blog |
|
| [major.io](https://major.io) | Personal site and Blog |
|
||||||
| [bayas.dev](https://bayas.dev) | Personal site and Blog |
|
| [bayas.dev](https://bayas.dev) | Personal site and Blog |
|
||||||
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
|
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
|
||||||
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
|
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
|
||||||
| [adam.sr](https://adam.sr) | Personal site and Blog |
|
| [adam.sr](https://adam.sr) | Personal site and Blog |
|
||||||
| [datadi.murgi.org](https://datadi.murgi.org) | Personal site and Blog |
|
| [datadi.murgi.org](https://datadi.murgi.org) | Personal site and Blog |
|
||||||
|
@ -57,5 +57,6 @@ The list below is just a handful of the websites that are built using the Congo
|
||||||
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
|
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
|
||||||
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
|
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
|
||||||
| [ethantroy.com](https://ethantroy.com) | Personal Site and Blog |
|
| [ethantroy.com](https://ethantroy.com) | Personal Site and Blog |
|
||||||
|
| [sug.bitprism.net](https://sug.bitprism.net) | 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.md).
|
**Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users.md).
|
||||||
|
|
|
@ -5,6 +5,7 @@ article:
|
||||||
draft: "草稿"
|
draft: "草稿"
|
||||||
edit_title: "編輯內容"
|
edit_title: "編輯內容"
|
||||||
reading_time:
|
reading_time:
|
||||||
|
one: "{{ .Count }} 分鐘"
|
||||||
other: "{{ .Count }} 分鐘"
|
other: "{{ .Count }} 分鐘"
|
||||||
reading_time_title: "預計閱讀時間"
|
reading_time_title: "預計閱讀時間"
|
||||||
table_of_contents: "目錄"
|
table_of_contents: "目錄"
|
||||||
|
@ -46,7 +47,7 @@ sharing:
|
||||||
email: "以電子郵件發送"
|
email: "以電子郵件發送"
|
||||||
facebook: "分享到 Facebook"
|
facebook: "分享到 Facebook"
|
||||||
linkedin: "分享到 LinkedIn"
|
linkedin: "分享到 LinkedIn"
|
||||||
# mastodon: "Toot on Mastodon"
|
mastodon: "嘟到 Mastodon"
|
||||||
pinterest: "釘到 Pinterest"
|
pinterest: "釘到 Pinterest"
|
||||||
reddit: "發送到 Reddit"
|
reddit: "發送到 Reddit"
|
||||||
twitter: "推到 Twitter"
|
twitter: "推到 Twitter"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end }}>
|
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer noopener"{{ end }}>
|
||||||
{{- .Text | safeHTML -}}
|
{{- .Text | safeHTML -}}
|
||||||
</a>
|
</a>
|
|
@ -8,17 +8,17 @@ HUGO_THEME = "repo"
|
||||||
TZ = "Australia/Melbourne"
|
TZ = "Australia/Melbourne"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.105.0"
|
HUGO_VERSION = "0.110.0"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.105.0"
|
HUGO_VERSION = "0.110.0"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.105.0"
|
HUGO_VERSION = "0.110.0"
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "2.4.2",
|
"version": "2.5.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "2.4.2",
|
"version": "2.5.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"chart.js": "^4.1.2",
|
"chart.js": "^4.2.0",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"katex": "^0.16.4",
|
"katex": "^0.16.4",
|
||||||
"mermaid": "^9.3.0",
|
"mermaid": "^9.3.0",
|
||||||
"prettier": "^2.8.3",
|
"prettier": "^2.8.3",
|
||||||
"prettier-plugin-go-template": "^0.0.13",
|
"prettier-plugin-go-template": "^0.0.13",
|
||||||
"prettier-plugin-tailwindcss": "^0.2.1",
|
"prettier-plugin-tailwindcss": "^0.2.1",
|
||||||
"rimraf": "^4.0.7",
|
"rimraf": "^4.1.1",
|
||||||
"tailwindcss": "^3.2.4",
|
"tailwindcss": "^3.2.4",
|
||||||
"vendor-copy": "^3.0.1"
|
"vendor-copy": "^3.0.1"
|
||||||
},
|
},
|
||||||
|
@ -170,9 +170,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chart.js": {
|
"node_modules/chart.js": {
|
||||||
"version": "4.1.2",
|
"version": "4.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.2.0.tgz",
|
||||||
"integrity": "sha512-9L1w6WLPq6ztiWVVOYtDtpo0CUsBKDWPrUEdwChAyzczaikqeSwNKEv3QpJ7EO4ICcLSi6UDVhgvcnUhRJidRA==",
|
"integrity": "sha512-wbtcV+QKeH0F7gQZaCJEIpsNriFheacouJQTVIjITi3eQA8bTlIBoknz0+dgV79aeKLNMAX+nDslIVE/nJ3rzA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@kurkle/color": "^0.3.0"
|
"@kurkle/color": "^0.3.0"
|
||||||
|
@ -1323,9 +1323,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rimraf": {
|
"node_modules/rimraf": {
|
||||||
"version": "4.0.7",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.1.1.tgz",
|
||||||
"integrity": "sha512-CUEDDrZvc0swDgVdXGiv3FcYYQMpJxjvSGt85Amj6yU+MCVWurrLCeLiJDdJPHCzNJnwuebBEdcO//eP11Xa7w==",
|
"integrity": "sha512-Z4Y81w8atcvaJuJuBB88VpADRH66okZAuEm+Jtaufa+s7rZmIz+Hik2G53kGaNytE7lsfXyWktTmfVz0H9xuDg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"rimraf": "dist/cjs/src/bin.js"
|
"rimraf": "dist/cjs/src/bin.js"
|
||||||
|
@ -1634,9 +1634,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"chart.js": {
|
"chart.js": {
|
||||||
"version": "4.1.2",
|
"version": "4.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.2.0.tgz",
|
||||||
"integrity": "sha512-9L1w6WLPq6ztiWVVOYtDtpo0CUsBKDWPrUEdwChAyzczaikqeSwNKEv3QpJ7EO4ICcLSi6UDVhgvcnUhRJidRA==",
|
"integrity": "sha512-wbtcV+QKeH0F7gQZaCJEIpsNriFheacouJQTVIjITi3eQA8bTlIBoknz0+dgV79aeKLNMAX+nDslIVE/nJ3rzA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@kurkle/color": "^0.3.0"
|
"@kurkle/color": "^0.3.0"
|
||||||
|
@ -2451,9 +2451,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"rimraf": {
|
"rimraf": {
|
||||||
"version": "4.0.7",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.1.1.tgz",
|
||||||
"integrity": "sha512-CUEDDrZvc0swDgVdXGiv3FcYYQMpJxjvSGt85Amj6yU+MCVWurrLCeLiJDdJPHCzNJnwuebBEdcO//eP11Xa7w==",
|
"integrity": "sha512-Z4Y81w8atcvaJuJuBB88VpADRH66okZAuEm+Jtaufa+s7rZmIz+Hik2G53kGaNytE7lsfXyWktTmfVz0H9xuDg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"robust-predicates": {
|
"robust-predicates": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "2.5.0",
|
"version": "2.5.1",
|
||||||
"description": "Congo theme for Hugo",
|
"description": "Congo theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "rimraf assets/lib",
|
"preinstall": "rimraf assets/lib",
|
||||||
|
@ -30,14 +30,14 @@
|
||||||
"homepage": "https://github.com/jpanther/congo#readme",
|
"homepage": "https://github.com/jpanther/congo#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"chart.js": "^4.1.2",
|
"chart.js": "^4.2.0",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"katex": "^0.16.4",
|
"katex": "^0.16.4",
|
||||||
"mermaid": "^9.3.0",
|
"mermaid": "^9.3.0",
|
||||||
"prettier": "^2.8.3",
|
"prettier": "^2.8.3",
|
||||||
"prettier-plugin-go-template": "^0.0.13",
|
"prettier-plugin-go-template": "^0.0.13",
|
||||||
"prettier-plugin-tailwindcss": "^0.2.1",
|
"prettier-plugin-tailwindcss": "^0.2.1",
|
||||||
"rimraf": "^4.0.7",
|
"rimraf": "^4.1.1",
|
||||||
"tailwindcss": "^3.2.4",
|
"tailwindcss": "^3.2.4",
|
||||||
"vendor-copy": "^3.0.1"
|
"vendor-copy": "^3.0.1"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue