Starts the Hugo server, draft, future and expired content included. The server will be available at http://localhost:1313.
On Termux, the server will also be run with --noBuildLock
as that is needed in that environment.
Creates a production build of the site. The result will be placed in the public
folder.
On Termux, the build will also be run with --noBuildLock
as that is needed in that environment.
Creates a new post with the given title. The title will be used to generate a slug. A page bundle will be created at
content/blog/<date>-<slug>
. An index.md
file with the given title, today's date and draft status will be placed
there.
Creates a new TIL post with the given title. The title will be used to generate a slug. A new page will be
created at content/til/<slug>.md
, with the given title, today's date, an empty tag list and draft status.
Converts the given page bundle to a single page. The page bundle's content/<slug>/index.md
will be moved to content/<slug>.md
and the folder will be deleted. Note that this will not work if the page bundle contains any other files than index.md
.
Converts the given single page to a page bundle. The single page's content/<slug>.md
will be moved to content/<slug>/index.md
.