diff --git a/app/views/merged/view/_section_news.haml b/app/views/merged/view/_section_news.haml new file mode 100644 index 0000000..8952b97 --- /dev/null +++ b/app/views/merged/view/_section_news.haml @@ -0,0 +1,9 @@ +- if blog = last_blog + %section.border.py-20{ options(section , :background )} + .flex.mx-20.justify-between.items-center + .text-2xl.font-bold.tracking-tight.sm:text-4xl + = section.header + .text-lg + = section.text + - template = find_template(last_blog) + = render( template , section: last_blog)