Skip to content

v2.8.1

Compare
Choose a tag to compare
@regisphilibert regisphilibert released this 02 Feb 18:48
· 79 commits to master since this release

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