English
About this handbook

This handbook belongs to the Quartz plugin quartz-navigations. And it is built with it: the menu above and the previous/next links below every text come from there.

What the entries behind them look like is explained in 8.1.

9.1 – Every option

Whatever is not in the configuration, the plugin takes as its default. An unknown value is replaced by the default and reported (9.2).

Form

OptionValuesDefaultChapter
varianttree, accordion, flyout, bar, dropdown, mega, tabs, columns, select, pagertree4
mobilesame, accordion, offcanvas, select, hiddensame6.1
alignleft, center, right, fullleft4.2
titletextempty7.3
ariaLabeltexttranslated “Main navigation”7.3
classNameclassesempty7.2
idletters, digits, -, _checksum of the options7.3
breakpoints{ mobile, desktop } in px, rem, emfrom variables.scss6.2

Scope

OptionValuesDefaultChapter
languageauto, all, language codeauto8.3
rootPathfolder pathroot3.1
scoperoot, section, parent, currentroot3.1
depthinteger from 0; 0 = unlimited03.2
hideOutsideRoottrue, falsetrue3.2
showScopeRoottrue, falsefalse3.2
showHometrue, falsefalse3.2
indexEntrynone, firstnone3.2
folderLinkindex, first-child, noneindex3.3

Tree

These options shape the tree itself. Navigations that agree on them share one (1.3).

OptionValuesDefaultChapter
sortmanual, alphabetical, datemanual2.2
sortDirectionasc, descasc2.2
foldersFirstfirst, last, mixedfirst2.2
dateFieldcreated, modified, publishedcreated2.2
order{ folder path: [entries] }{}2.2
stripNumericPrefixtrue, falsefalse2.1
frontmatterKeys{ order, title, hide, icon }navOrder, navTitle, navHide, navIcon2
hideTagstrue, falsetrue2.3
hideUnlistedtrue, falsetrue2.3
hideDraftstrue, falsetrue2.3
hideEmptyFolderstrue, falsetrue2.3
keepIndexOnlyFolderstrue, falsetrue2.3
includelist of patternsempty = everything2.3
excludelist of patternsempty2.3
iconsboth, type, custom, none (also true, false)both7.1
nodeIcons{ path: icon }{}7.1

Interaction

OptionValuesDefaultChapter
folderClicktoggle, linktoggle5.1
folderDefaultStatecollapsed, opencollapsed5.1
expandActivetrue, falsetrue5.1
exclusivetrue, falsefalse5.1
persistStatetrue, falsefalse5.1
chevronstrue, falsetrue5.1
triggerclick, hoverclick5.2
iconNames{ folder, folderOpen, file, home, chevron, menu, close, previous, next }Lucide names, see 7.17.1

For single variants only

OptionValuesDefaultChapter
flyout.sideauto, right, leftauto4.1
tabs.secondarytrue, falsetrue4.2
select.buttontrue, falsefalse4.3
columns.maxinteger from 14 — currently no effect4.3
pager.labelstrue, falsetrue4.3
pager.ordertree, siblingstree4.3

Frontmatter

FieldValuesChapter
navTitletext2.1
navOrdernumber2.2
navHidetrue, false, yes, no2.3
navIconlucide:<name>, emoji, short text, none7.1

Old spellings

From version 0.1, still understood, with a message at build time:

OldNew
variant: verticalvariant: tree
variant: horizontalvariant: bar
dropdownTriggertrigger
stylegone; styling through CSS variables (7.2)