diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/blogs/show.html.haml | 1 | ||||
-rw-r--r-- | app/views/layouts/application.html.haml | 3 | ||||
-rw-r--r-- | app/views/webmentions/.keep | 0 |
3 files changed, 1 insertions, 3 deletions
diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index c849143..7558257 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml | |||
@@ -1,5 +1,4 @@ | |||
1 | - title @blog.title | 1 | - title @blog.title |
2 | - content_for :webmention_endpoint, webmention_blog_url(@blog) | ||
3 | - unless @prev.nil? | 2 | - unless @prev.nil? |
4 | .back-post= link_to "← #{@prev.title}", @prev | 3 | .back-post= link_to "← #{@prev.title}", @prev |
5 | - unless @next.nil? | 4 | - unless @next.nil? |
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index d776b9c..b3928f2 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml | |||
@@ -7,8 +7,7 @@ | |||
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 | %link{rel: "me", href: "mailto:fefferburbia+thoughts@gmail.com"} | 9 | %link{rel: "me", href: "mailto:fefferburbia+thoughts@gmail.com"} |
10 | - if content_for?(:webmention_endpoint) | 10 | %link{rel: "webmention", href: webmentions_url} |
11 | %link{rel: "webmention", href: yield(:webmention_endpoint)} | ||
12 | %body#main-body | 11 | %body#main-body |
13 | - if flash[:alert] | 12 | - if flash[:alert] |
14 | %div#flash.flash-alert= flash[:alert] | 13 | %div#flash.flash-alert= flash[:alert] |
diff --git a/app/views/webmentions/.keep b/app/views/webmentions/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/app/views/webmentions/.keep | |||