Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/tabiPublic

An accessible Zola theme with search, multi-language support, optional JavaScript, a perfect Lighthouse score, and comprehensive documentation. Crafted for personal websites and blogs.

License

NotificationsYou must be signed in to change notification settings

welpo/tabi

Repository files navigation

PRs welcomeContributorsForksLast commit
Latest releaseDocumentationLicenseClean commitsAverage time to resolve an issuePercentage of issues still open

🌱 tabi

An accessibleZola theme withsearch,multi-language support,optional JavaScript, a perfect Lighthouse score, andcomprehensive documentation. Crafted for personal websites and blogs.

Tip

Want to start blogging right away? Use thetabi-start template to get a complete site up and running in minutes.

See a live preview (and the theme's documentation)here.

Explore theSites Using tabi section to see real-world applications.

tabi (旅, /tɐˈbi/): Journey.

tabi

tabi has a perfect score on Google's Lighthouse audit:

lighthouse

Features

Installation

Note

The fastest way to create a new site is to use thetabi-start template. This gives you a complete blog setup with all the essential configuration ready to go.

Manual installation

To add tabi to you existing Zola site:

  1. Initialize a Git repository in your project directory (if you haven't already):
git init
  1. Add the theme as a git submodule:
git submodule add https://github.com/welpo/tabi.git themes/tabi

Or clone the theme into your themes directory:

git clone https://github.com/welpo/tabi.git themes/tabi

Required configuration

  1. Enable the theme in yourconfig.toml:
theme = "tabi"
  1. Set atitle in yourconfig.toml:
title = "Your Site Title"
  1. Configure code block highlighting in yourconfig.toml:
[markdown]highlight_code =truehighlight_theme ="css"
  1. Create acontent/_index.md file. This file controls how your home page looks and behaves. Choose one of the following options:

    Option A: Serve posts from/:

    +++title = "Home"paginate_by = 5  # Show 5 posts per page.+++
    • This will display posts incontent/ with pagination.

    Option B: Serve posts from a different path (e.g.,blog/):

    +++title = "Home"# Note we're not setting `paginate_by` here.[extra]section_path = "blog/_index.md"  # Where to find your posts.max_posts = 5  # Show 5 posts on the home page.+++
    • This will display the latest 5 posts from theblog/ section.
    • Do not setpaginate_by if you choose this option.
    • Use the full path to the section's_index.md file. Usingsection_path = "blog/" will not work.

Warning

Do not set bothpaginate_by andsection_path incontent/_index.md.

These settings are mutually exclusive and using both may result in no posts being displayed.

  1. If you want an introduction section (see screenshot above), add these lines tocontent/_index.md:
[extra]header = {title = "Hello! I'm tabi~", img = "img/main.webp", img_alt = "Your Name" }

The content outside the front matter will be rendered between the header title and the posts listing. In the screenshot above, it's the text that reads "tabi is a fast, lightweight, and modern Zola theme…".

  1. If you want a multilingual site, you will need to set up each language. Inconfig.toml, set the title and taxonomies for each language, like:
[languages.es]title ="~/tabi"taxonomies = [{name ="tags",feed =true}]

You will need an_index.{language_code}.md per language for each section (e.g. /blog or /projects) that you want to enable in that language.

The same is true for individual posts, which should have the exact same name as the default language, with an extra.{code} before the extension (e.g. the Spanish version ofsecurity.md would besecurity.es.md).

This configuration allows the language switcher to take the user to the translation of the current URL. If a translation doesn't exist, the 404 page will be displayed, with an explanation in each language set in the config.

To learn more about multilingual support, see theFrequently Asked Questions.

Updating tabi

If you added the theme as a git submodule, run:

git submodule update --remote themes/tabi

If you cloned it:

cd themes/tabigit pull

Sites using tabi

WebsiteCreatorDescriptionSite Source
osc.gardenÓscar Fernández (welpo)Data science, psychology, and ZolaSource
sandip.liveSandip G (sandman)Startups, tech and the good lifeSource
seadve.github.ioDave Patrick Caberto (SeaDve)Personal blog and portfolio with custom CSSSource
mikufan.pageNadiaPersonal blogSource
tim-boettcher.onlineTim BöttcherInsights and ramblings of a deafblind programmerSource
www.richtman.auAriel RichtmanPersonal tech blogSource
Ponderosa GamesJohn Burak (JVimes)A friendly indie game company
jmbhughes.comMarcus Hughes (jmbhughes)Personal blogSource
szabolcs.meSzabolcs Fazekas (szabolcsf)Personal blogSource
NizzlayNiels Gouman (Nizzlay)Personal blogSource
ZzMzaw's blogZzMzaw (ZzMzaw)Personal blogSource
idle-ti.meJérôme Ramette (be-next)Personal blogSource
tzinm.meTzinmPersonal blogSource

Using tabi? Feel free to create a PR and add your site to this list.

Inspiration

This theme was inspired by:

Support

Something not working? Have an idea? Let us know!

Contributing

Please do! We appreciate bug reports, improvements to translations or documentation (however minor), feature requests…

Take a look at theContributing Guidelines to learn more.

License

The code is available under theMIT license.


[8]ページ先頭

©2009-2025 Movatter.jp