JekyllBlog

jekyll-theme-tfg — Jekyll Blog Template

By vfvong

jekyll-theme-tfg is a Jekyll blog theme built on Tachyons, offering light and dark modes, pure Liquid archive pages, Google Analytics 4, Disqus, MathJax, and Font Awesome support.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-03View source

What stands out

A quick read of the recorded project description.

01

Jekyll blog theme built on Tachyons, keeping code and design minimal

02

Supports light and dark modes via prefers-color-scheme

03

Archive pages implemented in pure Liquid, can be generated by year, category, or tag

04

Configurable Google Analytics 4, Disqus comments, and MathJax mathematical formulas

05

Navigation and social links configured via YAML files under _data, social icons use Font Awesome

06

Supports gem installation, and can also be referenced on GitHub Pages via jekyll-remote-theme

Template Details

jekyll-theme-tfg (TFG, Tiny Friendly Giant) is a Jekyll theme for building blogs, named after the codename of the Koenigsegg Gemera engine. The theme is built on Tachyons, aiming to keep code and design minimal while providing blog functionality.

In terms of features, the theme supports light and dark modes via prefers-color-scheme; archive pages are implemented in pure Liquid and can be generated by year, category, or tag; it can integrate Google Analytics 4, Disqus comments, MathJax mathematical formula rendering, and Font Awesome icons. Navigation and social links are configured through _data/navigation.yml and _data/social.yml respectively.

For usage, it can be installed as a gem and declared as theme in _config.yml, or referenced via jekyll-remote-theme as remote_theme in GitHub Pages scenarios. For customization, you can copy _sass/tfg/_variables.scss to your own repository to modify colors and fonts, or create _includes/custom-head.html to append content to <head> without overriding the entire head.html. MathJax is disabled by default and requires setting math: true on a page to enable.

Regarding licensing, the repository uses the MIT license, allowing free use, modification, commercial use, and distribution of this version of the code, provided the copyright notice and full MIT license notice are retained when distributing; demo images, fonts, icons, and other third-party assets require separate verification of their respective licenses.

JekyllBlog

Is it right for your project?

Use Cases

  • Building a personal blog with Jekyll and needing light and dark modes
  • Needing to generate post archive pages by year, category, or tag
  • Blog posts need to render mathematical formulas (MathJax)
  • Wishing to integrate Google Analytics 4 statistics and Disqus comments

Suitable For

  • Developers building static blogs with Jekyll
  • Users deploying sites on GitHub Pages and wishing to reference the theme via remote_theme
  • Those who prefer configuring navigation and social links through YAML data files

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Add gem "jekyll-theme-tfg" to the Gemfile, set theme: jekyll-theme-tfg in _config.yml, then run bundle

  2. 2

    For GitHub Pages, use the jekyll-remote-theme plugin instead and set remote_theme: vfvong/jekyll-theme-tfg

  3. 3

    Customizing colors and fonts: copy _sass/tfg/_variables.scss to the corresponding path in your repository and modify the variables

  4. 4

    Appending content to <head>: create _includes/custom-head.html in your repository without overriding head.html

  5. 5

    MathJax is disabled by default; set math: true on the target page to enable it

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not imply that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version of the code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Enabling Disqus comments requires registering a Disqus account and obtaining a shortname; the comment feature depends on this third-party external service and may be subject to its terms of service and fee policies.
  • Enabling Google Analytics 4 requires registering a Google Analytics account and providing a Measurement ID; the statistics depend on this third-party external service.
  • Mathematical formula rendering depends on third-party MathJax and is disabled by default; it requires setting math: true on a page to enable.
  • Social icons depend on third-party Font Awesome resources; the licensing of their icon assets requires separate verification.
  • Demo images, fonts, icons, and other third-party assets must be checked under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domain, hosting, database, payment, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

