Skip to content

Releases: theNewDynamic/gohugo-theme-ananke

v2.10.0

28 Sep 04:35
v2.10.0
6e6e17d
Compare
Choose a tag to compare

New Maintainer

Hi there, I am Patrick, @davidsneighbour, and I have taken over maintenance of Ananke from the team of theNewDynamic. Let's thank @regisphilibert and @budparr for their work.

You may know me from my bunch of modules for GoHugo or from trying to answer questions on the GoHugo discourse. I will try to get Ananke up to date and from there we go. Having said that, let's get to the hard parts of this release.

Feature freeze and design freeze

For now, until Ananke is back up to date with the latest GoHugo features we will add no new features or design changes to the theme. This does not mean that we are not open for changes. But there are more core features like Hugo Pipelines, extended vs. base version, deprecations and so on, that should receive primary focus for now.

I will open a poll, or polls, about what features to work on next, so you might keep an eye on the discussion forum.

Requirements

To use this release you need to update your local installation. We require GoHugo v0.128.0+ and newer for this to work.

If you installed Ananke as Git Submodule run git pull from within the submodule directory (probably themes/ananke/).

If you installed Ananke as Hugo Module run hugo mod get -u ./... inside of your repository root directory.

In both cases don't forget to add the changes to your own repository after you updated.

On some build systems (for instance on Netlify) I would suggest to "clear cache and rebuild" to get things going if this update breaks the build.

Build system

Recent releases did not update the changelog and I use a different method of releases in my own projects, so I did rework the release/build system slightly. The old changelog can be found at ### and the new changelog will be automatically created at ### per release. For the user nothing will change, we will keep using the same name, the same repository, the same versioning system.

All new releases will have a required GoHugo version (this one needs v0.128.0+) because features are deprecated and released more often in GoHugo and older versions will fail to build with new features/methods/variables.

Community/Maintenance

Feel free to add problems and questions in the discussion forum --- be kind. If you experience a bug please open an issue report. I will however move questions and general issues into the forum to keep the issues to what needs to be fixed. That is an organisatorial move, not judgement :]

The future

This release fixed some common easily fixable issues and recent deprecations.

For v2.11 I am planning to rework the social media integration (share and social network links). The reworked version will allow you to add any arbitrary social media profile with your own icons/links.

For v2.12 I am planning to add GoHugo's pipelines into the build system and fix the common issues coming up for less experienced users between base and extended GoHugo versions.

Parallel to this documentation is created in the Wiki of this repository.

Disclaimer

This is my first release for Ananke, so I would expect things I have overlooked to break and bugs that I introduced to rear their dirty faces. Bear with me. That's what patch releases are for.

Quickstart templates of hosting providers

If you are using a version of the theme provided by a quick start ("deploy now") button on Vercel, Netlify, or any such provider and run into any issues please open a discussion forum post so I am aware of it. Vercel for instance has a hard-coded Ananke version from 2 years ago in their layout and that will obviously not work with latest Hugo versions and I am not sure how they update it. I guess I will have to contact each instance to see how to optimize their integrations.

2.10.0 (2024-09-28)

