feat: initialize LightBi Hugo theme with layouts, assets and example content
This commit is contained in:
parent
ad3c66c1b8
commit
47d1b60ff9
34
config.toml
34
config.toml
@ -1,10 +1,42 @@
|
|||||||
baseURL = "https://blog-koo48w00w0cw4sscokc0448k.reflectonai.com"
|
baseURL = "https://blog-koo48w00w0cw4sscokc0448k.reflectonai.com"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "My New Hugo Site"
|
title = "My New Hugo Site"
|
||||||
theme = "" # You can specify a theme here later
|
theme = "lightbi" # Using the LightBi theme
|
||||||
|
|
||||||
|
# Enable syntax highlighting
|
||||||
|
pygmentsCodeFences = true
|
||||||
|
pygmentsUseClasses = true
|
||||||
|
|
||||||
|
# Additional settings
|
||||||
|
paginate = 10
|
||||||
|
summaryLength = 30
|
||||||
|
enableEmoji = true
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
# Theme settings
|
||||||
description = "A cool new website built with Hugo and deployed on Coolify!"
|
description = "A cool new website built with Hugo and deployed on Coolify!"
|
||||||
|
favicon = "img/favicon.ico"
|
||||||
|
logo = "img/logo.png" # Place a logo file in static/img/ directory if you want one
|
||||||
|
comments = false # Set to true if you want to enable Disqus comments
|
||||||
|
readingTime = true # Show reading time for articles
|
||||||
|
hideAuthor = false
|
||||||
|
mainSections = ["post"]
|
||||||
|
|
||||||
|
# Social links (uncomment and fill the ones you want to show)
|
||||||
|
# github = "yourusername"
|
||||||
|
# twitter = "yourusername"
|
||||||
|
# linkedin = "yourusername"
|
||||||
|
# email = "your@email.com"
|
||||||
|
|
||||||
|
[menu]
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Home"
|
||||||
|
url = "/"
|
||||||
|
weight = 1
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Posts"
|
||||||
|
url = "/post/"
|
||||||
|
weight = 2
|
||||||
|
|
||||||
# Default publish directory is 'public', which is what Coolify expects for static sites.
|
# Default publish directory is 'public', which is what Coolify expects for static sites.
|
||||||
# No need to explicitly set publishDir = "public" unless you change it.
|
# No need to explicitly set publishDir = "public" unless you change it.
|
||||||
|
|||||||
38
content/post/first-post.md
Normal file
38
content/post/first-post.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: "My First Blog Post"
|
||||||
|
date: 2025-05-25T16:35:00+02:00
|
||||||
|
draft: false
|
||||||
|
tags: ["blog", "hugo", "lightbi"]
|
||||||
|
categories: ["web"]
|
||||||
|
image: "img/post-bg.png"
|
||||||
|
description: "This is my first post using the LightBi Hugo theme"
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
## Welcome to My Blog
|
||||||
|
|
||||||
|
This is my first blog post using the beautiful LightBi theme for Hugo. The theme features a clean, minimal design that puts the focus on your content.
|
||||||
|
|
||||||
|
### Features of LightBi
|
||||||
|
|
||||||
|
* Light and dark mode support
|
||||||
|
* Responsive design for all devices
|
||||||
|
* Card-based layout for posts
|
||||||
|
* Flexible image placement
|
||||||
|
* Built-in SEO optimization
|
||||||
|
|
||||||
|
### Code Example
|
||||||
|
|
||||||
|
The theme includes nice syntax highlighting for code:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
function sayHello() {
|
||||||
|
console.log("Hello, Hugo with LightBi theme!");
|
||||||
|
}
|
||||||
|
|
||||||
|
sayHello();
|
||||||
|
```
|
||||||
|
|
||||||
|
### What's Next?
|
||||||
|
|
||||||
|
I'll be writing more posts about my experiences with Hugo and the LightBi theme. Stay tuned!
|
||||||
1
static/img/post-bg.jpg
Normal file
1
static/img/post-bg.jpg
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
||||||
BIN
static/img/post-bg.png
Normal file
BIN
static/img/post-bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
1
themes/lightbi
Submodule
1
themes/lightbi
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c65dfc41336e38092a57dc994012fe40f925d163
|
||||||
Loading…
x
Reference in New Issue
Block a user