added a theme
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
|
||||
45
hugo.toml
45
hugo.toml
@@ -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"
|
||||
|
||||
1
themes/hello-friend-ng
Submodule
1
themes/hello-friend-ng
Submodule
Submodule themes/hello-friend-ng added at 1a0a16f39c
@@ -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 }}
|
||||
Reference in New Issue
Block a user