A modern, responsive Learning Management System theme for Hugo. Features include course management, category organization, search functionality, and a mobile-friendly design.
- 📱 Responsive design with mobile-first approach
- 🔍 Real-time search functionality
- 📚 Course catalog with categories and tags
- 🎯 Clean and intuitive navigation
- 🌙 Modern UI with Tailwind CSS
- ⚡ Fast and lightweight
-
Create a new Hugo site:
hugo new site your-site-name cd your-site-name
-
Add the theme as a git submodule:
git init git submodule add https://github.com/yourusername/hugo-lms.git themes/lms
-
Update your site's configuration. Create or modify
config.toml
:baseURL = "/" languageCode = "en-us" title = "Your Site Title" theme = "lms" [params] # Optional logo path relative to static folder logo = "images/your-logo.png" [menu] [[menu.main]] name = "Home" url = "/" weight = 1 [[menu.main]] name = "Courses" url = "/courses/" weight = 2
- Download the theme from GitHub
- Extract it to your site's
themes
directory - Follow the configuration steps above
Create course content in content/courses/
with the following structure:
---
title: "Course Title"
date: 2024-01-01
description: "Course description"
categories: ["Category1", "Category2"]
tags: ["tag1", "tag2"]
draft: false
---
Course content goes here...
-
Use Hugo's archetype to create a new course:
hugo new courses/my-new-course.md
-
Edit the front matter and content in the generated file.
The theme uses Tailwind CSS for styling. You can customize the design by:
- Creating a
assets/css/custom.css
file in your site - Adding your custom styles
- Importing it in
config.toml
:[params] customCSS = ["css/custom.css"]
To override any theme layout:
- Copy the original file from
themes/lms/layouts/
to your site'slayouts/
directory - Modify the copied file as needed
- Hugo Extended Version (for Tailwind CSS processing)
- Node.js and npm (for development)
To work on the theme locally:
-
Clone the repository:
git clone https://github.com/yourusername/hugo-lms.git
-
Start Hugo server:
hugo server --disableFastRender
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT License - Feel free to use this theme for your own projects.
For support, please:
- Check the documentation
- Search existing issues
- Create a new issue if needed
- Built with Hugo
- Styled with Tailwind CSS
- Interactive elements powered by Alpine.js