Skip to content

Commit

Permalink
Remove no-longer using variable: project_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Sep 29, 2023
1 parent 410aab2 commit 6b9cf4a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tasks/upsert_project_pages_by_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#Dir.glob("_posts/exhibition/*.md").each { |filename| File.delete(filename) }

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

0 comments on commit 6b9cf4a

Please sign in to comment.