added a theme

This commit is contained in:
2026-02-12 14:18:30 -05:00
parent f847de7490
commit e47afe1394
10 changed files with 49 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "themes/hello-friend-ng"]
path = themes/hello-friend-ng
url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git

View File

@@ -1,15 +1,58 @@
baseURL = 'https://dustin.coffee/'
languageCode = 'en-us'
title = 'd@n tech'
theme = 'personal'
theme = 'hello-friend-ng'
[params]
description = "Personal website of Dustin"
author = "dustin"
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04"
# Subtitle for home
homeSubtitle = "how did YOU get here?"
# Set disableReadOtherPosts to true in order to hide the links to other posts.
disableReadOtherPosts = false
# Enable sharing buttons, if you like
enableSharingButtons = true
# Show a global language switcher in the navigation bar
enableGlobalLanguageMenu = false
# Metadata mostly used in document's head
description = "...it's my blog."
keywords = "homepage, blog"
images = [""]
[taxonomies]
tag = "tags"
category = "categories"
series = "series"
[languages]
[languages.en]
title = "d@n tech"
keywords = ""
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
readOtherPosts = "Read other posts"
[languages.en.params]
subtitle = "how did YOU get here?"
[languages.en.params.logo]
logoText = "hello friend ng"
logoHomeLink = "/"
# or
#
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
# And you can even create generic menu
[[menu.main]]
name = "home"

View File

@@ -18,7 +18,7 @@ Renders a menu for the given menu ID.
</nav>
{{- end }}
{{- define "_partials/inline/menu/walk.html" }}
{{- define "partials/inline/menu/walk.html" }}
{{- $page := .page }}
{{- range .menuEntries }}
{{- $attrs := dict "href" .URL }}