hugo-teek is loading...

hugo部署

最后更新于:

安装hugo

(1)安装go

https://go.dev/dl/go1.24.5.windows-amd64.msi

(2)安装hugo

Releases · gohugoio/hugo · GitHub

https://github.com/gohugoio/hugo/releases/download/v0.148.2/hugo_extended_withdeploy_0.148.2_windows-amd64.zip

快速使用

Quick start

  1. Install Hugo (extended or extended/deploy edition, v0.128.0 or later)
1hugo new site hugo-one
2cd hugo-one
3git init
4git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
5echo "theme = 'ananke'" >> hugo.toml
6
7hugo new content content/posts/my-first-post.md
8
9hugo server -D
 1+++
 2title = 'My First Post'
 3date = 2024-01-14T07:07:07+01:00
 4draft = true
 5+++
 6## Introduction
 7
 8This is **bold** text, and this is *emphasized* text.
 9
10Visit the [Hugo](https://gohugo.io) website!
  • 效果

image-20250805143423451

其它主题

https://themes.gohugo.io/themes/fixit/

image-20250805143208088

https://themes.gohugo.io/themes/hugo-theme-dream/

image-20250805143151607

稍微看的过眼的hugo主题

结束。

推荐使用微信支付
微信支付二维码
推荐使用支付宝
支付宝二维码
最新文章

文档导航