Skip to content

lin-snow/hugo-theme-xlog

Repository files navigation

Xlog

Xlog is a clean and minimal Hugo theme based on Minima . Check out the example site.

demo site

screenshot

Note that the main branch is in development phase, UI or configuration may vary.

Features

  • 🌗 Dark mode
  • 📚 Multilingual support
  • 🎨 Highly customizable
  • 🏳️‍🌈 Syntax highlighting - Rose Pine Moon
  • 🔢 Mathematical expressions - KaTeX
  • 💹 Diagrams and flowcharts - Mermaid
  • 🧑‍💻 Comment systems - Waline, Twikoo, Artalk, Disqus, Utterances, Giscus
  • 🔎 Site search - FuseJS
  • 📈 Google Analytics integration
  • 🔗 External link support
  • ✉️ RSS feed generation
  • ⚡️ Fast loading speed
  • 🔒 High stability and reliability
  • 📄 Multiple single page support (including About, Gallery, Links, Archives)
  • 📜 Shortcode support (including fullscreen)
  • 🖼️ Excellent image display support

Usage

Before using Xlog, make sure you've got Hugo (extended version) installed on your device.

Installation

You can use either git submodule or git clone to fetch this theme into the directory where Hugo places themes.

Git Clone

git clone https://github.com/lin-snow/hugo-theme-xlog.git themes/xlog

Configuration

Follow exampleSite/config.yaml and edit your own one.

Supported Front Matters

Attr Type Explanation
title string title
description string description
date string creation time
categories array category list
series array series list
tags array tag list
math bool enables math plugin
diagram bool enables diagram plugin
comment bool enable comment plugin
draft bool disallow being published
link string a URL to redirect to

Feedback

Feedbacks are welcome here.

Star History

Star History Chart

License

Hugo Minima is MIT licensed.