1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +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

767 B

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

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