diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index dd4150c..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/book"] - path = themes/book - url = https://github.com/alex-shpak/hugo-book.git diff --git a/assets/_custom.scss b/assets/_custom.scss index 20d4a83..ebfd964 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -12,4 +12,7 @@ body { code { font-family: monospace; - } \ No newline at end of file + } +.book-brand .book-icon{ + filter:none; +} \ No newline at end of file diff --git a/content/docs/2021/fukujo-sounddesign/class-14/_index.md b/content/docs/2021/fukujo-sounddesign/class-14/_index.md index 50b1093..174f231 100644 --- a/content/docs/2021/fukujo-sounddesign/class-14/_index.md +++ b/content/docs/2021/fukujo-sounddesign/class-14/_index.md @@ -1,6 +1,6 @@ --- title: 第14週 -date: 2021-0708 +date: 2021-07-08 weight: 14 --- diff --git a/content/docs/webmodular/index.html b/content/docs/webmodular/index.html index 9040f6e..bfc9edc 100644 --- a/content/docs/webmodular/index.html +++ b/content/docs/webmodular/index.html @@ -1,4 +1,6 @@ - +--- +bookHidden: true +--- diff --git a/content/posts/_index.en.md b/content/posts/_index.en.md index 81d03ce..5c88a54 100644 --- a/content/posts/_index.en.md +++ b/content/posts/_index.en.md @@ -4,4 +4,5 @@ menu: name: notes weight: 5 title: Notes +bookHidden: true --- diff --git a/content/posts/_index.md b/content/posts/_index.md index 81d03ce..5c88a54 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -4,4 +4,5 @@ menu: name: notes weight: 5 title: Notes +bookHidden: true --- diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..788e145 --- /dev/null +++ b/go.mod @@ -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 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..6978ef8 --- /dev/null +++ b/go.sum @@ -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= diff --git a/config.toml b/hugo.toml similarity index 92% rename from config.toml rename to hugo.toml index 9a6978d..a0773e3 100644 --- a/config.toml +++ b/hugo.toml @@ -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' diff --git a/themes/book b/themes/book deleted file mode 160000 index f8a0fc4..0000000 --- a/themes/book +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f8a0fc4e246c61cea8159d2d2955f488e7d13848