To enable [Disqus](https://disqus.com/), just set the [Disqus shortname](https://help.disqus.com/en/articles/1717111-what-s-a-shortname) in the `_config.yml`

Original README

To enable it, just set the Measurement ID in the `_config.yml`

Original README

TFG relies on the [MathJax](https://www.mathjax.org/) to render math. The MathJax is disabled by default.

Original README

You don't need to import any large SVG file to render the icons because TFG supports the [Font Awesome](https://fontawesome.com/).

Original README
https://github.com/vfvong/jekyll-theme-tfg/blob/main/LICENSE.txthttps://github.com/vfvong/jekyll-theme-tfg/blob/main/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-03. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 65 / 100
Technologies
Jekyll
Website type
Blog
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2022-03-11
Screenshot last checked
2026-10-03

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Jekyll as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: cef8a3cb92c71d5db34cb75db58f2505e039335d8803ce8bfcd6c4b15bb7bcd8

2026-10-03T06:35:29.745Z

Source file / repository
# Jekyll Theme TFG <!-- omit in toc -->

TFG is a tiny friendly giant Jekyll theme for powering blogs. The name of this theme is from [Koenigsegg Gemera](https://www.koenigsegg.com/gemera/)'s engine ["Tiny Friendly Giant"](https://www.koenigsegg.com/gemera/tiny-friendly-giant-engine/). It is small when it comes to emissions and consumption, and at the same time, it is big when it comes to power, torque, and sound. The target of this theme is similar—While providing friendly and powerful blog functions, try to keep the code and the design as tiny as possible.

TFG is built on [Tachyons](https://tachyons.io/).

Preview the [demo](http://vfvong.blog/jekyll-theme-tfg/).

![Screenshot light](screenshot-light.png)
![Screenshot dark](screenshot-dark.png)

## Highlight Features <!-- omit in toc -->

- Light and dark mode, via [`prefers-color-scheme`](https://web.dev/prefers-color-scheme/)
- Archive pages implemented in pure [Liquid](https://shopify.github.io/liquid/)
- [Google Analytics 4](https://analytics.google.com/analytics/web/)
- [Disqus](https://disqus.com/)
- [MathJax](https://www.mathjax.org/)
- [Font Awesome](https://fontawesome.com/)

## Table of Contents <!-- omit in toc -->

- [Installation](#installation)
- [Usage](#usage)
  - [Customization](#customization)
  - [Archive Pages](#archive-pages)
  - [Google Analytics 4](#google-analytics-4)
  - [Disqus](#disqus)
  - [MathJax](#mathjax)
  - [Navigation](#navigation)
  - [Social Links](#social-links)
- [Contributing](#contributing)
- [Development](#development)
- [License](#license)

## Installation

Add this line to your Jekyll site's `Gemfile`:

```ruby
gem "jekyll-theme-tfg"
```

And add this line to your Jekyll site's `_config.yml`:

```yaml
theme: jekyll-theme-tfg
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install jekyll-theme-tfg

If your website is hosted on GitHub Pages, you can install this theme via [`jekyll-remote-theme`](https://github.com/benbalter/jekyll-remote-theme).

Add the following to your `Gemfile`:

```ruby
gem "jekyll-remote-theme"
```

And add this line to your Jekyll site's `_config.yml`:

```yml
plugins:
  - jekyll-remote-theme
```

Add the following to your site's `_config.yml`:

```yml
remote_theme: vfvong/jekyll-theme-tfg
```

## Usage

Ease of use is one of the design goals of TFG. Basically, you only need to refer to the [`_config.yml`](https://github.com/vfvong/jekyll-theme-tfg/blob/gh-pages/_config.yml) file of the demo to set the basic parameters required to run the website.

### Customization

You can of course fork the entire repository and make custom changes on your copy, but there is a much cleaner way: after referencing the theme, you just need to copy the [`_sass/tfg/_variables.scss`](https://github.com/vfvong/jekyll-theme-tfg/blob/main/_sass/tfg/_variables.scss) file to your repository in the corresponding path, and then modify some variables, you can customize the color and fonts you like.

If you want to put some extra data into the `<head>`, you don't need to overwrite the entire `_includes/head.html` file, and you just need to create a file `_includes/custom-head.html` in your repository, and then put your data into there.

### Archive Pages

TFG provides a template `archive` to archive posts by years, categories, or tags.

If you want to show an archive page of years, just create a file and put these front matter in it:

```yml
---
layout: archive
type: years
title: Archive by Years
---
```

Similarly, if you want to show an archive page of categories, just create a file and put these front matter in it:

```yml
---
layout: archive
type: categories
title: Archive by Categories
---
```

Besides, if you want the categories and tags displayed in the post to link to the archive pages, you need to configure the paths to the category and tag archive pages in the `_config.yml` file, for example:

```yml
categories_path: /categories/
tags_path: /tags/
```

### Google Analytics 4

TFG support the [Google Analytics 4](https://support.google.com/analytics/answer/10089681). To enable it, just set the Measurement ID in the `_config.yml`, for example,

```yml
google_analytics: G-XXXXXXXXXX
```

### Disqus

To enable [Disqus](https://disqus.com/), just set the [Disqus shortname](https://help.disqus.com/en/articles/1717111-what-s-a-shortname) in the `_config.yml`, for example,

```yml
disqus: <your disqus shortname>
```

### MathJax

TFG relies on the [MathJax](https://www.mathjax.org/) to render math. The MathJax is disabled by default. You need to set `math: true` on the page where you want to enable the MathJax.

### Navigation

The navigation in TFG is very easy to configure, just specify the titles and URLs in the [`_data/navigation.yml`](https://github.com/vfvong/jekyll-theme-tfg/blob/gh-pages/_data/navigation.yml) file, for example,

```yml
- title: Home
  url: /
- title: About
  url: /about.html
- title: Archive
  url: /archive.html
```

### Social Links

The social links in TFG is also very easy to connfigure. You don't need to import any large SVG file to render the icons because TFG supports the [Font Awesome](https://fontawesome.com/). Specify the titles, URLs, and icons in the [`_data/social.yml`](https://github.com/vfvong/jekyll-theme-tfg/blob/gh-pages/_data/social.yml) file, for example,

```yml
- title: Email
  url: mailto:[email protected]
  icon: fas fa-envelope
- title: Twitter
  url: https://twitter.com/vfvong
  icon: fab fa-twitter
- title: GitHub
  url: https://github.com/vfvong
  icon: fab fa-github
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vfvong/jekyll-theme-tfg. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## Development

To set up your environment to develop this theme, run `bundle install`.

Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-tfg.gemspec` accordingly.

## License

The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.