やってみる

アウトプットすべく己を導くためのブログ。その試行錯誤すらたれ流す。

Zolaのconfig.tomlを設定する

 ざっくり。

参考

前提

  1. Zola 0.14.0 をビルドする(静的サイトジェネレータ)
  2. zolaを使ってサイトを構築してみる(zola init)

手順

 以下のように編集する。

config.toml

base_url = "https://example.com"
compile_sass = true
build_search_index = true
generate_feed = true
feed_filename = "atom.xml"
#minify_html = false
#ignored_content = []

default_language = "ja"
title = "ytyaru-zola"
description = "静的サイトジェネレータ<code>zola</code>について書きなぐる。自作テンプレートも配布する。"
#theme = ""

[markdown]
highlight_code = true
highlight_theme = "base16-ocean-dark"

[search]
include_title = true
include_description = true
include_content = true
include_path = false

[extra]
author = "ytyaru"

所感

 ポイントはdefault_language = "ja"