1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.id/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

32 lines
767 B
Markdown

# hugo
> Penghasil website statis berbasis template. Menggunakan modul, komponen dan tema.
> Informasi lebih lanjut: <https://gohugo.io>.
- Membuat website Hugo baru:
`hugo new site {{alamat/ke/website}}`
- Membuat tema Hugo baru (tema juga dapat diunduh dari <https://themes.gohugo.io/>):
`hugo new theme {{nama_tema}}`
- Membuat halaman baru:
`hugo new {{nama_bagian}}/{{nama_berkas}}`
- Menbuild website ke direktori `./public`:
`hugo`
- Menbuild website termasuk halaman yang ditandai sebagai "draft":
`hugo --buildDrafts`
- Menbuild website ke direktori yang ditentukan:
`hugo --destination {{alamat/tujuan}}`
- Menbuild website, memulai webserver untuk menyajikannya, dan secara otomatis memuat ulang jika ada halaman yang berubah:
`hugo server`