← 返回命令列表

Linux command

hakyll-init 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create a new Hakyll site

hakyll-init [my-site]

Create in current directory

hakyll-init .

说明

hakyll-init creates a new Hakyll static site project with a basic structure. Hakyll is a Haskell-based static site generator with Pandoc integration. The generated project includes site.hs (main configuration), templates, CSS, sample posts, and images. After initialization, compile site.hs with GHC and use the resulting binary to build and serve the site.

FAQ

What is the hakyll-init command used for?

hakyll-init creates a new Hakyll static site project with a basic structure. Hakyll is a Haskell-based static site generator with Pandoc integration. The generated project includes site.hs (main configuration), templates, CSS, sample posts, and images. After initialization, compile site.hs with GHC and use the resulting binary to build and serve the site.

How do I run a basic hakyll-init example?

Run `hakyll-init [my-site]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more hakyll-init examples?

This page includes 2 examples for hakyll-init, plus related commands for nearby Linux tasks.