mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* Fix file(s) and more path/to * Update pages.it/common/rm.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * thanks emily your suggestion was dogshit https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
716 B
716 B
hugo
Template-based static site generator. Uses modules, components, and themes. More information: https://gohugo.io.
- Create a new Hugo site:
hugo new site {{path/to/site}}
- Create a new Hugo theme (themes may also be downloaded from https://themes.gohugo.io/):
hugo new theme {{theme_name}}
- Create a new page:
hugo new {{section_name}}/{{path/to/file}}
- Build a site to the
./public/
directory:
hugo
- Build a site including pages that are marked as a "draft":
hugo --buildDrafts
- Build a site to a given directory:
hugo --destination {{path/to/destination}}
- Build a site, start up a webserver to serve it, and automatically reload when pages are edited:
hugo server