| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is my personal website built with Jekyll, where I share thoughts, experiments, and other literary works.
Install Ruby (if not already installed):
# Install rbenv and ruby-build
brew install rbenv ruby-build
# Add rbenv to bash/zsh
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc # For zsh
source ~/.zshrc
# Using rbenv (recommended)
rbenv install 3.2.2
rbenv global 3.2.2
# Or using asdf
asdf install ruby 3.2.2
asdf global ruby 3.2.2Install Jekyll and dependencies:
# Install bundler
gem install bundler
# Install dependencies
bundle installRun the development server:
bundle exec jekyll serve --livereloadThe site will be available at http://localhost:4000
The site includes several helpful scripts in siteTools.sh:
source siteTools.sh
new_post # Creates a new blog post with proper frontmatter
new_page # Creates a new page with proper layoutCreate new posts in the _posts directory following the naming convention YYYY-MM-DD-title.md. Each post needs frontmatter:
---
layout: post
title: Your Post Title
date: YYYY-MM-DD HH:MM:SS
categories: [category1, category2]
tags: [tag1, tag2]
---This site uses a customized version of the Lanyon Jekyll theme, which is based on Poole.
Open sourced under the MIT license.
| Back | FazBrowse Home | New Git URL |