Documentation

  • fix: add note about powershell environment (c1530b7)
  • fix: move old changelog (e086aa9)
  • fix: proper TOML format for frontmatter sample (#717) (ca6da48)
  • fix: remove todo note that can't be traced to any issue (b1f6a28)

Features

Theme

  • fix: replace deprecated resources.ToCSS with css.Sass (321680f), closes #712
  • i18n: add indonesian language (#672) (53463ff)

Refactors

  • indentation and file formatting changes (76460d7)

Chore

  • add package lockfile (8a7847f)
  • config: add dependabot configuration (3c3478a)
  • config: add github templates for issues and pull requests (7c5c9c3)
  • config: add resources to ignored files (549d735)
  • config: add workspace configuration file for vscode (1a4ad28)
  • config: move configuration into config subfolder structure and require 0.128.0 (4e613a9)
  • config: update dependencies and package.json content (d0490cb)
  • fix: being maintained again (9a0a974)
  • fix: full URL to discussion forum (791c400)
  • release: v2.10.0-prerelease.0 (6367ffa)

Build System

  • fix: add release scripts (a889122)
  • fix: recover build system (dccde1e)

v2.10.0-prerelease.0 - Pleasant Anticipation

26 Sep 03:41
v2.10.0-prerelease.0
6367ffa
Compare
Choose a tag to compare

To be done:

v2.9.2

03 May 17:58
803a5f2
Compare
Choose a tag to compare

Just a cherry-pick of @ramiro's #685

Full Changelog: v2.9.1...v2.9.2

v2.9.1

13 Jun 14:50
470ea40
Compare
Choose a tag to compare

This is minor release with bug fixes and some improvements.

Social: Disable sharing/follow per services

You can now decide to opt out of "Follow on..." or "Share on..." for some social services. Many users want their visitors to be able to "Share on Facebook" while not having a "Facebook Page" themselves to promote. See here for more information.

Others

  • Add Hebrew localization strings.
  • Fix nasty featured image URL bug when deploying site in a sub directory

What's Changed

New Contributors

Full Changelog: v2.9.0...v2.9.1

v2.9.0

21 Apr 18:50
Compare
Choose a tag to compare

minVersion

The most important change is the theme updating it's minVersion to Hugo 0.84.0 from Hugo 0.64.0.
This is never a light decision and the last time we did it was January of last year! But in order to maintain retro-compatibility, sometimes you do have to upgrade... (Read about the motivation here)

While this might not break your site yet (unless you're running 0.67.1 or lower), it's strongly encouraged to upgrade your project to Hugo 0.84.0 or newer.

Localization

Dates

If you're using Hugo 0.87.0 and above, the project's dates can be localized using Hugo's date formatting layouts as date_format parameter

Language Direction

The theme now supports language direction with a layer of dedicated CSS. It also adds the dir attribute on the HTML if languageDirection is set.

Other

  • Japanese localization has been added.
  • The "By {author}" string is now localized. Except for language where it's not applicable, in which case it's absent.
  • more localization fixes are listed below.

What's Changed

New Contributors

Full Changelog: v2.8.1...v2.9.0

v2.8.1

02 Feb 18:48
Compare
Choose a tag to compare

This release introduces one potential styling change for users overwriting some limited template files with their own. Read below

Set Content Font Color

You can now set the font color of the main content both globally and on individual pages. See README

Private Content

User can now use private: true Front Matter key to use a prevent search engine indexing on a given page. See README

Render vs partial

This release enforce the use of .Render vs partial for two template files, namely "summary" and "summary-with-image".
For users overwriting one of those files you should:
Move the file to the layouts/_default directory.

For users overwriting a template file which call of one those file using {{ partial "summary.html . }} or {{ partial "summary-with-image.html . }} your should:
replace it with a .Render method like illustrated below.

- {{ partial "summary" . }}
+ {{ .Render "summary" }}

What's Changed

New Contributors

Full Changelog: v2.8.0...v2.8.1

New Social Follow and Share!

03 Dec 14:36
c7b9901
Compare
Choose a tag to compare

This is a complete backward compatible refactoring of the social service logic of the theme.

Project's social services are now registered in the site params as follow:

# config.yaml
params:
  ananke_socials:
  - name: twitter
    url: https://twitter.com/theNewDynamic
  - name: github
    url: https://github.com/theNewDynamic

The theme currently sports 14 built-in services with their own SVG icon, label and hover color. Any user can add their own service by adding it to the list above and optionally add a custom color and/or a matching SVG to their project.

It also sports its own "Share" icons for Facebook, Twitter and LinkedIn.

More here

What's Changed

New Contributors

Full Changelog: v2.7.0...v2.8.0

Style with Pipes

01 Oct 18:21
Compare
Choose a tag to compare

This release major improvements is the refactoring of the style processing logic which now relies on Hugo Pipes.
Another improvement is the ability to set a default date format to your project, this is great for localization.

Improvements

Fixes

  • Fixes date being printed when no date is set (1ae24ad)
  • Use relative permalink throughout when applicable (e3f7fbe)

Localization:

  • Localize site navigation title attributes (08d842f)
  • Localize WordCount and Reading time, de, fr, en included (7752770, 869b03e)

Thanks to @jan-xyz, @diamonster, @imander, @littleninja, @MarcoWagner, @sumpfralle for their help on improving Ananke on this release!

For any question about this release, please use its dedicated discussion:

Various Contributions

17 May 20:18
e3f7fbe
Compare
Choose a tag to compare

Improve Sitemap #404 by @zar3bski
Translate for Hindi and add to i18n #411 by @neeraj9

Add Turkish Translation

15 Dec 13:58
e3f7fbe
Compare
Choose a tag to compare

Create tr.toml (#371)