Skip to content

Commit 2eae045

Browse files
committed
Update article generator
1 parent 6ecfdfe commit 2eae045

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

app/content/pages/articles/how-to-render-css-dynamically-in-rails.html.mdrb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: Ross Kaffenberger
44
layout: article
55
summary: Rails is not just for HTML over the wire. This post demonstrates how and why you might use Rails for delivering CSS on the fly too.
66
description: Rails is not just for HTML over the wire. This post demonstrates how and why you might use Rails for delivering CSS on the fly too.
7-
# published: '2024-08-12'
7+
published: '2024-08-12'
88
uuid: 3be769c4-6a2a-4cfb-8008-94046b952aa6
99
image: articles/how-to-render-css-dynamically-in-rails/placeholder.jpg
1010
meta_image: articles/how-to-render-css-dynamically-in-rails/placeholder.jpg

lib/generators/article/templates/article.html.mdrb.tt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ layout: article
55
summary: Here is the summary
66
description: Here is the description that will show up in the the meta day
77
published: "<%= Date.today + 7 %>"
8-
draft: true
98
uuid: <%= SecureRandom.uuid %>
109
image: articles/<%= article_file_name %>/placeholder.jpg
1110
meta_image: articles/<%= article_file_name %>/placeholder.jpg

spec/generators/articles_generator_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
summary: Here is the summary
2828
description: Here is the description that will show up in the the meta day
2929
published: "#{Date.today + 7}"
30-
draft: true
3130
uuid: #{uuid}
3231
image: articles/my-new-article/placeholder.jpg
3332
meta_image: articles/my-new-article/placeholder.jpg

0 commit comments

Comments
 (0)