guestbook-ng/templates/layouts/single_message.html.ep

59 lines
2.1 KiB
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta property="og:locale" content="en_US">
<meta property="og:type" content="website">
2022-04-08 20:17:42 +00:00
<meta property="og:title"
content="Swagg::Net::Guestbook - Message #<%= @$view_post[4] %>">
<meta property="og:description" content="<%= @$view_post[2] %>">
<meta property="og:url" content="<%= $this_url %>">
<meta property="og:site_name" content="Swagg::Net::Guestbook">
2022-04-08 20:17:42 +00:00
<meta name="twitter:title"
content="Swagg::Net::Guestbook - Message #<%= @$view_post[4] %>">
<meta name="twitter:description" content="<%= @$view_post[2] %>">
<meta name="twitter:creator" content="@swaggboi@eattherich.club">
2022-04-08 20:17:42 +00:00
<meta name="twitter:site" content="Swagg::Net::Guestbook">
<meta content="<%= @$view_post[2] %>" name="description">
2022-04-08 20:17:42 +00:00
<title>Swagg::Net::Guestbook - Message #<%= @$view_post[4] %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%= asset 'swagg.css' %>
2022-07-22 00:58:56 +00:00
<link rel="icon" type="image/png" sizes="192x192"
href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512"
href="/android-chrome-512x512.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<div class="outer">
<h1 id="top">Swagg::Net::Guestbook</h1>
<nav>
<%= link_to View => '/view' %>
<%= link_to Sign => '/sign' %>
<%= link_to Home => 'https://www.swagg.net' %>
</nav>
<% if (flash 'error') { =%>
<div class="error">
<h2>Stop! You've violated the law:</h2>
<p><%= flash 'error' %></p>
<p>Please report to the
<%= link_to 'cyber police', 'mailto:swaggboi@slackware.uk' %>!</p>
</div>
<% } =%>
<hr>
</div>
<div class="inner">
<%= content =%>
</div>
<div class="outer">
<footer>
<p><%= $post_count %> of <%= $visitor_count %> total visitors have
signed the guestbook to date.</p>
</footer>
</div>
</body>
</html>