Compare commits

...

2 Commits

Author SHA1 Message Date
Zoness
5bdaf8a142 Custom Style: Restore mainroad-style divider on site title
Some checks are pending
Deploy Hugo / build-deploy (push) Waiting to run
2025-12-19 13:42:45 -06:00
Zoness
5fdac367c5 Fix RSS icon, add it to social sidebar 2025-12-19 13:34:54 -06:00
3 changed files with 22 additions and 0 deletions

View File

@ -8,6 +8,7 @@ enableEmoji = true
author = { name = "Zoness", bio = "Just a programmer writing stuff on the internet.", avatar = "images/avatar.png" } author = { name = "Zoness", bio = "Just a programmer writing stuff on the internet.", avatar = "images/avatar.png" }
authorbox = true authorbox = true
post_meta = ["author", "date", "categories"] # Order of post meta information post_meta = ["author", "date", "categories"] # Order of post meta information
customCSS = ["/css/custom.css"] # Add after your existing Params
[Params.sidebar] [Params.sidebar]
home = "right" # Configure layout for home page home = "right" # Configure layout for home page
@ -40,6 +41,11 @@ enableEmoji = true
icon = "tumblr.svg" # Optional. Path relative to "layouts/partials" icon = "tumblr.svg" # Optional. Path relative to "layouts/partials"
rel = "me" # Set to false to remove the rel attribute rel = "me" # Set to false to remove the rel attribute
[[Params.widgets.social.custom]]
title = "RSS"
url = "index.xml"
icon = "rss.svg"
[permalinks] [permalinks]
[permalinks.page] [permalinks.page]
posts = '/posts/:year/:month/:slug/' posts = '/posts/:year/:month/:slug/'

6
layouts/partials/rss.svg Normal file
View File

@ -0,0 +1,6 @@
<svg class="icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width="16" height="16" fill="currentColor" opacity="0.8"/>
<path fill="currentColor" d="M10.39 5.6C8.28 3.49 5.35 2.24 2.28 2.24v2.27c2.47 0 4.8 0.96 6.55 2.62c1.75 1.75 2.71 4.08 2.71 6.55h2.27C13.17 10.61 11.59 7.69 10.39 5.6z"/>
<path fill="currentColor" d="M2.26 6.07v2.27c2.99 0 5.43 2.43 5.43 5.43h2.27C9.95 9.57 6.35 6.07 2.26 6.07z"/>
<circle fill="currentColor" cx="3.87" cy="12.2" r="1.63"/>
</svg>

After

Width:  |  Height:  |  Size: 544 B

10
static/css/custom.css Normal file
View File

@ -0,0 +1,10 @@
/* Site title - homepage header container */
.header__container::after {
content: '';
display: block;
width: 100%;
height: 4px;
background: #e22d30;
margin: 15px auto 0;
border-radius: 0;
}