feature/share-libs
erb 42 lines 1.28 KB
Raw
1 <% content_for :meta_head do %>
2 <title><%= @meta_title %></title>
3 <meta name="description" content="<%= @meta_description %>">
4 <meta property="og:title" content="<%= @meta_title %>" />
5 <meta property="og:description" content="<%= @meta_description %>" />
6 <meta property="og:url" content="<%= request.base_url %>/tentang-kami" />
7 <% end %>
8 <% content_for :breadcrumb do %>
9 <script type="application/ld+json">
10 {
11 "@context": "http://schema.org",
12 "@type": "BreadcrumbList",
13 "itemListElement": [{
14 "@type": "ListItem",
15 "position": 1,
16 "item": {
17 "@id": "<%= request.base_url %>",
18 "name": "<%= t('site_name') %>"
19 }
20 },{
21 "@type": "ListItem",
22 "position": 2,
23 "item": {
24 "@id": "<%= request.base_url %>/tentang-kami",
25 "name": "Tentang Kami"
26 }
27 }]
28 }
29 </script>
30 <% end %>
31 <main>
32 <div class="row g-5">
33 <div class="col-12">
34 <h1><%= @page_title %></h1>
35 <div class="lead"><%= @page.page_content.html_safe if @page %></div>
36 <%= link_to(t('nav_what_is_this'), what_is_this_path) %>
37 </div>
38 </div>
39 <%= render "shared/partial_breadcrumbs" do %>
40 <li class="breadcrumb-item"><%= link_to t("nav_footer_about"), about_us_path %></li>
41 <% end %>
42 </main>