From 5a7225ad17ec96e3b7083fcf3cdd4cd48bbe3b48 Mon Sep 17 00:00:00 2001 From: tomoyanonymous Date: Mon, 23 Mar 2020 15:46:50 +0900 Subject: [PATCH] started to write basic contents --- config.toml | 11 +++++++--- .../docs/2020/fukujo-sounddesign/_index.md | 14 ++++++++++++ content/docs/about/index.md | 8 +++++++ content/docs/license/index.md | 8 +++++++ content/menu/index.md | 22 +++---------------- layouts/shortcodes/cc_banner.html | 1 + 6 files changed, 42 insertions(+), 22 deletions(-) create mode 100644 content/docs/2020/fukujo-sounddesign/_index.md create mode 100644 content/docs/about/index.md create mode 100644 content/docs/license/index.md create mode 100644 layouts/shortcodes/cc_banner.html diff --git a/config.toml b/config.toml index aa1c709..2169344 100644 --- a/config.toml +++ b/config.toml @@ -1,9 +1,14 @@ baseURL = "https://teach.matsuuratomoya.com" languageCode = "ja" -title = "松浦知也 授業資料置き場" +title = "松浦知也 授業資料" theme = 'book' publishDir = "public" +[markup] +[markup.goldmark.renderer] + unsafe = true +[markup.tableOfContents] + startLevel = 1 [languages] [languages.en] languageName = 'Japanese' @@ -36,7 +41,7 @@ disableKinds = ['taxonomy', 'taxonomyTerm'] # (Optional, default none) Set the path to a logo for the book. If the logo is # /static/logo.png then the path would be 'logo.png' - BookLogo = 'logo.png' +# BookLogo = 'logo.png' # (Optional, default none) Set leaf bundle to render as side menu # When not specified file structure and weights will be used @@ -53,7 +58,7 @@ disableKinds = ['taxonomy', 'taxonomyTerm'] # Enable 'Edit this page' links for 'doc' page type. # Disabled by default. Uncomment to enable. Requires 'BookRepo' param. # Path must point to 'content' directory of repo. - BookEditPath = 'edit/master/exampleSite/content' + BookEditPath = 'tree/master/content' # (Optional, default January 2, 2006) Configure the date format used on the pages # - In git information diff --git a/content/docs/2020/fukujo-sounddesign/_index.md b/content/docs/2020/fukujo-sounddesign/_index.md new file mode 100644 index 0000000..aa07a93 --- /dev/null +++ b/content/docs/2020/fukujo-sounddesign/_index.md @@ -0,0 +1,14 @@ +--- +title: 2020年 福岡女学院大学 「サウンド・デザイン」 +weight: 2 +bookFlatSection: true +--- +# 2020年 福岡女学院大学 「サウンド・デザイン」 + +木曜2時限目 + +講師:松浦知也 + +## 授業内容 + + diff --git a/content/docs/about/index.md b/content/docs/about/index.md new file mode 100644 index 0000000..cdf6542 --- /dev/null +++ b/content/docs/about/index.md @@ -0,0 +1,8 @@ +--- +title: About +weight: 1 +bookToc: false +bookFlatSection: true +--- + +このWebサイトは松浦知也の授業資料の置き場です。 \ No newline at end of file diff --git a/content/docs/license/index.md b/content/docs/license/index.md new file mode 100644 index 0000000..85133ed --- /dev/null +++ b/content/docs/license/index.md @@ -0,0 +1,8 @@ +--- +title: License +weight: 3 +bookToc: false +bookFlatSection: true +--- + +{{< cc_banner >}} \ No newline at end of file diff --git a/content/menu/index.md b/content/menu/index.md index 810bcfd..4a5180c 100644 --- a/content/menu/index.md +++ b/content/menu/index.md @@ -1,22 +1,6 @@ --- headless: true --- - -- [**Example Site**]({{< relref "/docs/example" >}}) -- [Table of Contents]({{< relref "/docs/example/table-of-contents" >}}) - - [With ToC]({{< relref "/docs/example/table-of-contents/with-toc" >}}) - - [Without ToC]({{< relref "/docs/example/table-of-contents/without-toc" >}}) -- [Collapsed]({{< relref "/docs/example/collapsed" >}}) - - [3rd]({{< relref "/docs/example/collapsed/3rd-level" >}}) - - [4th]({{< relref "/docs/example/collapsed/3rd-level/4th-level" >}}) -
- -- **Shortcodes** -- [Buttons]({{< relref "/docs/shortcodes/buttons" >}}) -- [Columns]({{< relref "/docs/shortcodes/columns" >}}) -- [Expand]({{< relref "/docs/shortcodes/expand" >}}) -- [Hints]({{< relref "/docs/shortcodes/hints" >}}) -- [Katex]({{< relref "/docs/shortcodes/katex" >}}) -- [Mermaid]({{< relref "/docs/shortcodes/mermaid" >}}) -- [Tabs]({{< relref "/docs/shortcodes/tabs" >}}) -
+- [**About**]({{< relref "docs/about/index.md">}}) +- [**2020年 福岡女学院大学 「サウンド・デザイン」**]({{< relref "docs/2020/fukujo-sounddesign/_index.md">}}) +- [**License**]({{< relref "docs/license/index.md">}}) diff --git a/layouts/shortcodes/cc_banner.html b/layouts/shortcodes/cc_banner.html new file mode 100644 index 0000000..d7e27bd --- /dev/null +++ b/layouts/shortcodes/cc_banner.html @@ -0,0 +1 @@ +クリエイティブ・コモンズ・ライセンス
このWebサイト『teach.matsuuratomoya.com』は松浦 知也の著作権の元、 クリエイティブ・コモンズ 表示 - 非営利 - 継承 4.0 国際 ライセンスで提供されています。 \ No newline at end of file