A fast, clean, responsive Hugo theme.
Go to file
Pierre Prinetti c2a3179a73
Add support for Fediverse comments
How to add Fediverse comments
=============================

In a post where to allow Fediverse comments:
```yaml
comments:
  fediverse:
    url: https://example.com/@handle/123456789012345678
```

All replies to the Fediverse post will appear as comments.

Moderation
==========

By default, the moderation system is opt-out. All replies will be
published unless they are individually hidden.

To hide one specific Fediverse post:
```yaml
comments:
  fediverse:
    url: https://example.com/@handle/123456789012345678
    hidden:
    - https://example.com/@troll/123456789012345679
```

To switch to opt-in moderation, where only accepted posts are shown:
```yaml
comments:
  fediverse:
    url: https://example.com/@handle/123456789012345678
    moderation: opt-in
    shown:
    - https://example.com/@friend/123456789012345680
```

The JavaScript for the comments is based on [yidhra's
work](https://yidhra.farm/tech/jekyll/2022/01/03/mastodon-comments-for-jekyll.html),
combined with [Daniel Pecos Martinez's
work](https://danielpecos.com/2022/12/25/mastodon-as-comment-system-for-your-static-blog/)
for the Hugo version, as pupularized by [Jan
Wildeboer](https://codeberg.org/jwildeboer/cayman-fedi). It also
includes changes by me.
2024-09-30 15:15:18 +02:00
.github Update enhancement issue template to use GitHub's form schema 2024-08-17 20:12:52 +05:30
assets Add support for Fediverse comments 2024-09-30 15:15:18 +02:00
i18n Update Turkish translation (#1564) 2024-08-16 21:35:33 +05:30
images images: update 2020-09-25 13:35:31 +05:30
layouts Add support for Fediverse comments 2024-09-30 15:15:18 +02:00
go.mod chore: add go.mod (#51) 2020-10-21 10:36:44 +05:30
LICENSE Update LICENSE 2024-01-06 19:11:50 +05:30
README.md Update README.md 2024-04-13 18:08:40 +05:30
theme.toml Bump minimum Hugo version to 0.112.4 2023-12-16 19:59:55 +05:30

Hugo PaperMod | Demo

☄️ Fast | ☁️ Fluent | 🌙 Smooth | 📱 Responsive


Hugo PaperMod is a theme based on hugo-paper.
The goal of this project is to add more features and customization to the og theme.

Documentation can be found here: 📚 Wiki

ExampleSite can be found here: exampleSite. Demo is built up with exampleSite as source.

hugo-papermod Minimum Hugo Version Discord GitHub code-size X (formerly Twitter) URL


Mockup image


Features/Mods 💥

  • Uses Hugo's asset generator with pipelining, fingerprinting, bundling and minification by default.
  • 3 Modes:
  • Table of Content Generation (newer implementation).
  • Archive of posts.
  • Social Icons (home-info and profile-mode).
  • Social-Media Share buttons on posts.
  • Menu location indicator.
  • Multilingual support. (with language selector).
  • Taxonomies.
  • Cover image for each post (with Responsive image support).
  • Light/Dark theme (automatic theme switch a/c to browser theme and theme-switch button).
  • SEO Friendly.
  • Multiple Author support.
  • Search Page with Fuse.js
  • Other Posts suggestion below a post
  • Breadcrumb Navigation.
  • Code Block Copy buttons.
  • Hugo's Chroma syntax highlighter.
  • No webpack, nodejs and other dependencies are required to edit the theme.

Read Wiki For More Details => PaperMod - Features


Install/Update 📥

Read Wiki For More Details => PaperMod - Installation


FAQs / How To's Guide 🙋

Read Wiki For More Details => PaperMod-FAQs


Social-Icons/Share-Icons 🖼️

Read Wiki For More Details => PaperMod-Icons


Release Changelog 📃

Release ChangeLog has info about stuff added: Releases


Pagespeed Insights (100% ?) 👀


Support 🫶

  • Star 🌟 this repository.
  • Help spread the word about PaperMod by sharing it on social media and recommending it to your friends. 🗣️
  • You can also sponsor 🏅 on Github Sponsors / Ko-Fi.

Special Thanks 🌟


Stargazers over time 📈

Stargazers over time