Skip to content

foosel/foosel.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e78a5d ยท Aug 8, 2024
Jan 20, 2023
Jan 20, 2023
Jul 2, 2024
Aug 8, 2024
Jul 2, 2024
Jan 27, 2023
Apr 16, 2023
Mar 13, 2021
May 24, 2023
Apr 16, 2023
Jan 24, 2023
Jun 27, 2024
Jul 2, 2024

Repository files navigation

๐ŸŒŽ Source of foosel.net

Requirements

  • Hugo
  • Optional: Task (to run the tasks below)

Tasks

task serve

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.

task build

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.

task new-post -- <title>

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.

task new-til -- <title>

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.

task to-single -- <path>

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.

task to-bundle -- <path>

Converts the given single page to a page bundle. The single page's content/<slug>.md will be moved to content/<slug>/index.md.

About

Personal page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published