diff options
Diffstat (limited to 'app/views/blogs')
-rw-r--r-- | app/views/blogs/_blog.html.haml | 2 | ||||
-rw-r--r-- | app/views/blogs/show.html.haml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index d0b81d1..878b1a2 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml | |||
@@ -19,7 +19,7 @@ | |||
19 | %cite.bubble.blog-cite | 19 | %cite.bubble.blog-cite |
20 | %span.p-author.h-card | 20 | %span.p-author.h-card |
21 | %strong.p-name= blog.user.login.capitalize | 21 | %strong.p-name= blog.user.login.capitalize |
22 | %data.u-url{ value: "/" } | 22 | %data.u-url{ value: root_url } |
23 | on | 23 | on |
24 | %time.dt-published{ datetime: blog.visible_date.strftime("%Y-%m-%dT%H:%M:%SZ%z") }= blog.visible_date.strftime("%B #{blog.visible_date.day.ordinalize}, %Y at %-I:%M:%S%P") | 24 | %time.dt-published{ datetime: blog.visible_date.strftime("%Y-%m-%dT%H:%M:%SZ%z") }= blog.visible_date.strftime("%B #{blog.visible_date.day.ordinalize}, %Y at %-I:%M:%S%P") |
25 | .post-vote{ id: "blog-vote-section-#{blog.id}" } | 25 | .post-vote{ id: "blog-vote-section-#{blog.id}" } |
diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 7558257..c849143 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml | |||
@@ -1,4 +1,5 @@ | |||
1 | - title @blog.title | 1 | - title @blog.title |
2 | - content_for :webmention_endpoint, webmention_blog_url(@blog) | ||
2 | - unless @prev.nil? | 3 | - unless @prev.nil? |
3 | .back-post= link_to "← #{@prev.title}", @prev | 4 | .back-post= link_to "← #{@prev.title}", @prev |
4 | - unless @next.nil? | 5 | - unless @next.nil? |