mirror of https://github.com/jpanther/congo.git
Compare commits
7 Commits
87ef6c5b6c
...
e64a61712c
Author | SHA1 | Date |
---|---|---|
stereobooster | e64a61712c | |
stereobooster | 95f04231af | |
James Panther | c22dbc06ee | |
James Panther | 80588df47b | |
James Panther | 29f7bb8c55 | |
James Panther | dd600a2832 | |
stereobooster | 74e53cc7d2 |
|
@ -6,15 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.7.0] - 2023-10-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- New portable locale picker that can be placed in any menu using the `locale` action ([#583](https://github.com/jpanther/congo/issues/583))
|
- New portable locale picker that can be placed in any menu using the `locale` action ([#583](https://github.com/jpanther/congo/issues/583))
|
||||||
- New icons for `chevron-down`, `chevron-up`, `globe` and `translate`
|
- New icons for `chevron-down`, `chevron-up`, `globe`, `translate`, `coffee` and `x-twitter` ([#669](https://github.com/jpanther/congo/pull/669))
|
||||||
- Plausible Analytics support ([#584](https://github.com/jpanther/congo/pull/584))
|
- Plausible Analytics support ([#584](https://github.com/jpanther/congo/pull/584))
|
||||||
- Spanish translation of example site samples ([#606](https://github.com/jpanther/congo/pull/606))
|
- Spanish translation of example site samples ([#606](https://github.com/jpanther/congo/pull/606))
|
||||||
- Japanese translation of docs and example site ([#618](https://github.com/jpanther/congo/pull/618))
|
- Japanese translation of docs and example site ([#618](https://github.com/jpanther/congo/pull/618))
|
||||||
- German translation of example site ([#631](https://github.com/jpanther/congo/pull/631))
|
- German translation of example site ([#631](https://github.com/jpanther/congo/pull/631))
|
||||||
- New icons - `coffee` and `x-twitter` ([#669](https://github.com/jpanther/congo/pull/669))
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
@ -743,7 +744,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.6.1...HEAD
|
[Unreleased]: https://github.com/jpanther/congo/compare/v2.7.0...HEAD
|
||||||
|
[2.7.0]: https://github.com/jpanther/congo/compare/v2.6.1...v2.7.0
|
||||||
[2.6.1]: https://github.com/jpanther/congo/compare/v2.6.0...v2.6.1
|
[2.6.1]: https://github.com/jpanther/congo/compare/v2.6.0...v2.6.1
|
||||||
[2.6.0]: https://github.com/jpanther/congo/compare/v2.5.4...v2.6.0
|
[2.6.0]: https://github.com/jpanther/congo/compare/v2.5.4...v2.6.0
|
||||||
[2.5.4]: https://github.com/jpanther/congo/compare/v2.5.3...v2.5.4
|
[2.5.4]: https://github.com/jpanther/congo/compare/v2.5.3...v2.5.4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.6.1 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.7.0 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.6.1 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.7.0 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
|
|
@ -151,6 +151,10 @@ Hugo will automatically update any modules that are required for your project. I
|
||||||
|
|
||||||
Then simply rebuild your site and check everything works as expected.
|
Then simply rebuild your site and check everything works as expected.
|
||||||
|
|
||||||
|
{{< alert >}}
|
||||||
|
When updating modules, sometimes Hugo will cache an older version of the theme. If this happens, clear your local cache by using the `hugo mod clean` command and then rebuild your site.
|
||||||
|
{{< /alert >}}
|
||||||
|
|
||||||
### Update using git
|
### Update using git
|
||||||
|
|
||||||
Git submodules can be updated using the `git` command. Simply execute the following command and the latest version of the theme will be downloaded into your local repository:
|
Git submodules can be updated using the `git` command. Simply execute the following command and the latest version of the theme will be downloaded into your local repository:
|
||||||
|
|
|
@ -29,7 +29,6 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
|
||||||
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
|
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
|
||||||
| [rohn.tech](https://rohn.tech) | Personal site |
|
| [rohn.tech](https://rohn.tech) | Personal site |
|
||||||
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
|
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
|
||||||
| [seyslee.github.io](https://seyslee.github.io) | Tech blog (in Korean) |
|
|
||||||
| [datanalyze.be](https://datanalyze.be/) | Professional site |
|
| [datanalyze.be](https://datanalyze.be/) | Professional site |
|
||||||
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
|
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
|
||||||
| [kelset.dev](https://kelset.dev) | Personal site |
|
| [kelset.dev](https://kelset.dev) | Personal site |
|
||||||
|
@ -39,24 +38,18 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
|
||||||
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
|
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
|
||||||
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
|
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
|
||||||
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
|
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
|
||||||
| [aidansmith.me](https://aidansmith.me/) | Personal Site |
|
|
||||||
| [nunocoracao.com](https://nunocoracao.com) | Personal site and Blog |
|
|
||||||
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
|
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
|
||||||
| [jcransom.com](https://www.jcransom.com/) | Personal Site and Blog |
|
| [jcransom.com](https://www.jcransom.com/) | Personal Site and Blog |
|
||||||
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
|
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
|
||||||
| [medical-humanities](https://medical-humanities.org) | Academic site |
|
| [medical-humanities](https://medical-humanities.org) | Academic site |
|
||||||
| [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 |
|
|
||||||
| [顾宇的博客](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 |
|
|
||||||
| [shim.web.id](https://shim.web.id) | Personal Blog (in Indonesian) |
|
|
||||||
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
|
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
|
||||||
| [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 |
|
|
||||||
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
|
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
|
||||||
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
|
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
|
||||||
| [statistix.be](https://statistix.be/) | Professional site |
|
| [statistix.be](https://statistix.be/) | Professional site |
|
||||||
|
@ -68,6 +61,7 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
|
||||||
| [spiffyeight77.com](https://spiffyeight77.com/) | Personal blog |
|
| [spiffyeight77.com](https://spiffyeight77.com/) | Personal blog |
|
||||||
| [Tomy's Blog](https://blog.tomy.me) | Personal site and Blog |
|
| [Tomy's Blog](https://blog.tomy.me) | Personal site and Blog |
|
||||||
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
|
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
|
||||||
|
| [simaosilva.com](https://simaosilva.com) | Personal Site |
|
||||||
|
| [kom.al](https://kom.al) | Personal Site |
|
||||||
|
|
||||||
<!-- :shushing_face: -->
|
|
||||||
**¿Usuaria de congo?** Para agregar tu sitio a esta lista, [haz un pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
|
**¿Usuaria de congo?** Para agregar tu sitio a esta lista, [haz un pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
|
||||||
|
|
|
@ -19,7 +19,7 @@ Congoを使用して構築された実際のウェブサイト。
|
||||||
|
|
||||||
| Website | Details |
|
| Website | Details |
|
||||||
| ---------------------------------------------------------------------- | ------------------------------- |
|
| ---------------------------------------------------------------------- | ------------------------------- |
|
||||||
| [jamespanther.com](https://jamespanther.com) | Personal site - **Theme author**|
|
| [jamespanther.com](https://jamespanther.com) | Personal site - Theme author |
|
||||||
| [antoinesoetewey.com](https://antoinesoetewey.com/) | Personal site |
|
| [antoinesoetewey.com](https://antoinesoetewey.com/) | Personal site |
|
||||||
| [leif.io](https://leif.io/) | Personal site and Tech blog |
|
| [leif.io](https://leif.io/) | Personal site and Tech blog |
|
||||||
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
|
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
|
||||||
|
@ -29,7 +29,6 @@ Congoを使用して構築された実際のウェブサイト。
|
||||||
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
|
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
|
||||||
| [rohn.tech](https://rohn.tech) | Personal site |
|
| [rohn.tech](https://rohn.tech) | Personal site |
|
||||||
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
|
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
|
||||||
| [seyslee.github.io](https://seyslee.github.io) | Tech blog (in Korean) |
|
|
||||||
| [datanalyze.be](https://datanalyze.be/) | Professional site |
|
| [datanalyze.be](https://datanalyze.be/) | Professional site |
|
||||||
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
|
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
|
||||||
| [kelset.dev](https://kelset.dev) | Personal site |
|
| [kelset.dev](https://kelset.dev) | Personal site |
|
||||||
|
@ -39,24 +38,18 @@ Congoを使用して構築された実際のウェブサイト。
|
||||||
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
|
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
|
||||||
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
|
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
|
||||||
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
|
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
|
||||||
| [aidansmith.me](https://aidansmith.me/) | Personal Site |
|
|
||||||
| [nunocoracao.com](https://nunocoracao.com) | Personal site and Blog |
|
|
||||||
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
|
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
|
||||||
| [jcransom.com](https://www.jcransom.com/) | Personal Site and Blog |
|
| [jcransom.com](https://www.jcransom.com/) | Personal Site and Blog |
|
||||||
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
|
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
|
||||||
| [medical-humanities](https://medical-humanities.org) | Academic site |
|
| [medical-humanities](https://medical-humanities.org) | Academic site |
|
||||||
| [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 |
|
|
||||||
| [顾宇的博客](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 |
|
|
||||||
| [shim.web.id](https://shim.web.id) | Personal Blog (in Indonesian) |
|
|
||||||
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
|
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
|
||||||
| [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 |
|
|
||||||
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
|
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
|
||||||
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
|
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
|
||||||
| [statistix.be](https://statistix.be/) | Professional site |
|
| [statistix.be](https://statistix.be/) | Professional site |
|
||||||
|
@ -68,5 +61,7 @@ Congoを使用して構築された実際のウェブサイト。
|
||||||
| [spiffyeight77.com](https://spiffyeight77.com/) | Personal blog |
|
| [spiffyeight77.com](https://spiffyeight77.com/) | Personal blog |
|
||||||
| [Tomy's Blog](https://blog.tomy.me) | Personal site and Blog |
|
| [Tomy's Blog](https://blog.tomy.me) | Personal site and Blog |
|
||||||
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
|
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
|
||||||
|
| [simaosilva.com](https://simaosilva.com) | Personal Site |
|
||||||
|
| [kom.al](https://kom.al) | Personal Site |
|
||||||
|
|
||||||
**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
|
**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
<a
|
{{ $link := .Destination }}
|
||||||
href="{{ .Destination | safeURL }}"
|
{{ $isRemote := strings.HasPrefix $link "http" }}
|
||||||
{{ with .Title }}title="{{ . }}"{{ end }}
|
{{- if not $isRemote -}}
|
||||||
{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noreferrer noopener"{{ end }}
|
{{ $url := urls.Parse .Destination }}
|
||||||
>
|
{{- if $url.Path -}}
|
||||||
{{- .Text | safeHTML -}}
|
{{ $fragment := "" }}
|
||||||
</a>
|
{{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
|
||||||
|
{{- with .Page.GetPage $url.Path }}{{ $link = printf "%s%s" .RelPermalink $fragment }}{{ end }}{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
<a href="{{ $link | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "2.6.1",
|
"version": "2.7.0",
|
||||||
"description": "Congo theme for Hugo",
|
"description": "Congo theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "rimraf assets/lib",
|
"preinstall": "rimraf assets/lib",
|
||||||
|
|
Loading…
Reference in New Issue