We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410aab2 commit 6b9cf4aCopy full SHA for 6b9cf4a
tasks/upsert_project_pages_by_data.rb
@@ -11,7 +11,6 @@
11
#Dir.glob("_posts/exhibition/*.md").each { |filename| File.delete(filename) }
12
13
projects = YAML.load_file('_data/projects.yml', symbolize_names: true)
14
-project_ids = (1..(projects.count)).to_a # ナビ用の配列(ID=1, ID=2, ..., ID=n)を作る
15
projects.each.with_index(0) do |project, index|
16
# Generate individual project page by data
17
project_prev = projects.rotate(index - 1).first
0 commit comments