mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
hugo: refresh pages (#18039)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# hugo
|
||||
|
||||
> Penghasil situs web statis berbasis template. Menggunakan modul, komponen dan tema.
|
||||
> Informasi lebih lanjut: <https://gohugo.io>.
|
||||
> Informasi lebih lanjut: <https://gohugo.io/commands/>.
|
||||
|
||||
- Buat sebuah proyek situs web Hugo baru:
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
|
||||
- Bangun situs web termasuk halaman yang ditandai sebagai "draft":
|
||||
|
||||
`hugo --buildDrafts`
|
||||
`hugo {{[-D|--buildDrafts]}}`
|
||||
|
||||
- Bangun situs web dengan untuk dijalankan pada alamat IP lokal:
|
||||
|
||||
`hugo server --bind {{ip_lokal}} --baseURL {{http://ip_lokal}}`
|
||||
`hugo server --bind {{ip_lokal}} {{[-b|--baseURL]}} {{http://ip_lokal}}`
|
||||
|
||||
- Bangun situs web menuju direktori yang ditentukan:
|
||||
|
||||
`hugo --destination {{alamat/tujuan}}`
|
||||
`hugo {{[-d|--destination]}} {{alamat/tujuan}}`
|
||||
|
||||
- Bangun situs web dan jalankan peladen (server) untuk menyajikannya, dengan memuat ulang saat terdapat halaman yang berubah:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> 템플릿 기반 정적 사이트 생성기. 모듈, 구성 요소 및 테마를 사용
|
||||
> `server`와 같은 일부 하위 명령에는 자체 사용법 문서가 있음.
|
||||
> 더 많은 정보: <https://gohugo.io>.
|
||||
> 더 많은 정보: <https://gohugo.io/commands/>.
|
||||
|
||||
- 새로운 Hugo 사이트 생성:
|
||||
|
||||
@@ -22,15 +22,15 @@
|
||||
|
||||
- "초안"으로 표시된 페이지를 포함하는 사이트 구축:
|
||||
|
||||
`hugo --buildDrafts`
|
||||
`hugo {{[-D|--buildDrafts]}}`
|
||||
|
||||
- 로컬 IP에 사이트 구축:
|
||||
|
||||
`hugo server --bind {{로컬_ip}} --baseURL {{http://로컬_ip}}`
|
||||
`hugo server --bind {{로컬_ip}} {{[-b|--baseURL]}} {{http://로컬_ip}}`
|
||||
|
||||
- 주어진 디렉토리에 사이트를 구축:
|
||||
|
||||
`hugo --destination {{경로/대상/목적지}}`
|
||||
`hugo {{[-d|--destination]}} {{경로/대상/목적지}}`
|
||||
|
||||
- 사이트를 구축하고, 웹 서버를 시작하여 서비스를 제공하여, 페이지가 편집되면 자동으로 다시 로드됨:
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
- Build a site on your local IP:
|
||||
|
||||
`hugo server --bind {{local_ip}} --baseURL {{http://local_ip}}`
|
||||
`hugo server --bind {{local_ip}} {{[-b|--baseURL]}} {{http://local_ip}}`
|
||||
|
||||
- Build a site to a given directory:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user