Releases: theNewDynamic/gohugo-theme-ananke
v2.9.2
v2.9.1
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
- Added Hebrew translations by @MeirKriheli in #544
- Enable/Disable Social follow/share per service by @regisphilibert in #550
- Fixing typo, changing links from http:// to https:// by @deining in #551
- Only apply the absURL on images served through satic directory by @regisphilibert in #557
New Contributors
Full Changelog: v2.9.0...v2.9.1
v2.9.0
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
- Update about page ft img to match demo site by @tlindsay42 in #507
- Use theme repo for demo site by @regisphilibert in #515
- Change section name to section title in summary by @metbril in #520
- Translate for Japanese and add to i18n by @ssatosays in #529
- Remove Section mention from single/page by @regisphilibert in #531
- Localize "By" by @regisphilibert in #530
- Update sv.toml by @besynnerlig in #533
- Add missing French translation by @cbrunet in #538
- Upgrade "minVersion" of theme to 84 by @regisphilibert in #543
- use time.Format to format dates. It allows dates to be localized. by @cbrunet in #537
- Added support for Right-To-Left languages by @MeirKriheli in #532
New Contributors
- @metbril made their first contribution in #520
- @ssatosays made their first contribution in #529
- @besynnerlig made their first contribution in #533
- @cbrunet made their first contribution in #538
- @MeirKriheli made their first contribution in #532
Full Changelog: v2.8.1...v2.9.0
v2.8.1
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
- Allow certain pages to not be indexed: by SE by @regisphilibert in in 87f97e5
- Remove template language from social svg files by @funcsec in #461
- Make text color editable/configurable by @mountainbug95 in #286
- Featured image detection refactoring: by @regisphilibert in #462
- Fix
_styles.css
bad reference in GetMainCSS by @regisphilibert in #463 - Make
disable_share
settings on both page and site level by @regisphilibert in #465 - Ignore Hugo build lock file by @tlindsay42 in #483
- Fix zh* translation by @peter-jerry-ye in #479
- Update compiled main.css resource by @tlindsay42 in #485
- Standardize featured_image logic by @tlindsay42 in #474
- Fix support for site config featured image by @tlindsay42 in #490
- Use .Render for summary and summary-with-image throughout by @regisphilibert in #498
- Add German translation for taxonomyPageList by @thomham in #495
- Update about page bundle branch -> leaf by @tlindsay42 in #487
- Use i18n string for taxonomy layout by @scubbo in #500
- Finnish Translation by @larihuttunen in #493
- 433 fix tags layout by @fullstack-jack in #472
- Fix support for img width by @tlindsay42 in #481
New Contributors
- @funcsec made their first contribution in #461
- @tlindsay42 made their first contribution in #483
- @thomham made their first contribution in #495
- @scubbo made their first contribution in #500
- @larihuttunen made their first contribution in #493
- @fullstack-jack made their first contribution in #472
Full Changelog: v2.8.0...v2.8.1
New Social Follow and Share!
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.
What's Changed
- Refactor social service logic and UX by @regisphilibert in #425
- added tiktok to available social media links by @saufrecht in #444
- Base content title on ContentBaseName by @jmooring in #440
New Contributors
- @saufrecht made their first contribution in #444
- @jmooring made their first contribution in #440
Full Changelog: v2.7.0...v2.8.0
Style with Pipes
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
- Refactor style processing pipeline. (6eb54ab) More here
- Add ability to override date format throughout (b0bf3cc) More here
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
Add Turkish Translation
Create tr.toml (#371)
v2.6.7: Added Hungarian translation (#361)
Update Meta
Adds missing meta description #348