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