A simple, fully-featured Hugo blogging theme with Dracula colors
 
 
Go to file
earnest ma 472dcc3011
chore: Update docs
2022-05-18 10:57:23 -04:00
assets feat: Add support for comments from Mastodon posts (API) 2021-02-05 20:05:10 -05:00
exampleSite chore: Update docs 2022-05-18 10:57:23 -04:00
images docs: Add exampleSite and theme metadata 2021-02-10 10:34:00 -05:00
layouts chore(deps): Bump DOMPurify to version 2.2.7 2021-03-12 22:42:22 -05:00
.editorconfig chore: Add .editorconfig file 2021-02-05 11:41:34 -05:00
.gitignore chore: Update docs 2022-05-18 10:57:23 -04:00
changelog.md chore: Update changelog for v0.3.2 2021-03-12 22:50:22 -05:00
contributing.md chore: Update docs 2022-05-18 10:57:23 -04:00
license chore: Update docs 2022-05-18 10:57:23 -04:00
openring-template-in.html feat: Add openring incoming template example 2021-02-05 11:39:45 -05:00
readme.md chore: Update docs 2022-05-18 10:57:23 -04:00
theme.toml misc: Initial commit! 2021-02-05 11:38:17 -05:00
version chore: Bump version to 0.3.2 2021-03-12 22:50:35 -05:00

readme.md

Dracublog

git repo

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

Install

Tarball

  • Version: https://git.earne.link/earnestma/dracublog/archive/$VERSION.tar.gz
  • Main branch: https://git.earne.link/earnestma/dracublog/archive/main.tar.gz

You can add themes/dracublog to .gitignore, and extract it there.

Through a git submodule

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

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