Commit Graph

184 Commits

Author SHA1 Message Date
Tuan Cao
bfea43bb3e Refactor: replace reference to 'posts' folder single function call 2022-04-18 08:58:37 +07:00
Tuan Cao
159e64f409 Further bug fix attempt 2022-04-18 08:41:57 +07:00
Tuan Cao
8e4e9d1b32 Return default value to toSlug func 2022-04-18 08:10:19 +07:00
Tuan Cao
0065eed6e9 Remove some noisy logging 2022-04-18 07:58:20 +07:00
Tuan Cao
f606499ae8 Fix bug: Title not shown in Graph view 2022-04-17 21:01:13 +07:00
Tuan Cao
6f027aeb8e Handle Internal link with hashtag('#') 2022-04-17 20:22:50 +07:00
Tuan Cao
40a947e2ea Improve mapping slug to filepath, to reduce error when build up graph
(WIP 2)
2022-04-17 20:04:58 +07:00
Tuan Cao
99dbccef0a Improve mapping slug to filepath, to reduce error when build up graph
(WIP)
2022-04-16 22:55:20 +07:00
Tuan Cao
fed481d2a9 Improve Graph layout
Some minor styling.
2022-04-15 15:07:36 +07:00
Tuan Cao
047caf1695 Remove lint 2022-04-15 11:20:45 +07:00
Tuan Cao
5b914a148c Remove lint
Fix build error
2022-04-15 11:20:32 +07:00
Tuan Cao
5195f9bdcc Add support for Local Nodes
Render Graph in [id] posts
2022-04-15 11:00:45 +07:00
Tuan Cao
b43dfd77b0 Add CytoGraph component to re-present the graph 2022-04-15 09:04:28 +07:00
Tuan Cao
b4f27edd5d Some css clean up for backlink section. 2022-04-13 14:30:00 +07:00
Tuan Cao
9766844614 - Show short summary in Backlink section
- Extract content from refered markdown file.
2022-04-08 14:44:45 +07:00
Tuan Cao
aecf7c9da6 WIP styling backlink section 2022-04-08 11:56:09 +07:00
Tuan Cao
2bb96504c9 Finished constructing backlink from internal links
TODO: performance improvement, and code reability.
2022-04-07 16:52:41 +07:00
Tuan Cao
b47d1053d8 WIP: Render backlink in MarkDown content component. 2022-04-07 10:44:02 +07:00
Tuan Cao
930d7bf48d Refactor to prepare to convert to react component 2022-04-05 11:47:41 +07:00
Tuan Cao
d9923053f5 Clean up require -> import 2022-04-05 10:45:30 +07:00
Tuan Cao
36dcfbb2bc Wrapping MD Content inside MD Container
Boiler plate code for adding multiple MD Content
2022-03-31 16:59:10 +07:00
Tuan Cao
bc844bc0fa More refactoring:
- Move markdown rendering to its own component.
2022-03-31 15:46:10 +07:00
Tuan Cao
08bf40fc35 Clean up unused codes 2022-03-31 15:12:00 +07:00
Tuan Cao
f1fb9e26e2 Add Follow me alert to content. 2022-03-25 15:18:36 +07:00
Tuan Cao
00716b01e7 Remove sidebar.md 2022-03-24 15:58:41 +07:00
Tuan Cao
7ef88f62aa A little bit more styling and default expanded Side bar 2022-03-24 15:24:09 +07:00
Tuan Cao
7b40e63e00 A little bit more styling and default expanded Side bar 2022-03-24 15:19:08 +07:00
Tuan Cao
bf58dd15c6 A little bit more styling and default expanded Side bar 2022-03-24 15:19:01 +07:00
Tuan Cao
c56bacc34b Put Side bar to both Index and post pages
Make nav bar appear on the left side.
2022-03-24 14:43:18 +07:00
Tuan Cao
bae2cc6be7 Rename post to utils 2022-03-24 11:55:12 +07:00
Tuan Cao
005993da21 Make Tree navigation go to correct page. 2022-03-24 11:15:43 +07:00
Tuan Cao
6e24e2a309 Replace Folder Tree with MUI implementation. 2022-03-23 22:25:39 +07:00
Tuan Cao
b245a3e2c2 Replace Folder Tree with MUI implementation. 2022-03-23 22:25:28 +07:00
Tuan Cao
ea1c149a1f Clear warning about styleSheet declare in Page level, move it to _document.js 2022-03-23 11:21:59 +07:00
Tuan Cao
0be9ae3ff3 Update project to Next v12 2022-03-23 11:14:40 +07:00
Tuan Cao
9027596d06 WIP adding folder tree 2022-03-23 10:50:06 +07:00
Tuan Cao
7c1f478c45 Basic styling of the site using some obsidian css... More 2022-03-17 15:43:21 +07:00
Tuan Cao
19fedf5e6d Basic styling of the site using some obsidian css 2022-03-17 15:42:57 +07:00
Tuan Cao
b4a9546546 Update index file. 2022-03-17 14:35:42 +07:00
Tuan Cao
92116df077 Clean thing up. 2022-03-17 14:35:32 +07:00
Tuan Cao
e69581cb9f Delete side bar interaction 2022-03-16 17:40:49 +07:00
Tuan Cao
7927855016 hide graph
delete document.js
2022-03-16 17:40:12 +07:00
Tuan Cao
70958a0c2b Center main content 2022-03-16 17:38:50 +07:00
Tuan Cao
7607695970 Remove preprocessThreeDashes call as it cause some content become empty. 2022-03-16 14:27:36 +07:00
Tuan Cao
223f039104 Hmmm, remove .obsidian files I guess??? 2022-03-16 12:03:30 +07:00
Tuan Cao
f09100b5d4 Add obsidian help vault notes 2022-03-16 12:01:46 +07:00
Tuan Cao
1d6c3b1382 Update code to support better wiki link style on Help vault: namedly Alias divider, case-sensitive file name 2022-03-16 12:01:01 +07:00
Tuan Cao
c5425dc961 Ignore .obsidian files in note folder 2022-03-16 11:55:30 +07:00
Tuan Cao
868502d43c Delete old posts 2022-03-16 11:54:24 +07:00
Tuan Cao
1ef445d9d4 Hide Side Bar 2022-03-16 11:52:08 +07:00