Skip to content

Commit 43fcee4

Browse files
committed
some example content
1 parent 41bfda4 commit 43fcee4

File tree

8 files changed

+164
-5
lines changed

8 files changed

+164
-5
lines changed

.gitignore

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
tmp
2-
public
3-
wiki
4-
config
1+
config/private
2+
resources
53
wikiConfigPrivate
64
wikiContentPrivate
5+
wikiIndex

config/_default/config.yaml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
title: "Hugo as Linden Indexer"
2+
disableKinds: ["RSS", "section", "sitemap", "robotsTXT", "404"]
3+
4+
contentDir: wikiContent
5+
dataDir: wikiConfig
6+
publishDir: wikiIndex
7+
8+
permalinks:
9+
/: /_documents/:filename/
10+
11+
taxonomies:
12+
tag: "tags"
13+
project: "projects"
14+
customer: "customers"
15+
16+
outputs:
17+
page:
18+
- json
19+
term:
20+
- json
21+
taxonomyTerm:
22+
- json
23+
taxonomy:
24+
- json
25+
home:
26+
- starred
27+
- docs_with_props
28+
- docs_with_title
29+
- indexer_info
30+
- docs_tasks_count
31+
- taxonomies
32+
- terms_starred
33+
34+
outputFormats:
35+
starred:
36+
mediaType: "application/json"
37+
baseName: "_index_docs_starred"
38+
path: "/"
39+
docs_with_props:
40+
mediaType: "application/json"
41+
baseName: "_index_docs_with_props"
42+
path: "/"
43+
docs_with_title:
44+
mediaType: "application/json"
45+
baseName: "_index_docs_with_title"
46+
path: "/"
47+
indexer_info:
48+
mediaType: "application/json"
49+
baseName: "_indexer_info"
50+
path: "/"
51+
taxonomies:
52+
mediaType: "application/json"
53+
baseName: "_index_taxonomies"
54+
path: "/"
55+
terms_starred:
56+
mediaType: "application/json"
57+
baseName: "_index_terms_starred"
58+
path: "/"
59+
docs_tasks_count:
60+
mediaType: "application/json"
61+
baseName: "_index_docs_tasks_count"
62+
path: "/"

wikiConfig/L1-CONF-TAX-tags.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Tags
3+
infotext: About tags
4+
starred: true
5+
views:
6+
type:
7+
group_by: type
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Note
3+
infotext: About note
4+
starred: true
5+
views:
6+
az:
7+
sort: az
8+
date:
9+
sort: date
10+
type:
11+
group_by: type
12+
locations:
13+
#website: https://www.note.vim

wikiConfig/views/all.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
3+
widgets:
4+
5+
- title: Starred Documents
6+
type: starred_documents
7+
hidden: false
8+
9+
- title: Starred Terms
10+
type: starred_terms
11+
hidden: false
12+
13+
- title: Starred Taxanomies
14+
type: starred_taxonomies
15+
16+
- title: All Taxanomies
17+
type: all_taxonomies
18+
19+
- title: Recently Modified Documents
20+
type: recently_modified_documents
21+
hidden: false
22+
23+
- hidden: false
24+
title: Extra Menu
25+
type: menu
26+
items:
27+
- title: Open 'Tags'
28+
execute: call linny_menu#openterm('tags', '')
29+
- title: Open 'Tags:Note'
30+
execute: call linny_menu#openterm('tags', 'note')
31+
- title: Open View 'custom'
32+
execute: call linny_menu#openview('custom')
33+
- title: Close vim
34+
execute: qa
35+
- title: Close this menu
36+
execute: LinnyMenuClose
37+

wikiConfig/views/custom.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
widgets:
3+
4+
- custom_menu:
5+
title: Custom View
6+
type: menu
7+
items:
8+
- title: Home
9+
execute: call linny_menu#openterm('', '')
10+
11+
- recently_modified_documents:
12+
title: Recently Modified Documents
13+
type: recently_modified_documents
14+
number: 100
15+
hidden: false
16+
17+

wikiConfig/views/root.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
widgets:
3+
4+
- title: Starred Documents
5+
type: starred_documents
6+
hidden: false
7+
8+
- title: Starred Terms
9+
type: starred_terms
10+
hidden: false
11+
12+
- title: Starred Taxanomies
13+
type: starred_taxonomies
14+
15+
- hidden: false
16+
title: Extra Menu
17+
type: menu
18+
items:
19+
- title: Open 'Tags'
20+
execute: call linny_menu#openterm('tags', '')
21+
- title: Open 'Tags:Note'
22+
execute: call linny_menu#openterm('tags', 'note')
23+
- title: Open View 'all'
24+
execute: call linny_menu#openview('custom')

wikiContent/first_note.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: First Note
33
tags: note
4-
categories: notes
4+
starred: true
55
---
66

77
This is my first note!

0 commit comments

Comments
 (0)