読了時間: 約2分
更新日: 2024年02月01日
Halve-Zは、Zola用のレトロな2カラムテーマです。検索、タクソノミー、自動配色、メディアショートコード、プロジェクトカード、コメントシステム(Cactus/Giscus)を備えています。
利用可能な (extra) オプション:
subtitleimagecsp_imgdisable_commentsdisable_tocmusich1ヘッダーは、ページのタイトル(左/上ブロック)とサブタイトル(任意、右/下ブロック)用に予約されています。
デフォルトの変数に加えて、ページには画像、サブタイトル、カテゴリー、曲、CSP文字列、複数のタグを設定できます。
+++
title = "Example"
date = 2009-09-09
[taxonomies]
categories = ["general"]
tags = ["tag"]
[extra]
subtitle = "Example subtitle"
disable_comments = true
disable_toc = true
image = "https://example.com/image.png"
csp_img = ["example.com/", "foo.org/example"]
music = ["Michael Pitt", "Death to Birth"]
+++
music変数は、アーティスト名とトラック名を含む配列を受け取ります。LASTFM_KEY環境変数が存在する場合、名前は自動修正され、Last.fmのウェブサイトにリンクされます。
プロジェクトのconfig.tomlでthemeをhalve-zに設定し、以下の例に従ってオプションを調整してください。
###
= "https://geekforce.co.jp"
= "株式会社ギークフォース"
= "株式会社ギークフォースは最新技術を駆使した Webシステム開発 を中心に、 React / Vue / TypeScript / Rust / PHP / Python / Ruby など幅広い技術スタックに精通したエンジニアが、 お客様の課題解決と価値創造を力強く支援します。"
= "en"
= "Geek Force"
= "halve-z"
= true
= true
= true
= false
= true
= [
{ = "categories", = true },
{ = "tags", = true },
]
[]
= true
= true
= false
= true
= "elasticlunr_json"
[]
= true
= true
= "css"
= [
{ = "OneHalfDark", = "syntax-theme-dark.css" },
{ = "OneHalfLight", = "syntax-theme-light.css" },
]
= false
= true
[]
= "safe"
= "safe"
= "safe"
[]
= "en_US"
= "icon-192x192.png"
= "manifest.json"
= true
= true
= true
[]
= false
= false
[]
= "Geek Force"
= "技術オタクの力で、世界を永遠に変えていく"
= false
= { = false, = "100", = "100" }
= true
[]
= "home.webp" #https://failsafe.monster/c1tyh4ll.png
= "bk-prk.png" #https://failsafe.monster/bk-prk.jpg
= "bk-prk.png" #https://failsafe.monster/bk-prk.jpg
= [
{ = "media", = "https://raw.githubusercontent.com/bearcott/8bit-art/master/cities/urban.gif" },
]
[]
= false
= "Posts"
= [
{ = "About", = "/about/" },
{ = "Services", = "/services/" },
]
[]
= false
= false
= false
= false
= false
= [
{ = "posts", = "/posts/" },
]
[]
= "user_email"
= "+81-3-6758-9166"
# mastodon = "server/@user_name"
# twitter = "user_name"
# facebook = "user_name"
# codeberg = "username"
# github = "user_name"
# gitlab = "user_name"
# bitbucket = "user_name"
# stackoverflow = "12345/user_name"
# linkedin = "user_name"
# instagram = "user_name"
# lastfm = "user_name"
# twitch = "user_name"
# reddit = "user_name"
# flickr = "user_name"
# keybase = "user_name"
# hackernews = "user_name"
[]
= "@user@server"
[]
= ""
[]
= "user"
= "server"
[]
= "site_name"
= 10
= false
= 0
[]
= "user_name/repo"
= ""
= "Comments"
= ""
= "pathname"
= "1"
= "1"
= "en"
[]
= true
= false
= "wss://geekforce.co.jp/ws"