1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/hugo.md
Lena 8d3737dcbf
pages/*: add < > around links in example descriptions (#10594)
* pages/*: add `< >` around links in example descriptions

* Apply suggestions from code review

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* apm: add `< >` to the English page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-09-10 18:51:33 +05:30

715 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}}

hugo new theme {{theme_name}}

  • Create a new page:

hugo new {{section_name}}/{{page_name}}

  • 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