Compare commits

...

13 Commits

Author SHA1 Message Date
151318165b added fediverse creator tag
All checks were successful
Build / build (push) Successful in 13m30s
2024-12-25 20:36:51 +09:00
48ef973c54 node version specify
All checks were successful
Build / build (push) Successful in 7m42s
2024-12-12 18:55:01 +09:00
92386202db replaced button to internal link 2024-12-12 16:06:18 +09:00
246b58e7c4 readme update 2024-12-12 16:01:01 +09:00
820cea9bbf added node version 2024-12-12 16:00:57 +09:00
d09cbf8ad6 added micromorph setup
All checks were successful
Build / build (push) Successful in 9m46s
2024-12-12 15:50:44 +09:00
29c26d771a merge
All checks were successful
Build / build (push) Successful in 7m55s
2024-12-12 15:41:03 +09:00
8ee23d17b0 updated to hugo modules theme version
All checks were successful
Build / build (push) Successful in 9m28s
2024-12-12 02:29:35 +09:00
a55ec54e8e english
All checks were successful
Build / build (push) Successful in 7m34s
2024-04-15 13:23:03 +09:00
0969b9b225 updated theme 2024-04-15 13:23:03 +09:00
af03bf8fa1 updated theme 2024-04-15 12:05:05 +09:00
34652408a0 fixed english 2024-04-15 12:05:05 +09:00
152d13bb76 added week 1 2024-04-15 11:54:32 +09:00
55 changed files with 178 additions and 84 deletions

View File

@@ -12,20 +12,27 @@ jobs:
- run: git config --global core.quotepath false - run: git config --global core.quotepath false
- name: Install apt packages - name: Install apt packages
run: apt update && apt install -y rsync run: apt update && apt install -y rsync
- uses: actions/checkout@v3 - uses: actions/setup-node@v4
with:
node-version: 23
- uses: actions/checkout@v4
with: with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 fetch-depth: 0
- uses: https://github.com/actions/setup-go@v4 - uses: https://github.com/actions/setup-go@v4
with: with:
go-version: '^1.20' go-version: '^1.23'
- name: Setup Hugo - name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2 uses: https://github.com/peaceiris/actions-hugo@v2
with: with:
hugo-version: "latest" hugo-version: "latest"
extended: true extended: true
- name: Setup Hugo modules
run: hugo mod get -u
- name: Setup Hugo npm modules
run: hugo mod npm pack
- run: npm install
- name: Run Hugo - name: Run Hugo
run: hugo --minify run: hugo --gc --minify
# - name: upload artifacs # - name: upload artifacs
# uses: https://github.com/actions/upload-artifact@v3 # uses: https://github.com/actions/upload-artifact@v3
# with: # with:

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

