From ba7096d08741af0bfc23df650f44c54f6a146ff5 Mon Sep 17 00:00:00 2001 From: nanophate Date: Sun, 26 Feb 2023 23:26:56 +0900 Subject: [PATCH] Add meta title and url for ogp support --- app/views/sotechsha_pages/0.html.erb | 2 ++ app/views/sotechsha_pages/1.html.erb | 3 +++ app/views/sotechsha_pages/2.html.erb | 2 ++ app/views/sotechsha_pages/3.html.erb | 2 ++ app/views/sotechsha_pages/4.html.erb | 2 ++ app/views/sotechsha_pages/5.html.erb | 3 ++- app/views/sotechsha_pages/6.html.erb | 3 +++ app/views/sotechsha_pages/gazou.html.erb | 3 +++ app/views/sotechsha_pages/index.html.erb | 2 ++ 9 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/views/sotechsha_pages/0.html.erb b/app/views/sotechsha_pages/0.html.erb index b89b72172..94fa4a1b1 100644 --- a/app/views/sotechsha_pages/0.html.erb +++ b/app/views/sotechsha_pages/0.html.erb @@ -1,3 +1,5 @@ +<% provide :title, '序章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/0' %>
diff --git a/app/views/sotechsha_pages/1.html.erb b/app/views/sotechsha_pages/1.html.erb index 7d7f6bb83..e864b1dc3 100644 --- a/app/views/sotechsha_pages/1.html.erb +++ b/app/views/sotechsha_pages/1.html.erb @@ -1,3 +1,6 @@ +<% provide :title, '1章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/1' %> +
diff --git a/app/views/sotechsha_pages/2.html.erb b/app/views/sotechsha_pages/2.html.erb index ee926a713..b5da9982c 100644 --- a/app/views/sotechsha_pages/2.html.erb +++ b/app/views/sotechsha_pages/2.html.erb @@ -1,3 +1,5 @@ +<% provide :title, '2章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/2' %>
diff --git a/app/views/sotechsha_pages/3.html.erb b/app/views/sotechsha_pages/3.html.erb index 743683d80..051d58b1f 100644 --- a/app/views/sotechsha_pages/3.html.erb +++ b/app/views/sotechsha_pages/3.html.erb @@ -1,3 +1,5 @@ +<% provide :title, '3章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/3' %>
diff --git a/app/views/sotechsha_pages/4.html.erb b/app/views/sotechsha_pages/4.html.erb index 14f5a072b..a95788614 100644 --- a/app/views/sotechsha_pages/4.html.erb +++ b/app/views/sotechsha_pages/4.html.erb @@ -1,3 +1,5 @@ +<% provide :title, '4章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/4' %>
diff --git a/app/views/sotechsha_pages/5.html.erb b/app/views/sotechsha_pages/5.html.erb index 572ea7bf1..07c7b3e9a 100644 --- a/app/views/sotechsha_pages/5.html.erb +++ b/app/views/sotechsha_pages/5.html.erb @@ -1,4 +1,5 @@ - +<% provide :title, '5章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/5' %>
diff --git a/app/views/sotechsha_pages/6.html.erb b/app/views/sotechsha_pages/6.html.erb index b82edabae..4ab645bb4 100644 --- a/app/views/sotechsha_pages/6.html.erb +++ b/app/views/sotechsha_pages/6.html.erb @@ -1,3 +1,6 @@ +<% provide :title, '6章課題 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/6' %> +
diff --git a/app/views/sotechsha_pages/gazou.html.erb b/app/views/sotechsha_pages/gazou.html.erb index 23af3765d..5cda4338e 100644 --- a/app/views/sotechsha_pages/gazou.html.erb +++ b/app/views/sotechsha_pages/gazou.html.erb @@ -1,3 +1,6 @@ +<% provide :title, 'スプライト素材のダウンロード - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha/5' %> +
diff --git a/app/views/sotechsha_pages/index.html.erb b/app/views/sotechsha_pages/index.html.erb index 2b996b979..e8a31a8f6 100644 --- a/app/views/sotechsha_pages/index.html.erb +++ b/app/views/sotechsha_pages/index.html.erb @@ -1,3 +1,5 @@ +<% provide :title, '第1版 Scratch でつくる! たのしむ! プログラミング道場 - CoderDojo Japan' %> +<% provide :url, 'https://coderdojo.jp/sotechsha' %>