Skip to content

📚 A Hugo theme designed for a collection of novels and stories

License

Notifications You must be signed in to change notification settings

JessebotX/web-library-hugo-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Library Hugo Theme

A hugo theme for a collection of books.

Example Index Example Serial Index Example Serial Chapter

More Previews: See previews/

An example of a site using this theme: https://github.com/JessebotX/public-domain-web-library

Features

  • Generate a static website for a collection of books, whether it is an archive of free/public domain novels or you're looking to publish some web serials
  • Mobile-first design: site fits on both desktop, mobile and other devices
  • Link to RSS Feed for each web serial
  • Chapter pagination with keyboard shortcuts
    • Flip through chapters using your arrow keys
  • Color scheme toggle button at the top of each page
    • Persistent saving done with localStorage API
  • A clean sans-serif Roboto font used across the website
  • Minified SCSS output

Getting Started

  1. Go into your existing hugo site OR generate a new one using

    hugo new site <WEBSITE>
    cd <WEBSITE>
  2. Initialize git in your hugo site directory if you haven't already made it a git repository

  3. Install the theme using git submodules

    git submodule add https://github.com/JessebotX/web-library-hugo-theme themes/web-library-hugo-theme
  4. Open your site's config.toml and append the following line to the file:

    # config.toml
    theme = 'web-library-hugo-theme'
  5. Hugo theme is now successfully installed. Build your site using hugo:

    hugo

About

📚 A Hugo theme designed for a collection of novels and stories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published