summaryrefslogtreecommitdiff
path: root/climbing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'climbing.rb')
-rwxr-xr-xclimbing.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/climbing.rb b/climbing.rb
index c016bfa..7360601 100755
--- a/climbing.rb
+++ b/climbing.rb
@@ -6,7 +6,7 @@ html = File.read(File.join(SNIPPETS, 'head.html'))
html += nav 'climbing'
climbing.each do |dir|
date = File.basename(dir)
- html += "<div class='post' id='#{date}'>"
+ html += "<section id='#{date}'>"
html += "<h1>#{date}</h1>"
mp4 = Dir[File.join(dir, '*.mp4')].first.sub(MEDIA_DIR, MEDIA_URL)
webm = Dir[File.join(dir, '*.webm')].first.sub(MEDIA_DIR, MEDIA_URL)
@@ -18,7 +18,7 @@ climbing.each do |dir|
</video><p>
"
html += File.read(File.join(dir, 'README'))
- html += '</div>'
+ html += '</section>'
end
html += File.read(File.join(SNIPPETS, 'tail.html'))
print_html 'climbing', html