updated to hugo modules theme version
All checks were successful
Build / build (push) Successful in 9m28s

This commit is contained in:
Tomoya(WSL) 2024-12-12 02:29:35 +09:00
parent a55ec54e8e
commit 8ee23d17b0
10 changed files with 44 additions and 12 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "themes/book"]
path = themes/book
url = https://github.com/alex-shpak/hugo-book.git

View File

@ -12,4 +12,7 @@ body {
code {
font-family: monospace;
}
}
.book-brand .book-icon{
filter:none;
}

View File

@ -1,6 +1,6 @@
---
title: 第14週
date: 2021-0708
date: 2021-07-08
weight: 14
---

View File

@ -1,4 +1,6 @@
---
bookHidden: true
---
<!DOCTYPE html>
<html>
<head>

View File

@ -4,4 +4,5 @@ menu:
name: notes
weight: 5
title: Notes
bookHidden: true
---

View File

@ -4,4 +4,5 @@ menu:
name: notes
weight: 5
title: Notes
bookHidden: true
---

11
go.mod Normal file
View File

@ -0,0 +1,11 @@
module git.matsuuratomoya.com/tomoyanonymous/teach-matsuuratomoya-com
go 1.22.10
require (
github.com/KKKZOZ/hugo-admonitions v0.4.3 // indirect
github.com/alex-shpak/hugo-book v0.0.0-20241009212754-7c78a39c531a // indirect
github.com/hugomods/font-awesome v6.7.1+incompatible // indirect
github.com/hugomods/icons v0.6.6 // indirect
github.com/hugomods/icons/vendors/font-awesome v0.6.12 // indirect
)

10
go.sum Normal file
View File

@ -0,0 +1,10 @@
github.com/KKKZOZ/hugo-admonitions v0.4.3 h1:0WabpMZhre8wqEB3eA1+jpMDlo9FCrioeYhvfX27qPA=
github.com/KKKZOZ/hugo-admonitions v0.4.3/go.mod h1:4PsJAsqo3mS3VzAtDLa8k0ds+CJQUWZhAo9kLi1NRlM=
github.com/alex-shpak/hugo-book v0.0.0-20241009212754-7c78a39c531a h1:GiRJQYc9Bt8H59/e0w/97i46Ql39CUIdDQjHikd9scA=
github.com/alex-shpak/hugo-book v0.0.0-20241009212754-7c78a39c531a/go.mod h1:L4NMyzbn15fpLIpmmtDg9ZFFyTZzw87/lk7M2bMQ7ds=
github.com/hugomods/font-awesome v6.7.1+incompatible h1:eM2vtHyQJVMnD9tgdGFbEgEiPh3sqnmu3EP3CFTyPLY=
github.com/hugomods/font-awesome v6.7.1+incompatible/go.mod h1:C2wW6xDvHkcMlJMVTPQ+Npt+rO0OGv13xT1iyll2z2Q=
github.com/hugomods/icons v0.6.6 h1:gGlafcBDRP7sSID+tgLcWdog+s/QBj8DIfU+h9tZj1U=
github.com/hugomods/icons v0.6.6/go.mod h1:cIkSvK6W0q6N4U6n9KGz+QfRWQXAW0INd+1P31gPNGg=
github.com/hugomods/icons/vendors/font-awesome v0.6.12 h1:I8ckJFuxr8mD8bJ4NX9NrmnHd3f6XvITuD2ME8a9wXc=
github.com/hugomods/icons/vendors/font-awesome v0.6.12/go.mod h1:6YBo/5GaNpAocKwnKNWcd9xkliiRJXmwz2mstY5lr9I=

View File

@ -1,9 +1,10 @@
baseURL = "https://teach.matsuuratomoya.com"
languageCode = "ja"
defaultContentLanguage = 'ja'
title = "松浦知也 授業資料"
theme = 'book'
publishDir = "public"
contentDir = 'content'
[markup]
[markup.goldmark.renderer]
unsafe = true
@ -11,7 +12,6 @@ publishDir = "public"
[markup.tableOfContents]
startLevel = 1
contentDir = 'content'
[languages]
[languages.ja]
languageName = 'Japanese'
@ -40,13 +40,14 @@ enableGitInfo = true
# (Optional) Theme is intended for documentation use, therefore it doesn't render taxonomy.
# You can remove related files with config below
disableKinds = ['taxonomy', 'taxonomyTerm']
disableKinds = ['taxonomy']
[params]
# ogp
description = "松浦知也の授業資料のWebサイトです。"
images = ["ogp.png"]
title = "松浦知也 授業資料 / teach.matsuuratomoya.com"
BookTheme = 'auto'
# (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting.
@ -73,7 +74,7 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Path must point to 'content' directory of repo.
BookEditPath = 'tree/master'
BookCommitPath = 'commit'
# (Optional, default January 2, 2006) Configure the date format used on the pages
# - In git information
# - In blog posts
@ -88,10 +89,17 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments = true
BookComments = false
# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
# Theme will print warning if page referenced in markdown does not exists.
BookPortableLinks = true
[[module.imports]]
path = "github.com/KKKZOZ/hugo-admonitions"
[[module.imports]]
path = 'github.com/alex-shpak/hugo-book'
[[module.imports]]
path = 'github.com/hugomods/icons/vendors/font-awesome'

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