Skip to content

Commit

Permalink
🔖 Release v2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Jun 22, 2022
2 parents 782850d + 51a630c commit a754630
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 21 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# Changelog

All notable changes to Congo will be documented in this file. Things that need attention when upgrading from a prior version are marked ⚠️.
All notable changes to Congo will be documented in this file. Things that need particular attention when upgrading from a prior version are marked ⚠️.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.2.3] - 2022-06-22

### Changed

- Profile image alt text now uses author name when available

### Fixed

- Search not working when `baseURL` does not end with a forward slash ([#224](https://github.com/jpanther/congo/pull/224))
- Author `headline` parameter not correctly displaying Markdown or Emoji content

## [2.2.2] - 2022-06-16

### Added
Expand Down Expand Up @@ -446,7 +457,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
- Fully documented

[unreleased]: https://github.com/jpanther/congo/compare/v2.2.2...HEAD
[unreleased]: https://github.com/jpanther/congo/compare/v2.2.3...HEAD
[2.2.3]: https://github.com/jpanther/congo/compare/v2.2.2...v2.2.3
[2.2.2]: https://github.com/jpanther/congo/compare/v2.2.1...v2.2.2
[2.2.1]: https://github.com/jpanther/congo/compare/v2.2.0...v2.2.1
[2.2.0]: https://github.com/jpanther/congo/compare/v2.1.3...v2.2.0
Expand Down
2 changes: 1 addition & 1 deletion assets/css/compiled/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Congo v2.2.2 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.2.3 | MIT License | https://github.com/jpanther/congo */

/*! tailwindcss v3.0.24 | MIT License | https://tailwindcss.com */

Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Congo v2.2.2 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.2.3 | MIT License | https://github.com/jpanther/congo */

@tailwind base;
@tailwind components;
Expand Down
1 change: 1 addition & 0 deletions assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function fetchJSON(path, callback) {

function buildIndex() {
var baseURL = wrapper.getAttribute("data-url");
baseURL = baseURL.replace(/\/?$/, '/');
fetchJSON(baseURL + "index.json", function (data) {
var options = {
shouldSort: true,
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/docs/hosting-deployment/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ Then in the root of your site repository, create a `netlify.toml` file:
[context.production.environment]
HUGO_VERSION = "0.100.2"
HUGO_ENV = "production"
[context.deploy-preview.environment]
HUGO_VERSION = "0.100.2"
```

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`.
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ Real websites that are built with Congo.
| [seyslee.github.io](https://seyslee.github.io) | Tech blog (in Korean) |
| [datanalyze.be](https://datanalyze.be/) | Professional site |
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
| [kelset.dev](https://kelset.dev) | Personal site |

**Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users.md).
2 changes: 1 addition & 1 deletion layouts/partials/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class="w-24 h-24 !mt-0 !mb-0 ltr:mr-4 rtl:ml-4 rounded-full"
width="96"
height="96"
alt="Author"
alt="{{ $.Site.Author.name | default "Author" }}"
src="{{ $authorImage.RelPermalink }}"
/>
{{ end }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/home/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class="mb-2 rounded-full w-36 h-36"
width="144"
height="144"
alt="Author"
alt="{{ $.Site.Author.name | default "Author" }}"
src="{{ $authorImage.RelPermalink }}"
/>
{{ end }}
Expand All @@ -22,7 +22,7 @@ <h1 class="text-4xl font-extrabold">
</h1>
{{ with .Site.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . }}
{{ . | markdownify | emojify }}
</h2>
{{ end }}
<div class="mt-1 text-2xl">
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "hugo-congo-theme",
"version": "2.2.2",
"version": "2.2.3",
"description": "Congo theme for Hugo",
"main": "index.js",
"scripts": {
"preinstall": "rimraf assets/vendor",
"postinstall": "vendor-copy",
Expand All @@ -14,7 +13,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/jpanther/congo.git"
"url": "https://github.com/jpanther/congo.git"
},
"keywords": [
"hugo",
Expand All @@ -23,6 +22,7 @@
"dark-mode"
],
"author": "James Panther",
"funding": "https://github.com/sponsors/jpanther",
"license": "MIT",
"bugs": {
"url": "https://github.com/jpanther/congo/issues"
Expand All @@ -34,7 +34,7 @@
"fuse.js": "^6.6.2",
"katex": "^0.16.0",
"mermaid": "^9.1.2",
"prettier": "^2.7.0",
"prettier": "^2.7.1",
"prettier-plugin-go-template": "^0.0.13",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.24",
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name = "congo"
license = "MIT"
licenselink = "https://github.com/jpanther/congo/blob/master/LICENSE"
description = "A simple, lightweight theme for Hugo built with Tailwind CSS."
description = "A powerful, lightweight theme for Hugo built with Tailwind CSS."

homepage = "https://github.com/jpanther/congo/"
demosite = "https://jpanther.github.io/congo/"
Expand Down

0 comments on commit a754630

Please sign in to comment.