diff --git a/config/_default/config.toml b/config/_default/config.toml
index 9817e9c..74e6796 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -221,6 +221,17 @@ theme = "LoveIt"
# title will be shown when you hover on this menu link
title = ""
weight = 1
+ [[menu.main]]
+ identifier = "photos"
+ # you can add extra information before the name (HTML format is supported), such as icons
+ pre = ""
+ # you can add extra information after the name (HTML format is supported), such as icons
+ post = ""
+ name = "Photos"
+ url = "/photos/"
+ # title will be shown when you hover on this menu link
+ title = ""
+ weight = 2
[[menu.main]]
identifier = "tags"
pre = ""
@@ -228,7 +239,7 @@ theme = "LoveIt"
name = "Tags"
url = "/tags/"
title = ""
- weight = 2
+ weight = 3
[[menu.main]]
identifier = "categories"
pre = ""
@@ -236,7 +247,7 @@ theme = "LoveIt"
name = "Categories"
url = "/categories/"
title = ""
- weight = 3
+ weight = 4
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
diff --git a/config/staging/config.toml b/config/staging/config.toml
index 3cb4365..87bbcd5 100644
--- a/config/staging/config.toml
+++ b/config/staging/config.toml
@@ -221,6 +221,17 @@ theme = "LoveIt"
# title will be shown when you hover on this menu link
title = ""
weight = 1
+ [[menu.main]]
+ identifier = "photos"
+ # you can add extra information before the name (HTML format is supported), such as icons
+ pre = ""
+ # you can add extra information after the name (HTML format is supported), such as icons
+ post = ""
+ name = "Photos"
+ url = "/photos/"
+ # title will be shown when you hover on this menu link
+ title = ""
+ weight = 2
[[menu.main]]
identifier = "tags"
pre = ""
@@ -228,7 +239,7 @@ theme = "LoveIt"
name = "Tags"
url = "/tags/"
title = ""
- weight = 2
+ weight = 3
[[menu.main]]
identifier = "categories"
pre = ""
@@ -236,7 +247,7 @@ theme = "LoveIt"
name = "Categories"
url = "/categories/"
title = ""
- weight = 3
+ weight = 4
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
diff --git a/content/photos/2022/2022-11-20-ueno-park.md b/content/photos/2022/2022-11-20-ueno-park.md
new file mode 100644
index 0000000..7b9f6c5
--- /dev/null
+++ b/content/photos/2022/2022-11-20-ueno-park.md
@@ -0,0 +1,15 @@
++++
+title = "秋の上野公園"
+date = 2022-11-19T17:21:00+09:00
+lastmod = 2022-11-20T18:21:00+09:00
+description = "秋の上野公園を訪ねてきました"
+tags = ["上野"]
+author = "kazu634"
+camera = "Sony a6400"
+lens = "E 35mm F1.8 OSS"
+location = "上野公園"
+images = ["https://live.staticflickr.com/65535/52510534640_3ba9395a29_b.jpg"]
++++
+
+
+
diff --git a/content/photos/2022/2022-11-23-kamata-barbon-road.md b/content/photos/2022/2022-11-23-kamata-barbon-road.md
new file mode 100644
index 0000000..89e41b2
--- /dev/null
+++ b/content/photos/2022/2022-11-23-kamata-barbon-road.md
@@ -0,0 +1,14 @@
++++
+title = "ウィスキー"
+date = 2022-11-23T21:21:00+09:00
+lastmod = 2022-11-23T21:21:00+09:00
+description = "竹鶴だよ"
+tags = ["蒲田"]
+author = "kazu634"
+camera = "Sony a6400"
+lens = "E 35mm F1.8 OSS"
+location = "蒲田 バーボンロード"
+images = ["ogp/2022-11-23-kamata-barbon-road.webp"]
++++
+
+
diff --git a/content/photos/2022/2022-11-27-temizuya.md b/content/photos/2022/2022-11-27-temizuya.md
new file mode 100644
index 0000000..eabf934
--- /dev/null
+++ b/content/photos/2022/2022-11-27-temizuya.md
@@ -0,0 +1,14 @@
++++
+title = "手水舎"
+date = 2022-11-26T21:21:00+09:00
+lastmod = 2022-11-26T21:21:00+09:00
+description = "神社の手を洗うところを「手水舎」と呼びます"
+tags = ["武蔵新田"]
+author = "kazu634"
+camera = "Sony a6400"
+lens = "E 35mm F1.8 OSS"
+location = "新田神社"
+images = ["ogp/2022-11-27-temizuya.webp"]
++++
+
+
diff --git a/content/posts/2022/2022-11-20-ueno-park.md b/content/posts/2022/2022-11-20-ueno-park.md
deleted file mode 100644
index efd59dd..0000000
--- a/content/posts/2022/2022-11-20-ueno-park.md
+++ /dev/null
@@ -1,20 +0,0 @@
-+++
-title = "秋の上野公園"
-date = 2022-11-19T17:21:00+09:00
-lastmod = 2022-11-20T18:21:00+09:00
-description = "秋の上野公園を訪ねてきました"
-tags = ["上野"]
-categories = ["写真"]
-author = "kazu634"
-images = ["https://live.staticflickr.com/65535/52510534640_3ba9395a29_b.jpg"]
-+++
-
-秋の上野公園を訪ねてきました。
-
-
-
-
-
-
-
-
diff --git a/layouts/photos/single.html b/layouts/photos/single.html
new file mode 100644
index 0000000..bfa46bb
--- /dev/null
+++ b/layouts/photos/single.html
@@ -0,0 +1,78 @@
+{{- define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end -}}
+
+{{- define "content" -}}
+ {{- $params := .Scratch.Get "params" -}}
+
+ {{- $toc := $params.toc -}}
+ {{- if eq $toc true -}}
+ {{- $toc = .Site.Params.page.toc | default dict -}}
+ {{- else if eq $toc false -}}
+ {{- $toc = dict "enable" false -}}
+ {{- end -}}
+
+ {{- /* Auto TOC */ -}}
+ {{- if ne $toc.enable false -}}
+