generated from rothsandro/eleventy-notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.mjs
37 lines (36 loc) · 760 Bytes
/
app.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// @ts-check
import { defineConfig, createNotesQuery } from "./.app/app-config.js";
export default defineConfig({
title: "My Second Brain",
description:
"Everything important that my brain can't hold.",
theme: {
color: "blue",
},
wikilinks: {
// What label to use for wikilinks without a label
// - "ref" Use the reference
// - "title" Use the title of the note (fallback fileSlug)
// - "fileSlug" Use the file slug
autoLabel: "title",
},
sidebar: {
sections: [
{
label: "Notes",
groups: [
{
query: createNotesQuery({
tree: {
expanded: false,
replace: {
"^/Images/": "",
},
},
}),
},
],
},
],
},
});