jekyll-theme-gungnir

jekyll-theme-gungnir

A blog theme for Jekyll.

Gungnir

Gungnir is a blog theme for Jekyll. It is derived from Huxpro/huxpro.github.io, thanks for this theme.

Gungnir is the spear of the god Odin in Norse mythology.

中文说明 | English Intro

 

Demo

Check out the live demo here.

 

Documentation

Check out the documentation here. It supports Chinese and English now.

 

Features

  • Fully responsive
  • Multi-level navigation menu
  • Switchable cover images for home page
  • Dark and light themes: system theme detection with a theme-switcher to set the theme as per the user preference
  • Search (based on Simple-Jekyll-Search)
  • Table of contents (based on Tocbot)
  • Syntax highlighting based on Highlight.js, support opening code blocks in full screen and highlighting the current line (adapted from a WordPress theme Sakura)
  • Support Mathjax, Katex, Chart.js and mermaid
  • Additional styles (alert and tag)
  • Support Markdown emoji (based on jemoji) and additional emoji (for example, bilibili tv)
  • Comments (Gitalk, Disqus and Valine)
  • About, Portfolio and Link page

Inherit from the original theme:

 

Quick start

git clone https://github.com/Renovamen/jekyll-theme-gungnir.git
cd jekyll-theme-gungnir

# install denpendencies
bundle config set path 'vendor/bundle'
bundle install

# local preview
bundle exec jekyll serve

 

License

Gungnir is Apache License 2.0 licensed, see the LICENSE file for details.