Skip to content

A Hugo theme. ✨ Transplanted from Hugo Bear Blog. Based on ʕ•ᴥ•ʔ Bear Blog.

License

Notifications You must be signed in to change notification settings

rokcso/hugo-bearblog-neo

Repository files navigation

Hugo ʕ•ᴥ•ʔ Bear Blog ✨ Neo

Free, no-nonsense, super-fast blogging.

English | 简体中文

🧸 A Hugo theme based on Bear Blog.

Transplanted from Hugo Bear Blog, because the original author chose to maintain consistency with the root original Bear Blog, so I chose to create a more extensible and feature-rich Hugo Bear Blog.

Guidelines

  1. Continue to uphold the philosophy of Bear Blog
  2. Ensure the ability to revert to configurations identical to Hugo Bear Blog or even to Bear Blog itself

TOC

✨ Features

Based on Hugo Bear Blog, the following features have been added:

  • Upvote post (Highlight feature 👍, Replicated from Bear Blog)
  • Search post
  • Post list page grouped by year
  • Post page displays table of contents
  • Follow App Claim

🐻 Demo

For a current & working demo of this theme, please check out https://rokcso.com/ 🎯.

📑 User Manual

Upvote post

First, refer to the README documentation of the Post Upvote API to complete the deployment of the backend service.

Using Cloudflare Workers + KV, deployment is simple and free.

Then add the following configuration to the Hugo blog configuration file hugo.toml:

[params]
    upvote = true
    upvoteURL = "The domain name of the Worker that was just deployed/" 

Note: The / at the end of the URL must be included!

Search post

Display a search box on the post list page and enter post title keywords to search for specific posts.

Add the following configuration to the Hugo blog configuration file hugo.toml:

[params]
    postSearch = true

Post list page grouped by year

Add the following configuration to the Hugo blog configuration file hugo.toml:

[params]
    groupByYear = true

Post page displays table of contents

Add the following configuration to the Hugo blog configuration file hugo.toml:

[params]
    toc = true

Follow App Claim

Follow is an RSS subscription tool. As a blog creator, claiming your blog on Follow allows you to receive $POWER tips from blog readers through Follow. I once wrote an article explaining how to claim your blog on Follow.

The hugo-bearblog-neo natively supports the "Scheme III: RSS Tag" mentioned in my article. You only need to add the following configuration to the Hugo blog configuration file hugo.toml:

[params]
    followFeedId = "00000000000000000"
    followUserId = "00000000000000000"

Note: Please remember to replace the Follow id in the configuration with your own!

🎁 Acknowledgments

A special thank you goes out to Herman, for creating the original ʕ•ᴥ•ʔ Bear Blog.

Another special thanks to janraasch, without his hugo-bearblog, there would not be hugo-bearblog-neo.

©️ License

MIT License © Rokcso

About

A Hugo theme. ✨ Transplanted from Hugo Bear Blog. Based on ʕ•ᴥ•ʔ Bear Blog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages