https://github.com/tejasbubane/tejasbubane.github.io
My blog
https://github.com/tejasbubane/tejasbubane.github.io
blog hakyll haskell javascript ruby
Last synced: about 1 month ago
JSON representation
My blog
- Host: GitHub
- URL: https://github.com/tejasbubane/tejasbubane.github.io
- Owner: tejasbubane
- Created: 2019-02-10T19:30:24.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2026-02-08T20:04:21.000Z (4 months ago)
- Last Synced: 2026-02-09T01:19:59.899Z (4 months ago)
- Topics: blog, hakyll, haskell, javascript, ruby
- Language: HTML
- Homepage: https://tejasbubane.github.io/
- Size: 2.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tejas' Blog
Built using [zola](https://www.getzola.org/) - a superfast static site generator built in [rust](https://www.rust-lang.org/).
### Installation
`Zola` is a standalone binary which can be installed on all major platforms using package managers or from source.
Instructions are [here](https://www.getzola.org/documentation/getting-started/installation/).
### Theme
Theme used is [even](https://www.getzola.org/themes/even/).
Even though (pun intended) `zola` has direct support for this theme, I needed some customizations, so [I ended up forking the main theme](https://github.com/tejasbubane/even/). The customized theme is used as [submodule in this repo](./themes).
After cloning this repo for the first time, initialize the submodule:
```sh
git submodule update --init
```
Subsequently whenever changes are made to the theme, submodule needs to be updated for the changes to reflect here:
```sh
git submodule update --remote
```
### Usage
Run local server using:
```sh
zola serve
```
Make draft posts by adding a `draft = true` to front matter (top info section) of any blog post. Then to see posts including drafts:
```sh
zola serve --drafts
```
This will start server on http://localhost:1111
For more usage instructions [refer this](https://www.getzola.org/documentation/getting-started/cli-usage/).
### Deploying
After making changes and verifying in browser, just commit and push changes. [Github Actions](./.github/workflows/zola.yml) will build static pages and deploy to [Github pages](https://pages.github.com/) automatically.
**Note:** Work on `main` branch. CI will commit and push changes on `gh-pages` branch. Repo has github pages [configured](https://docs.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site) with `branch=gh-pages` and `path=root`.