Skip to content

A feature-rich Hugo theme ported from Hugo Bear Blog, originally based on ʕ•ᴥ•ʔ Bear Blog, offering upvote buttons, elegant TOC, and UX refinements.

License

Notifications You must be signed in to change notification settings

rokcso/hugo-bearneo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo ✨ Bear 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
  • Table of contents
  • Image zoom
  • Follow App Claim

There are still some optimization items:

  • Add canonical metadata, better SEO
  • Support RSS
  • More abundant Footer content
  • ...

🐻 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

Table of contents

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

[params]
    toc = true

Image zoom

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

[params]
    imageZoom = 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-bearneo 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-bearneo.

©️ License

MIT License © Rokcso

About

A feature-rich Hugo theme ported from Hugo Bear Blog, originally based on ʕ•ᴥ•ʔ Bear Blog, offering upvote buttons, elegant TOC, and UX refinements.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages