Featured image of post Install and create new post

Install and create new post

fedora install

  • 下載和安裝 snap

    1
    2
    
    sudo dnf install snapd
    sudo ln -s /var/lib/snapd/snap /snap
    
  • 重新開啟 terminal 或重新登入

  • check snap is installed

    1
    2
    
    sudo snap install hello-world
    sudo snap install hugo
    
  • enable automatic updates sudo snap refresh –unhold hugo

sudo dnf install hugo

create new post

hugo new post/my-new-post/index.zh-tw.md

build

1
hugo 

這樣就可以了

Licensed under CC BY-NC-SA 4.0
使用 Hugo 建立
主題 StackJimmy 設計