Skip to content

Commit 6b9cf4a

Browse files
committed
Remove no-longer using variable: project_ids
1 parent 410aab2 commit 6b9cf4a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tasks/upsert_project_pages_by_data.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#Dir.glob("_posts/exhibition/*.md").each { |filename| File.delete(filename) }
1212

1313
projects = YAML.load_file('_data/projects.yml', symbolize_names: true)
14-
project_ids = (1..(projects.count)).to_a # ナビ用の配列(ID=1, ID=2, ..., ID=n)を作る
1514
projects.each.with_index(0) do |project, index|
1615
# Generate individual project page by data
1716
project_prev = projects.rotate(index - 1).first

0 commit comments

Comments
 (0)