A simple, fully-featured Hugo blogging theme with Dracula colors
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
earnest ma b209dbb47d
chore: Bump version to 0.3.2
3 months ago
assets feat: Add support for comments from Mastodon posts (API) 5 months ago
exampleSite docs: Add exampleSite and theme metadata 4 months ago
images docs: Add exampleSite and theme metadata 4 months ago
layouts chore(deps): Bump DOMPurify to version 2.2.7 3 months ago
.editorconfig chore: Add .editorconfig file 5 months ago
changelog.md chore: Update changelog for v0.3.2 3 months ago
contributing.md chore: Add contributing.md 5 months ago
license chore: Add license (MIT) 5 months ago
openring-template-in.html feat: Add openring incoming template example 5 months ago
readme.md chore: Use non-WWW links 4 months ago
theme.toml misc: Initial commit! 5 months ago
version chore: Bump version to 0.3.2 3 months ago

readme.md

Dracublog

git repo GitHub mirror

A simple, fully-featured Hugo blogging theme with Dracula colors.

Features:

  • Basic support for Gemini output
  • Full content RSS feed by default
  • Support for author/ multi-author posts
  • Support for "comments" through Mastodon's API (toot)
  • Optional openring styling (generates a list of recent posts from blogs you follow)
  • noindex param to prevent certain pages from being indexed

Demo: -

My personal site uses this theme.

Install

  • Git submodule

git submodule add https://git.earne.link/earnestma/dracublog.git themes/dracublog

The main branch will always point to the latest stable tag. To track the develop branch, you may instead use git submodule add https://git.earne.link/earnestma/dracublog.git themes/dracublog -b develop

  • Release

Regular and minified release tarbells are available: here and on GitHub releases. Simply uncompress to the themes directory.

Configuration

Gemini Output

Improvements welcome.

config.toml:

[mediaTypes]
[mediaTypes."text/gemini"]
suffixes = ["gmi"]

[outputFormats]
[outputFormats.Gemini]
name = "GEMTEXT"
isPlainText = true
isHTML = false
mediaType = "text/gemini"
protocol = "gemini://"
permalinkable = true
path = "gemini/"

[outputs]
section = ["HTML", "RSS"]

Blog posts (post-filename.md):

A post that has both html and gemini output:

title: "Example"
date: 2020-01-01 13:23:00 -0500
draft: false
outputs:
  - html
  - gemtext

Just gemini:

outputs:
  - gemtext

Gemini content will go in the same post-filename.gmi. A Makefile or automated CI can be used to transfer output and exclude certain files/ directories to the correct directories.

Contributing

Please see contributing.md. This project is licensed under the MIT License.

Thanks