Started working on a blog for the website; adjusted some styles

This commit is contained in:
2023-03-16 14:27:30 -04:00
parent 771db2dae1
commit a9c2737713
13 changed files with 108 additions and 0 deletions

7
app/models/post.rb Normal file
View File

@ -0,0 +1,7 @@
class Post < ApplicationRecord
def renderBody()
Kramdown::Document.new(self.body).to_html()
end
end