Skip to content

theowenyoung/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

63a114a · Mar 27, 2025
Jan 15, 2023
Jul 15, 2024
Jan 15, 2023
Jan 15, 2023
Mar 27, 2025
Mar 14, 2025
Feb 3, 2025
Mar 20, 2025
Jan 15, 2023
Jan 15, 2023
Jan 11, 2024
Feb 24, 2024
Jan 15, 2023
Jan 15, 2023
Jan 15, 2023
Jun 14, 2023
Jul 15, 2024
Mar 14, 2025
Jan 15, 2023
Mar 10, 2023
Dec 17, 2023

Repository files navigation

Owen's Blog

The blog is built with Zola, for my personal need, I've use my forked version to build it.

The only change is that I use /content/xxx.md instead of @/xxx.md to refer the internal markdown files, so that the editor can also go to the linked file.

Related docments

Related Issue 1

Visit it Online

Install

make install

Local Serve

make serve

Local Build

make build

Usage

Write

I use Foam Lite to help me input internal links quickly.

I also use Simple bash to generate template markdown file for the initial blog post.

Search

I use Meilisearch to index my blog, and I introduced it in this article.

How to init the search? the install script is in my dotfiles:

./modules/meilisearch/install_meilisearch_debian.sh
ca meilisearch

Get the meilisear admin api key:

# TEMP_MEILISEARCH_API_KEY is the master key
curl \
  -X GET 'https://meilisearch.owenyoung.com/keys' \
  -H "Authorization: Bearer $TEMP_MEILISEARCH_API_KEY" \
  | json_pp

Then add the admin api key to github actions secrets, then run build site search index.

Then, change the config.toml -> meilisearch_api_key to the user search api key with the above result.

In the future, the build workflow will take care of the search indexing automatically.