Allows showcasing a selection of n projects on the home page.
Related issue
Resolves #291.
Changes
To use this option, set the projects_path on your content/_index.md file:
[extra]
projects_path = "projects/_index.md"
It's possible to set the maximum number of projects with max_projects. By default, projects are shown after the posts. To reverse the sorting (show projects first), set show_projects_first = true.
Moves the logic to list blog posts to a partial html file, similar to the new listing projects html.
Adds some CSS.
Adds two i18n strings.
Accessibility
Uses semantic HTML and styling from the Projects section; keyboard navigation, colour contrast etc. was already OK.
Screenshots
Type of change
[ ] Bug fix (fixes an issue without altering functionality)
Summary
Allows showcasing a selection of
n
projects on the home page.Related issue
Resolves #291.
Changes
To use this option, set the
projects_path
on yourcontent/_index.md
file:It's possible to set the maximum number of projects with
max_projects
. By default, projects are shown after the posts. To reverse the sorting (show projects first), setshow_projects_first = true
.html
file, similar to the new listing projectshtml
.Accessibility
Uses semantic HTML and styling from the Projects section; keyboard navigation, colour contrast etc. was already OK.
Screenshots
Type of change
Checklist
theme.toml
with a sane default for the featureconfig.toml
commentstheme.toml
comments