- Hugo 기반으로 운영하는 개인 기술 블로그
- 학습 기록과 실험, 시행착오
- Hugo
- Git
Hugo와 Git이 반드시 필요하다.
- 패키지 관리자 Homebrew를 사용하여 Hugo 설치
brew install hugoconfig/_default/
├─ hugo.toml
├─ languages.ko.toml
├─ markup.toml
├─ menus.ko.toml
├─ module.toml # if you installed using Hugo Modules
└─ params.toml
hugo.toml: 사이트 설정 핵심 파일languages.ko.toml: 언어별 설정 지원menus.ko.toml: 언어별 메뉴 설정params.tomlcolorSheme: 테마 색상 변경
- Configuration
hugo serverdraft(초안) 제외- 배포 환경과 동일
# hugo server --buildDrafts
hugo server -Ddraft: true글 포함- 발행하기 전 초안 작성에 사용
# hugo new content posts/[게시글 디렉터리]/index.md
hugo new content posts/retrospective-2026/index.md- 게시글 작성
기본 템플릿
title: '게시글 제목'
date: 2026-03-01
categories: ["목차"]
tags: ["태그1", "태그2"]
draft: true- title: 게시글 제목
- date: 게시글 작성 일자,
2026-03-01T00:00:00+09:00형태로 작성이 가능하나 생략 가능, Raycast Snippets 사용 - categories: 목차
- tags: 태그
- draft: 초안, 발행 시
false로 변경 또는 생략 가능
개인 설정
- lastmod: 게시글 수정 날짜
- series
- GitHub Pages를 사용하여 배포 진행
- GitHub main 브랜치에
push하면 자동으로 작업 시작,.github/workflows/gh-pages.yml->(결과) gh-pages 브랜치
- Hosting & Deployment
git submodule update --remote --merge