@@ -21,6 +21,22 @@ https://matsuuratomoya.com
# 使い方のメモ # 使い方のメモ
[hugo-book](https://github.com/alex-shpak/hugo-book)をベースに、いくつか手を加えている。
[hugo-micromorph](https://github.com/tomoyanonymous/hugo-micromorph)で読み込み速度をめっちゃ早くしている。
## インストール & ビルド
HugoとNode.jsを入れる。
```sh
git clone gitea:tomoyanoynmous/teach-matsuuratomoya-com.git # giteaは~/.sshの中で設定すること
hugo mod get -u
hugo mod npm pack
npm install
hugo server
```
## 新しい授業資料更新のファイル作成コマンド ## 新しい授業資料更新のファイル作成コマンド
```sh ```sh
@@ -29,10 +45,11 @@ hugo new --kind class content/docs/2023/code-design/10
## カスタムショートコード ## カスタムショートコード
テーマのショートコードも使える。 テーマのショートコードも使える。 https://github.com/alex-shpak/hugo-book#shortcodes
https://github.com/alex-shpak/hugo-book#shortcodes  CallOutは[hugo-admonition](https://github.com/KKKZOZ/hugo-admonitions)が使える。
FontAwesomeのIconも使える。 https://github.com/hugomods/icons/vendors/font-awesome
### `embed_pdf` PDFの埋め込み ### `embed_pdf` PDFの埋め込み

View File

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

View File

@@ -29,4 +29,4 @@ weight: 1
{{< button href="20200430_sounddesign1.pdf">}}スライドPDF{{< /button >}} {{< button href="20200430_sounddesign1.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -27,4 +27,4 @@ weight: 10
{{< button href="20200718_sounddesign10.pdf">}}スライドPDF{{< /button >}} {{< button href="20200718_sounddesign10.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -14,4 +14,4 @@ weight: 11
{{< button href="20200721_sounddesign11.pdf">}}スライドPDF{{< /button >}} {{< button href="20200721_sounddesign11.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 12
{{< button href="20200728_sounddesign12.pdf">}}スライドPDF{{< /button >}} {{< button href="20200728_sounddesign12.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -11,4 +11,4 @@ weight: 13
{{< button href="20200729_sounddesign13.pdf">}}スライドPDF{{< /button >}} {{< button href="20200729_sounddesign13.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 14
{{< button href="20200804_sounddesign14.pdf">}}スライドPDF{{< /button >}} {{< button href="20200804_sounddesign14.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 15
{{< button href="20200806_sounddesign15.pdf">}}スライドPDF{{< /button >}} {{< button href="20200806_sounddesign15.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -37,4 +37,4 @@ weight: 2
{{< button href="20200507_sounddesign2.pdf">}}スライドPDF{{< /button >}} {{< button href="20200507_sounddesign2.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -30,7 +30,7 @@ weight: 3
{{< button href="20200514_sounddesign3.pdf">}}スライドPDF{{< /button >}} {{< button href="20200514_sounddesign3.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}
## 非圧縮サンプル音声(ファイル名はスライド参照) ## 非圧縮サンプル音声(ファイル名はスライド参照)

View File

@@ -13,4 +13,4 @@ weight: 4
{{< button href="20200625_sounddesign4.pdf">}}スライドPDF{{< /button >}} {{< button href="20200625_sounddesign4.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 5
{{< button href="20200702_sounddesign5.pdf">}}スライドPDF{{< /button >}} {{< button href="20200702_sounddesign5.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 6
{{< button href="20200708_sounddesign6.pdf">}}スライドPDF{{< /button >}} {{< button href="20200708_sounddesign6.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 7
{{< button href="20200711_sounddesign7.pdf">}}スライドPDF{{< /button >}} {{< button href="20200711_sounddesign7.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 8
{{< button href="20200714_sounddesign8.pdf">}}スライドPDF{{< /button >}} {{< button href="20200714_sounddesign8.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,4 +12,4 @@ weight: 9
{{< button href="20200716_sounddesign9.pdf">}}スライドPDF{{< /button >}} {{< button href="20200716_sounddesign9.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -13,5 +13,5 @@ weight: 1
{{< button href="20210415_sounddesign1.pdf">}}スライドPDF{{< /button >}} {{< button href="20210415_sounddesign1.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,7 +12,7 @@ weight: 10
{{< button href="20210610_sounddesign10.pdf">}}スライドPDF{{< /button >}} {{< button href="20210610_sounddesign10.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}
{{< button href="./20210610_missingfun.pd">}}ミッシングファンダメンタル サンプルパッチ{{< /button >}} {{< button href="./20210610_missingfun.pd">}}ミッシングファンダメンタル サンプルパッチ{{< /button >}}

View File

@@ -12,6 +12,6 @@ weight: 11
{{< button href="20210617_sounddesign11.pdf">}}スライドPDF{{< /button >}} {{< button href="20210617_sounddesign11.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}
{{< button href="./20210617_stereopan_eqpower.pd">}}ステレオ等価パワーパンナー サンプルパッチ{{< /button >}} {{< button href="./20210617_stereopan_eqpower.pd">}}ステレオ等価パワーパンナー サンプルパッチ{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 12
{{< button href="20210624_sounddesign12.pdf">}}スライドPDF{{< /button >}} {{< button href="20210624_sounddesign12.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 13
{{< button href="20210701_sounddesign13.pdf">}}スライドPDF{{< /button >}} {{< button href="20210701_sounddesign13.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -1,6 +1,6 @@
--- ---
title: 第14週 title: 第14週
date: 2021-0708 date: 2021-07-08
weight: 14 weight: 14
--- ---
@@ -12,7 +12,7 @@ weight: 14
{{< button href="20210708_sounddesign14.pdf">}}スライドPDF{{< /button >}} {{< button href="20210708_sounddesign14.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}
## 最終課題 サンプルパッチ ## 最終課題 サンプルパッチ

View File

@@ -13,5 +13,5 @@ weight: 2
{{< button href="20210422_sounddesign2.pdf">}}スライドPDF{{< /button >}} {{< button href="20210422_sounddesign2.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -13,5 +13,5 @@ weight: 3
{{< button href="20210506_sounddesign3.pdf">}}スライドPDF{{< /button >}} {{< button href="20210506_sounddesign3.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 4
{{< button href="20210508_sounddesign4.pdf">}}スライドPDF{{< /button >}} {{< button href="20210508_sounddesign4.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 5
{{< button href="20210513_sounddesign5.pdf">}}スライドPDF{{< /button >}} {{< button href="20210513_sounddesign5.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 6
{{< button href="20210520_sounddesign6.pdf">}}スライドPDF{{< /button >}} {{< button href="20210520_sounddesign6.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 7
{{< button href="20210527_sounddesign7.pdf">}}スライドPDF{{< /button >}} {{< button href="20210527_sounddesign7.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,5 +12,5 @@ weight: 8
{{< button href="20210603_sounddesign8.pdf">}}スライドPDF{{< /button >}} {{< button href="20210603_sounddesign8.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}

View File

@@ -12,7 +12,7 @@ weight: 9
{{< button href="20210605_sounddesign9.pdf">}}スライドPDF{{< /button >}} {{< button href="20210605_sounddesign9.pdf">}}スライドPDF{{< /button >}}
{{< button href="./slides">}}スライドHTML{{< /button >}} {{< button relref="./slides">}}スライドHTML{{< /button >}}
## クリティカル・リスニング サンプル音源 ## クリティカル・リスニング サンプル音源

View File

@@ -10,5 +10,5 @@ weight: 1
{{< button href="2023-code-and-design-1.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-1.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}

View File

@@ -10,5 +10,5 @@ weight: 2
{{< button href="2023-code-and-design-2.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-2.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}

View File

@@ -10,5 +10,5 @@ weight: 3
{{< button href="2023-code-and-design-3.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-3.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}

View File

@@ -10,5 +10,5 @@ weight: 4
{{< button href="2023-code-and-design-4.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-4.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}

View File

@@ -10,5 +10,5 @@ weight: 5
{{< button href="2023-code-and-design-5.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-5.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}

View File

@@ -10,5 +10,5 @@ weight: 6
{{< button href="2023-code-and-design-6.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-6.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}

View File

@@ -10,7 +10,7 @@ weight: 7
{{< button href="2023-code-and-design-7.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-7.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}
## Python Scripts for Mouse Automation ## Python Scripts for Mouse Automation

View File

@@ -10,7 +10,7 @@ weight: 7
{{< button href="2023-code-and-design-7.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-7.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}
## Python Scripts for Mouse Automation ## Python Scripts for Mouse Automation

View File

@@ -10,7 +10,7 @@ weight: 9
{{< button href="2023-code-and-design-9.pdf">}}SlidesPDF{{< /button >}} {{< button href="2023-code-and-design-9.pdf">}}SlidesPDF{{< /button >}}
{{< button href="./slides">}}SlidesHTML{{< /button >}} {{< button relref="./slides">}}SlidesHTML{{< /button >}}
## Arduino Example ## Arduino Example

View File

@@ -33,21 +33,23 @@ In addition, by learning how to convert data and materials into each other throu
(This is the first year of the class thus the content may change according to the progress.) (This is the first year of the class thus the content may change according to the progress.)
1. [(4/7) Introduction: Computing without Electricity](./1) 1. [(4/12) Introduction Non-electrical Computing/Conditional Design](./1)
2. [(4/14) Anti-Introduction to Electronics (Victorian Oscillator)](./2) 2. [(4/19) Introduction to Electronics De-instrumentation (Victorian Oscillator)](./2)
3. [(4/21) Paper Circuit and Logic Circuits](./3) 3. [(4/26) Paper Circuit and Logic Circuit](./3)
4. [(4/28) Binary Numbers WS ](./4) 4. [(5/10) Binary Card Game](./4)
5. [(5/12) Handmade Computer(DIWO Full Adder)](./5) 5. [(5/17) Handmade Computer (Total Adder Made by Everyone)](./5)
6. [(5/19) Software and Algorithm - Let's try using Arduino](./6) 6. [(5/24) Software and Algorithms - Using Arduino](./6)
7. [(5/26) Considering Inputs (Make Unreasonable Mouse)](./7) 7. [(5/31) Akihabara Tour](./7)
8. [(6/2) Considering Inputs 2 - Combining Processing and Arduino, OOP (PONG for One)](./8) 8. [(6/7) Thinking about Input (making an absurd mouse)](./8)
9. [(6/9) Considering Outputs - Generating Sound with Arduino](./9) 9. [(6/14) Thinking about Input 2 - Connecting Processing and Arduino, Object Oriented Programming (PONG for one person)](./9)
10. (6/16) Cartesian Robot and Digital Fabrication (3D Printer and G-code Hack) 10. [(6/21) Thinking on Output - Audio Programming with Arduino](./10)
11. (6/23) Studio Work 1. Consultation 11. [(6/28) Studio Work Consultation 1](./11)
12. (6/30) Studio Work 2. Work 12. [(7/5) Digital Fabrication: Handcrafting an Interface](./12)
13. (7/7) Studio Work 3. Supplementary lessons according to the works 13. [(7/12) Studio Work Consultation 2](./13)
14. (7/14) Exhibition of the final assignments 14. (7/19) Installation for an exhibition of the Assignment Presentations
15. (7/21) Review and summary of presentations 15. (7/25) Removal of the Exhibition, Review of Presentations
Translated with www.DeepL.com/Translator (free version)
## Reference Books ## Reference Books

View File

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

View File

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

View File

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

12
go.mod Normal file
View File

@@ -0,0 +1,12 @@
module git.matsuuratomoya.com/tomoyanonymous/teach-matsuuratomoya-com
go 1.23
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
github.com/tomoyanonymous/hugo-micromorph v1.0.0 // indirect
)

12
go.sum Normal file
View File

@@ -0,0 +1,12 @@
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=
github.com/tomoyanonymous/hugo-micromorph v1.0.0 h1:yLTPilYxKbRmVliX8jwBNUJzi53CIk50PSVqgF5fXfc=
github.com/tomoyanonymous/hugo-micromorph v1.0.0/go.mod h1:KT3INsr1IVTcEazTHXOIybqnE1jB6JTJRAeXBY71FQ8=

View File

@@ -1,9 +1,10 @@
baseURL = "https://teach.matsuuratomoya.com" baseURL = "https://teach.matsuuratomoya.com"
languageCode = "ja" languageCode = "ja"
defaultContentLanguage = 'ja' defaultContentLanguage = 'ja'
title = "松浦知也 授業資料" title = "松浦知也 授業資料"
theme = 'book'
publishDir = "public" publishDir = "public"
contentDir = 'content'
[markup] [markup]
[markup.goldmark.renderer] [markup.goldmark.renderer]
unsafe = true unsafe = true
@@ -11,7 +12,6 @@ publishDir = "public"
[markup.tableOfContents] [markup.tableOfContents]
startLevel = 1 startLevel = 1
contentDir = 'content'
[languages] [languages]
[languages.ja] [languages.ja]
languageName = 'Japanese' languageName = 'Japanese'
@@ -20,8 +20,6 @@ contentDir = 'content'
languageName = 'English' languageName = 'English'
weight = 2 weight = 2
title = "Classes by Matsuura Tomoya" title = "Classes by Matsuura Tomoya"
# (Optional) Set Google Analytics if you use it to track your website. # (Optional) Set Google Analytics if you use it to track your website.
# Always put it on the top of the configuration file, otherwise it won't work # Always put it on the top of the configuration file, otherwise it won't work
@@ -40,13 +38,14 @@ enableGitInfo = true
# (Optional) Theme is intended for documentation use, therefore it doesn't render taxonomy. # (Optional) Theme is intended for documentation use, therefore it doesn't render taxonomy.
# You can remove related files with config below # You can remove related files with config below
disableKinds = ['taxonomy', 'taxonomyTerm'] disableKinds = ['taxonomy']
[params] [params]
# ogp # ogp
description = "松浦知也の授業資料のWebサイトです。" description = "松浦知也の授業資料のWebサイトです。"
images = ["ogp.png"] images = ["ogp.png"]
title = "松浦知也 授業資料 / teach.matsuuratomoya.com" title = "松浦知也 授業資料 / teach.matsuuratomoya.com"
BookTheme = 'auto'
# (Optional, default true) Controls table of contents visibility on right side of pages. # (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting. # Start and end levels can be controlled with markup.tableOfContents setting.
@@ -67,13 +66,13 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# Set source repository location. # Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links. # Used for 'Last Modified' and 'Edit this page' links.
BookRepo = 'https://github.com/tomoyanonymous/teach-matsuuratomoya-com' BookRepo = 'https://git.matsuuratomoya.com/tomoyanonymous/teach-matsuuratomoya-com'
# Enable 'Edit this page' links for 'doc' page type. # Enable 'Edit this page' links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param. # Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Path must point to 'content' directory of repo. # Path must point to 'content' directory of repo.
BookEditPath = 'tree/master' BookEditPath = 'src/branch/main'
BookCommitPath = 'commit'
# (Optional, default January 2, 2006) Configure the date format used on the pages # (Optional, default January 2, 2006) Configure the date format used on the pages
# - In git information # - In git information
# - In blog posts # - In blog posts
@@ -88,10 +87,19 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# By default partals/docs/comments.html includes Disqus template # By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus # See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter # 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 # /!\ 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. # (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 # 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. # Theme will print warning if page referenced in markdown does not exists.
BookPortableLinks = true BookPortableLinks = true
[[module.imports]]
path = "github.com/KKKZOZ/hugo-admonitions"
[[module.imports]]
path = 'github.com/alex-shpak/hugo-book'
[[module.imports]]
path = 'github.com/tomoyanonymous/hugo-micromorph'
[[module.imports]]
path = 'github.com/hugomods/icons/vendors/font-awesome'

View File

@@ -0,0 +1 @@
{{ partialCached "micromorph.html" . }}

View File

@@ -0,0 +1 @@
<meta name="fediverse:creator" content="@tomoya@social.matsuuratomoya.com" />

12
package-lock.json generated
View File

@@ -9,8 +9,10 @@
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"deepl-node": "^1.11.0" "deepl-node": "^1.11.0",
} "micromorph": "^0.4.5"
},
"devDependencies": {}
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.10.3", "version": "20.10.3",
@@ -125,6 +127,12 @@
"url": "https://tidelift.com/funding/github/npm/loglevel" "url": "https://tidelift.com/funding/github/npm/loglevel"
} }
}, },
"node_modules/micromorph": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/micromorph/-/micromorph-0.4.5.tgz",
"integrity": "sha512-Erasr0xiDvDeEhh7B/k7RFTwwfaAX10D7BMorNpokkwDh6XsRLYWDPaWF1m5JQeMSkGdqlEtQ8s68NcdDWuGgw==",
"license": "MIT"
},
"node_modules/mime-db": { "node_modules/mime-db": {
"version": "1.52.0", "version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",

14
package.hugo.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "teach-matsuuratomoya-com",
"version": "1.0.0",
"description": "[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)",
"main": "translate.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"deepl-node": "^1.11.0"
}
}

View File

@@ -1,14 +1,23 @@
{ {
"name": "teach-matsuuratomoya-com", "author": "",
"version": "1.0.0", "comments": {
"dependencies": {
"deepl-node": "project",
"micromorph": "github.com/tomoyanonymous/hugo-micromorph"
},
"devDependencies": {}
},
"dependencies": {
"deepl-node": "^1.11.0",
"micromorph": "^0.4.5"
},
"description": "[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)", "description": "[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)",
"devDependencies": {},
"license": "ISC",
"main": "translate.js", "main": "translate.js",
"name": "teach-matsuuratomoya-com",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "", "version": "1.0.0"
"license": "ISC",
"dependencies": {
"deepl-node": "^1.11.0"
}
} }

Submodule themes/book deleted from c0084602ce