Hugoの改善
Hugo単体のバージョンアップ
- aptでインストールできるバージョンが古いので手動でインストール
wget https://github.com/gohugoio/hugo/releases/download/v0.140.2/hugo_0.140.2_linux-amd64.deb
sudo dpkg -i hugo_0.140.2_linux-amd64.deb
hugo version
tagページとsearchページの追加
- config.ymlに以下を追記
- identifier: search
name: search
url: /search
- identifier: tags
name: tags
url: /tags/
iframeの表示
- config.ymlに以下を追記
markup:
goldmark:
renderer:
unsafe: true
グラフ
- goat記法が使える