diff options
Diffstat (limited to 'services/blog/NOTE.md')
| -rw-r--r-- | services/blog/NOTE.md | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/services/blog/NOTE.md b/services/blog/NOTE.md new file mode 100644 index 00000000..4453c987 --- /dev/null +++ b/services/blog/NOTE.md @@ -0,0 +1,50 @@ +# My note + +## Commands + +Generate the site. + +``` +$ ./nuldoc build +``` + +Create a new post. + +``` +$ ./nuldoc new post +``` + +Create a new slide. + +``` +$ ./nuldoc new slide +``` + +Update PDF.js. + +``` +$ curl -o static/pdf.min.mjs https://unpkg.com/pdfjs-dist@4.3.136/build/pdf.min.mjs +$ curl -o static/pdf.worker.min.mjs https://unpkg.com/pdfjs-dist@4.3.136/build/pdf.worker.min.mjs +``` + + +## Structure + +``` +public +├── sitemap.xml +├── 404.html +├── posts +│ ├── 2021-03-05 +│ │ └── my-first-post +│ │ └── index.html +│ ├── feed.xml +│ ├── _page +│ │ ├── 1.html +│ │ └── 2.html +└── tags + ├── index.html + └── vim + ├── feed.xml + └── index.html +``` |
