Nasm

一个受 Netwide Assembler 网站启发的极简 Zola 主题。

截图

安装

安装此主题最简单的方法是克隆它...

git clone https://github.com/janbaudisch/zola-nasm.git themes/nasm

... 或者将其用作子模块。

git submodule add https://github.com/janbaudisch/zola-nasm.git themes/nasm

无论哪种方式,你都必须在 config.toml 中启用该主题。

theme = "nasm"

选项

有关示例配置,请参阅 config.toml

菜单

菜单显示在顶部。

[[extra.menu]]
name = "Posts"
url = "/posts"

[[extra.menu]]
name = "Tags"
url = "/tags"

日期格式

指定如何显示日期。格式在 这里 描述。

默认值:%Y-%m-%d

[extra]
date_format = "%Y-%m-%d"