diff options
author | luxagraf <sng@luxagraf.net> | 2022-08-15 12:53:16 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-08-15 12:53:16 -0500 |
commit | dc050ad927396ac8732f4a382d136fac7c0bba4c (patch) | |
tree | bf41e0e0df0740aee6e0938fb9a33507777c64a2 | |
parent | 3cd7735dcd98565d25679b12723876f06f8adc21 (diff) |
posts: fixed a bug where prologues and epilogues were not being rendered
into html
-rw-r--r-- | app/posts/models.py | 4 | ||||
-rw-r--r-- | screenv11.css | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/posts/models.py b/app/posts/models.py index 781e8fb..6705a83 100644 --- a/app/posts/models.py +++ b/app/posts/models.py @@ -178,9 +178,9 @@ class Post(models.Model): prods = render_products(md) print(self.title) self.body_html = markdown_to_html(prods) - if self.epilogue_html: + if self.epilogue_markdown: self.epilogue_html = markdown_to_html(self.epilogue_markdown) - if self.prologue_html: + if self.prologue_markdown: self.prologue_html = markdown_to_html(self.prologue_markdown) self.has_video = parse_video(self.body_html) if self.point: diff --git a/screenv11.css b/screenv11.css index fc5a3ae..d1d358f 100644 --- a/screenv11.css +++ b/screenv11.css @@ -263,6 +263,9 @@ iframe { .small { font-size: 85%; } +.strike { + text-decoration: line-through; +} .btn { font-size: 15px; font-size: .9375rem; |