Commit f1654da7 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Added <link> tags to profiles and entries

parent 9ec03ab5
!!!
!!! 5
%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
......@@ -6,6 +6,7 @@
= stylesheet_link_tag 'application', media: 'all'
= javascript_include_tag 'application'
= csrf_meta_tags
= yield :header_tags
%body
.container
= yield
......
%div.activity-stream
- content_for :header_tags do
%link{ rel: 'alternate', type: 'application/atom+xml', href: atom_entry_url(id: @entry.id) }/
.activity-stream
= render partial: @type, locals: { @type.to_sym => @entry.activity, include_threads: true, is_predecessor: false, is_successor: false }
- content_for :header_tags do
%link{ rel: 'salmon', href: salmon_url(@account) }/
%link{ rel: 'alternate', type: 'application/atom+xml', href: atom_user_stream_url(id: @account.id) }/
.card
.avatar= image_tag @account.avatar.url(:medium)
.bio
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment