Skip to content
 
 

Repository files navigation

Jekyll Theme Apollo

A minimal, clean, and responsive Jekyll theme ported from Hexo Theme Apollo.

hexo-theme-apollo

Features

  • Minimalist Design: Focus on content with a clean and distraction-free layout.
  • Responsive: Looks great on all devices, from desktops to mobiles.
  • Google Analytics: Built-in support for Google Analytics.
  • Disqus Comments: Easy integration with Disqus for comments.
  • Syntax Highlighting: Clean code blocks for your technical posts.
  • MathJax Support: Render mathematical formulas beautifully.

Installation

  1. Clone the repository:

    git clone https://github.com/iqiancheng/jekyll-theme-apollo.git
    cd jekyll-theme-apollo
  2. Install dependencies:

    bundle install
  3. Run the server:

    bundle exec jekyll serve
  4. Open http://localhost:4000 in your browser.

Configuration

The main configuration is handled in _config.yml.

title: Apollo
description: A Blog Powered By Jekyll
url: "http://example.com"
baseurl: ""

# Assets
logo: /assets/favicon.png
favicon: /assets/favicon.png

# Comments
disqus: your_disqus_shortname

# Analytics
google_analytics: UA-XXXXXXXX-X

For more details, check the Documentation.

Writing Posts

Create markdown files in the _posts directory with the following format: YYYY-MM-DD-title.md.

---
layout: post
title: "Hello World"
date: 2023-10-27 12:00:00
---

Your content here...

See Writing Posts for more advanced usage.

License

MIT

About

pengyanai.github.io

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages