about summary refs log tree commit diff stats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 15:54:39 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 15:54:39 -0500
commita996f3bd05fc480247fd112f23fa3e67f7d5d7b5 (patch)
tree2df0a56e8cc42ccd632db5b2c022b7dbf8d74444 /app/views/layouts
parent59f5508d5bc0cee856105a5bd52e1deaee44b842 (diff)
downloadthoughts-a996f3bd05fc480247fd112f23fa3e67f7d5d7b5.tar.gz
thoughts-a996f3bd05fc480247fd112f23fa3e67f7d5d7b5.tar.bz2
thoughts-a996f3bd05fc480247fd112f23fa3e67f7d5d7b5.zip
Added support for liking blog posts via webmention
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 69cd6ba..ec37f73 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml
@@ -6,6 +6,8 @@
6 = stylesheet_link_tag 'main', media: 'all', 'data-turbolinks-track': 'reload' 6 = stylesheet_link_tag 'main', media: 'all', 'data-turbolinks-track': 'reload'
7 = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' 7 = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
8 = display_meta_tags og: { site_name: "Four Island" } 8 = display_meta_tags og: { site_name: "Four Island" }
9 - if content_for?(:webmention_endpoint)
10 %link{rel: "webmention", href: yield(:webmention_endpoint)}
9 %body#main-body 11 %body#main-body
10 - if flash[:alert] 12 - if flash[:alert]
11 %div#flash.flash-alert= flash[:alert] 13 %div#flash.flash-alert= flash[:alert]