5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 04:16:56 +00:00

Merge branch 'issue-9989' into panel.sutty.nl
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-03-09 15:14:30 -03:00
commit bd7095e4a4
2 changed files with 4 additions and 7 deletions

View file

@ -117,6 +117,10 @@ class Post
# Cacofonía
html.to_html.html_safe
rescue Liquid::Error => e
ExceptionNotifier.notify(e, data: { site: site.name, post: post.id })
''
end
end

View file

@ -6,13 +6,6 @@
edit_site_post_path(@site, @post.id),
class: 'btn btn-block'
- unless @post.layout.ignored?
= link_to t('posts.preview.btn'),
site_post_preview_path(@site, @post.id),
class: 'btn btn-block',
target: '_blank',
rel: 'noopener'
%table.table.table-condensed
%thead
%tr