summaryrefslogtreecommitdiff
path: root/zola.toml
diff options
context:
space:
mode:
Diffstat (limited to 'zola.toml')
-rw-r--r--zola.toml218
1 files changed, 218 insertions, 0 deletions
diff --git a/zola.toml b/zola.toml
new file mode 100644
index 0000000..7e74e4c
--- /dev/null
+++ b/zola.toml
@@ -0,0 +1,218 @@
+# Zola 0.23.3 configuration
+# https://www.getzola.org/documentation/getting-started/configuration/
+
+# -----------------------------------------------------------------------------
+# Main
+# -----------------------------------------------------------------------------
+
+# サイトの基準URL(唯一の必須項目)
+base_url = "https://www.takashi-2521.com"
+
+# サイト全体のメタデータ。標準feedでも使用される
+title = "たかしの記録"
+description = "日々考えたこととか思ったことを記録します"
+default_language = "ja"
+
+# 外部themeは使用しない。空文字でも指定扱いになるため未指定にする
+# theme = "my-theme"
+
+# build成果物の出力先
+output_dir = "public"
+
+# 再build時に出力先直下のdotfileを保持するか
+preserve_dotfiles_in_output = false
+
+# sass/内のSassをcompileする
+compile_sass = true
+
+# 生成HTMLをminifyするか
+minify_html = false
+
+# content/から除外するassetのglob
+ignored_content = []
+
+# content/内でTera処理を行わないfileのglob
+skip_content_templating = []
+
+# static/から除外するfileのglob
+ignored_static = []
+
+# サイト全体のAtom/RSS feedを生成する
+generate_feeds = true
+
+# sitemapから除外するpagination範囲("none"または"all")
+exclude_paginated_pages_in_sitemap = "none"
+
+# feedのfile名兼template名
+feed_filenames = ["atom.xml", "rss.xml"]
+
+# feedに含める記事数。未指定なら全件
+# feed_limit = 20
+
+# static/および併置assetをcopyではなくhard linkするか
+hard_link_static = false
+
+# Pageとfeedの既定author
+author = "Takashi"
+
+# Notesを分類するtags taxonomy
+taxonomies = [
+ { name = "tags", feed = false },
+]
+
+# taxonomy URLの共通prefix。未指定ならサイトroot
+# taxonomy_root = "blog"
+
+# 既定言語のsearch indexを生成するか
+build_search_index = false
+
+# Zola標準のsitemap.xmlを生成する
+generate_sitemap = true
+
+# Zola標準のrobots.txtを生成する
+generate_robots_txt = true
+
+# -----------------------------------------------------------------------------
+# Markdown
+# -----------------------------------------------------------------------------
+
+[markdown]
+
+# :smile:などのemoji aliasをUnicodeへ変換するか
+render_emoji = false
+
+# 外部linkへ付けるCSS class
+external_links_class = "external-link"
+
+# 外部linkを新しいtabで開くか
+external_links_target_blank = false
+
+# 外部linkへrel="nofollow"を付けるか
+external_links_no_follow = false
+
+# 外部linkへrel="noreferrer"を付けるか
+external_links_no_referrer = false
+
+# 外部linkへrel="external"を付けるか
+external_links_external = true
+
+# 引用符や三点リーダーなどを組版向け文字へ変換する
+smart_punctuation = false
+
+# definition list構文を有効にするか
+definition_list = false
+
+# 画像へdecoding="async"とloading="lazy"を付けるか
+lazy_async_image = true
+
+# footnoteを本文位置ではなく文末へまとめるか
+bottom_footnotes = true
+
+# GitHub形式のalert/calloutを有効にするか
+github_alerts = false
+
+# 見出しへanchor linkを挿入する位置("left"、"right"、"heading"、"none")
+insert_anchor_links = "heading"
+
+# -----------------------------------------------------------------------------
+# Markdown syntax highlighting
+# -----------------------------------------------------------------------------
+
+[markdown.highlighting]
+
+# 未対応言語を含むcode blockをerrorにする
+error_on_missing_language = true
+
+# inline styleではなくclassを出力し、厳格なCSPに対応する
+style = "class"
+
+# 単一theme使用時のtheme名。light/darkとの同時指定はできないため未指定にする
+# theme = "github-light"
+
+# OSのcolor schemeに対応する組み込みtheme
+light_theme = "github-light"
+dark_theme = "github-dark"
+
+# 追加するTextMate grammar/themeのJSON file
+extra_grammars = []
+extra_themes = []
+
+# code blockのdata属性を付ける要素("code"、"pre"、"both"、"none")
+data_attr_position = "code"
+
+# dual themeの生成CSSへcolor-schemeを設定するか
+add_color_scheme = true
+
+# -----------------------------------------------------------------------------
+# Link checker
+# -----------------------------------------------------------------------------
+
+[link_checker]
+
+# このprefixで始まる外部URLはlink確認を省略する
+skip_prefixes = [
+ "http://[2001:db8::]/",
+]
+
+# このprefixで始まる外部URLはanchor確認を省略する
+skip_anchor_prefixes = [
+ "https://caniuse.com/",
+]
+
+# 内部/外部link問題の扱い("error"または"warn")
+internal_level = "error"
+external_level = "warn"
+
+# -----------------------------------------------------------------------------
+# Slugification
+# -----------------------------------------------------------------------------
+
+[slugify]
+
+# path、taxonomy、anchorのslug化方式("on"、"safe"、"off")
+paths = "on"
+taxonomies = "on"
+anchors = "on"
+
+# path slug生成時にfile名先頭の日付を保持するか
+paths_keep_dates = false
+
+# -----------------------------------------------------------------------------
+# Search
+# build_search_index=falseのため現時点では出力されないが、全項目を明示する
+# -----------------------------------------------------------------------------
+
+[search]
+
+include_title = true
+include_description = false
+include_date = false
+include_path = false
+include_content = true
+
+# indexへ含める本文の最大code point数。未指定なら切り詰めない
+# truncate_content_length = 100
+
+# "elasticlunr_javascript"、"elasticlunr_json"、"fuse_javascript"、"fuse_json"
+index_format = "elasticlunr_javascript"
+
+# -----------------------------------------------------------------------------
+# Translations / Languages
+# -----------------------------------------------------------------------------
+
+# default_language向けの任意翻訳。現時点では使用しない
+[translations]
+
+# 追加言語の設定。単一言語サイトのため現時点では使用しない
+[languages]
+
+# -----------------------------------------------------------------------------
+# Custom site metadata
+# -----------------------------------------------------------------------------
+
+[extra]
+
+home_notes_limit = 5
+home_software_limit = 4
+copyright_year = 2026
+mail = "takashi@takashi-2521.com"