Browse Source

setup theme to use

pull/1/head
ojizero 2 months ago
parent
commit
29a919959b
4 changed files with 8 additions and 12 deletions
  1. 3
    0
      .gitmodules
  2. 4
    12
      config.toml
  3. 0
    0
      content/posts/.gitkeep
  4. 1
    0
      themes/hello-friend

+ 3
- 0
.gitmodules View File

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

+ 4
- 12
config.toml View File

@@ -1,16 +1,8 @@
baseURL = "http://ojizero.tech/blog"
languageCode = "en-us"
title = "ojizero/blog"
# theme = "hello-friend"
theme = "hello-friend"

# [params]
# # dir name of your blog content (default is `content/posts`)
# # contentTypeName = "posts"

# defaultTheme = "dark"

# # if you set this to 0, only submenu trigger will be visible
# # showMenuItems = 2

# # # Show reading time in minutes for posts
# # showReadingTime = true
[params]
defaultTheme = "dark"
showReadingTime = true

content/.gitkeep → content/posts/.gitkeep View File


+ 1
- 0
themes/hello-friend

@@ -0,0 +1 @@
Subproject commit cf5e59749143e6bd32444c5d35f4992399a1e7da

Loading…
Cancel
Save