1
0
Fork
You've already forked snow-kitty
0
A Zola catppuccin theme based on Anpu for my blog
  • JavaScript 98.6%
  • HTML 1.1%
  • CSS 0.3%
2024年07月16日 14:38:10 +02:00
content Rewording and emoji 2024年07月03日 03:29:36 +02:00
highlight_themes Add support for syntax highlighting with catppuccin 2024年07月02日 21:28:23 +02:00
static Changing the about css code to work with the new theme toggle mechanism 2024年07月16日 14:38:10 +02:00
templates Including the theme toggle into the index base html template 2024年07月16日 14:33:28 +02:00
.gitignore Adding base config for tailwind 2024年07月03日 19:13:58 +02:00
config.toml Adding base config for tailwind 2024年07月03日 19:13:58 +02:00
LICENSE add MIT license file 2020年06月06日 19:20:52 +02:00
main.css Adding scrollbar for large codeblocks 2024年07月04日 01:01:40 +02:00
package-lock.json Adding base config for tailwind 2024年07月03日 19:13:58 +02:00
package.json Adding base config for tailwind 2024年07月03日 19:13:58 +02:00
README.md new darkmode icon, attributions, screenshots 2023年09月17日 19:49:23 +02:00
screenshot-dark.png new darkmode icon, attributions, screenshots 2023年09月17日 19:49:23 +02:00
screenshot-light.png new darkmode icon, attributions, screenshots 2023年09月17日 19:49:23 +02:00
screenshot.png add missing screenshot.png needed for the themes gallery 2023年10月21日 15:38:22 +02:00
tailwind.config.js Adding a bit of code to manually switch the theme and base itself on system preference 2024年07月16日 14:33:08 +02:00
temp new darkmode icon, attributions, screenshots 2023年09月17日 19:49:23 +02:00
theme.toml switch from netlify to vercel for demo 2024年02月27日 16:13:42 +01:00

Anpu theme for Zola

This is a port of the Hugo theme Anubis for Zola.

Screenshots

Light mode Dark mode
light mode website screenshot dark mode website screenshot

Usage

In order to use the theme you need to clone this repository in your themes folder:

git clone https://github.com/zbrox/anpu-zola-theme.git themes/anpu

Then set your theme setting in config.toml to anpu:

theme = "anpu"

This theme requires both the tags and categories taxonomies.

taxonomies = [
 { name = "categories" },
 { name = "tags" },
]

How To Customize

There are two things you can customize:

  • The links to be included in the menu
  • The date format of the posts

In your config.toml under the [extra] section you need to set the anpu_menu_links list.

Example:

[extra]
anpu_menu_links = [
 { url = "$BASE_URL/about/", name = "About" },
]

If you include $BASE_URL in the url of a link it will be replaced to the base url of your site.

Date format

In your config.toml under the [extra] section you need to set the anpu_date_format value.

Example:

[extra]
anpu_date_format = "%e %B %Y"

The formatting uses the standart date filter in Tera. The date format options you can use are listed in the chrono crate documentation.

Attributions

The icons used are part of UXWing's collection.

License

Source code is available under MIT.