# My note ## Commands Generate the site. ``` $ ./nuldoc ``` Create a new post. ``` $ mkdir -p content/posts/$(date +'%Y-%m-%d') $ touch content/posts/$(date +'%Y-%m-%d')/[TITLE].xml ``` ``` $ curl -o static/pdf.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.min.js $ curl -o static/pdf.worker.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.worker.min.js ``` ## 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 ```