summaryrefslogtreecommitdiffstats
path: root/import-blog.rb
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-01-06 10:47:02 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-01-06 11:09:01 +0100
commit0a9345d3378209bfac51f1e1929fed3cc2325b1c (patch)
tree58d90881e59075814b54ba47c24aa8a8f02e4afa /import-blog.rb
parent25a151df00bd9578dc686f703085535ba4b5cef9 (diff)
Start changing content structure to match emanotes expected layout
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'import-blog.rb')
-rw-r--r--import-blog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/import-blog.rb b/import-blog.rb
index c0b2ba9..0b9946b 100644
--- a/import-blog.rb
+++ b/import-blog.rb
@@ -8,7 +8,7 @@ json['collections'][0]['posts'].each do |post|
slug = post['slug']
title = post['title']
body = post['body']
- f = File.open("content/blog-imports/#{slug}.md", "w")
+ f = File.open("blog/#{slug}.md", "w")
f.write "# #{title}\n"
f.write "\n"
f.write body