Ananke: A theme for Hugo Sites
Just a cherry-pick of @ramiro's https://github.com/theNewDynamic/gohugo-theme-ananke/pull/685
Full Changelog: https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.9.1...v2.9.2
This is minor release with bug fixes and some improvements.
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.
Full Changelog: https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.9.0...v2.9.1
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.
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
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.
Full Changelog: https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.8.1...v2.9.0
This release introduces one potential styling change for users overwriting some limited template files with their own. Read below
You can now set the font color of the main content both globally and on individual pages. See README
User can now use private: true
Front Matter key to use a prevent search engine indexing on a given page. See README
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" }}
_styles.css
bad reference in GetMainCSS by @regisphilibert in https://github.com/theNewDynamic/gohugo-theme-ananke/pull/463
disable_share
settings on both page and site level by @regisphilibert in https://github.com/theNewDynamic/gohugo-theme-ananke/pull/465
Full Changelog: https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.8.0...v2.8.1
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.
Full Changelog: https://github.com/theNewDynamic/gohugo-theme-ananke/compare/v2.7.0...v2.8.0
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.
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:
Improve Sitemap #404 by @zar3bski Translate for Hindi and add to i18n #411 by @neeraj9
Improve Sitemap #404 by @zar3bski Translate for Hindi and add to i18n #411 by @neeraj9
Create tr.toml (#371)
Create tr.toml (#371)