diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 0601939..304496f 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -13,12 +13,22 @@ <%= content 'open_graph' =%> - + + <%= content 'twitter_card' =%> + + + + + <%= asset 'app.css' %> diff --git a/templates/page/about.html.ep b/templates/page/about.html.ep index a77d9b2..f5db0f8 100644 --- a/templates/page/about.html.ep +++ b/templates/page/about.html.ep @@ -8,6 +8,13 @@ content="Post::Text is a textboard a bit like 2channel. You can post whatever you want anonymously just please mind the rules." > % end +% content_for twitter_card => begin + + +% end

<%= title %>

Post::Text is a diff --git a/templates/page/rules.html.ep b/templates/page/rules.html.ep index 834807e..b72d0b3 100644 --- a/templates/page/rules.html.ep +++ b/templates/page/rules.html.ep @@ -8,6 +8,13 @@ content="Post::Text is a textboard a bit like 2channel. You can post whatever you want anonymously just please mind the rules." > % end +% content_for twitter_card => begin + + +% end

<%= title %>

The rules here are pretty simple:

diff --git a/templates/remark/by_id.html.ep b/templates/remark/by_id.html.ep index a828d20..721e2de 100644 --- a/templates/remark/by_id.html.ep +++ b/templates/remark/by_id.html.ep @@ -9,6 +9,12 @@ <% end %> +<% content_for twitter_card => begin %> + + +<% end %>

diff --git a/templates/remark/create.html.ep b/templates/remark/create.html.ep index d7c7668..9cf19c9 100644 --- a/templates/remark/create.html.ep +++ b/templates/remark/create.html.ep @@ -8,6 +8,11 @@ <% end %> +<% content_for twitter_card => begin %> + + +<% end %>
<% if (my $error = validation->error('author')) { =%> diff --git a/templates/thread/by_id.html.ep b/templates/thread/by_id.html.ep index 1e34140..7dd3e83 100644 --- a/templates/thread/by_id.html.ep +++ b/templates/thread/by_id.html.ep @@ -8,6 +8,11 @@ <% end %> +<% content_for twitter_card => begin %> + + +<% end %>

diff --git a/templates/thread/by_page.html.ep b/templates/thread/by_page.html.ep index 9da4058..844fec5 100644 --- a/templates/thread/by_page.html.ep +++ b/templates/thread/by_page.html.ep @@ -5,6 +5,10 @@ % end +% content_for twitter_card => begin + + +% end

<%= title %>

<% if (scalar @{$threads}) { =%>
diff --git a/templates/thread/create.html.ep b/templates/thread/create.html.ep index 863bafb..5d4bfba 100644 --- a/templates/thread/create.html.ep +++ b/templates/thread/create.html.ep @@ -5,6 +5,10 @@ % end +% content_for twitter_card => begin + + +% end

<%= title %>