File: amp.rhtml

package info (click to toggle)
tdiary 5.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,088 kB
  • sloc: ruby: 23,031; javascript: 1,029; xml: 325; makefile: 26; sh: 4
file content (34 lines) | stat: -rw-r--r-- 1,693 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html>
<html ⚡ lang="ja">
  <head>
    <meta charset="utf-8">
    <%= amp_header_proc %>
    <script async src="https://cdn.ampproject.org/v0.js"></script>
    <title><%= amp_title %></title>
    <link rel="canonical" href="<%= amp_canonical_url(diary) %>" />
    <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
    <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
    <style amp-custom>
    <%= amp_style %>
    </style>
  </head>
  <body>
    <%= amp_body_enter_proc %>
    <div class="whole-content">
      <div class="adminmenu">
        <%= navi_user %>
      </div>
      <div class="content">
        <h1><a href="<%= amp_canonical_url(diary) %>"><%= amp_title %></a></h1>
        <div class="day">
          <h2><%= amp_day_title(diary) %></h2>
          <div class="body">
            <%= amp_body(diary) %>
          </div>
        </div>
      </div>
      <div class="footer">
      </div>
    </div>
  </body>
</html>