Time Machine screenshot

Time Machine

Author Avatar Theme by Pages themes
Updated: 17 Jan 2024
90 Stars

Time machine is a Jekyll theme for GitHub Pages

Overview:

The Time Machine theme is a Jekyll theme designed for GitHub Pages. It provides users with a pre-designed theme that they can use to quickly and easily create their website. The theme aims to meet the majority of users’ needs with its simplicity, while also allowing for customization and additional complexity if desired.

Features:

  • Preview: Users can preview the Time Machine theme to see how it will look on their website.
  • Customization: The theme allows users to customize various configuration variables in their site’s _config.yml file.
  • Custom Styles: Users can add their own custom CSS or Sass styles to the theme by creating a file called /assets/css/style.scss in their site.
  • Layouts: Users have the option to change the HTML layout of the theme by creating a file called /_layouts/default.html in their site.
  • Google Analytics: The theme provides instructions on how to add Google Analytics code to the site.
  • Overriding GitHub-generated URLs: Users can override default GitHub-generated URLs by specifying their own URLs in the site’s _config.yml file.

Installation:

To use the Time Machine theme, follow these steps:

  1. Add the following code snippet to your site’s _config.yml file:
# Configuration variables for Time Machine theme
  1. If you would like to preview the site on your computer, add the following code snippet to your site’s Gemfile:
gem "time-machine"
  1. Customize the theme by modifying the configuration variables in the _config.yml file. Additionally, you can add your own custom CSS or Sass styles by creating a file called /assets/css/style.scss in your site and adding the desired styles.

  2. Optionally, you can change the HTML layout of the theme by creating a file called /_layouts/default.html in your site and modifying the layout content.

  3. If you want to add Google Analytics code, paste it into the file \_includes/head-custom-google-analytics.html in your Jekyll site.

  4. To override GitHub-generated URLs, follow the instructions provided in the documentation and specify the desired URLs in the _config.yml file.

For more detailed instructions and information, refer to the official documentation.

Summary:

The Time Machine theme is a Jekyll theme designed for GitHub Pages. It offers a quick and easy way for users to create their websites with its pre-designed theme. The theme provides customization options through configuration variables, custom styles, and HTML layouts. It also includes instructions for adding Google Analytics code and overriding GitHub-generated URLs. Overall, the theme aims to simplify the website creation process while offering options for additional complexity if desired.