about summary refs log tree commit diff
path: root/app/views/public_timelines
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-12 17:34:00 +0100
committerGitHub <noreply@github.com>2019-03-12 17:34:00 +0100
commit65fffeac3f960f9c74d693525a73ac14b201bf2b (patch)
tree41d5eaa2a446e161dc26d39960cde870135ee06f /app/views/public_timelines
parent6a8dc59eb8187b49aa3cbf3e4bf80565d8aa15d3 (diff)
Redesign landing page (#10232)
Diffstat (limited to 'app/views/public_timelines')
-rw-r--r--app/views/public_timelines/show.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/public_timelines/show.html.haml b/app/views/public_timelines/show.html.haml
new file mode 100644
index 000000000..913d5d855
--- /dev/null
+++ b/app/views/public_timelines/show.html.haml
@@ -0,0 +1,14 @@
+- content_for :page_title do
+  = t('about.see_whats_happening')
+
+- content_for :header_tags do
+  %meta{ name: 'robots', content: 'noindex' }/
+  %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
+  = javascript_pack_tag 'about', integrity: true, crossorigin: 'anonymous'
+
+.page-header
+  %h1= t('about.see_whats_happening')
+  %p= t('about.browse_public_posts')
+
+#mastodon-timeline{ data: { props: Oj.dump(default_props) }}
+#modal-container