Skip to content

namespaceciel/namespaceciel.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bef3c1b · Jan 4, 2025

History

42 Commits
Sep 3, 2024
Sep 28, 2024
Sep 7, 2024
Jan 4, 2025
Sep 4, 2024
Sep 3, 2024
Dec 29, 2024
Sep 4, 2024
Sep 4, 2024
Sep 3, 2024
Sep 4, 2024
Sep 10, 2024
Sep 3, 2024
Sep 4, 2024
Sep 4, 2024
Sep 4, 2024
Oct 17, 2024
Sep 8, 2024
Sep 4, 2024
Sep 3, 2024
Oct 17, 2024
Sep 7, 2024
Sep 3, 2024
Sep 4, 2024
Sep 3, 2024
Sep 4, 2024
Sep 4, 2024

Repository files navigation

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

preview

 

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/Ciel/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.