site

Website's source files.
git clone git://git.ryanmj.xyz/site.git
Log | Files | Refs | LICENSE

application.html.erb (3663B)


      1 <?xml ver/sion="1.0" encoding="utf-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      3           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      5   <head>
      6     <!-- 2021-04-22 Thu 02:37 -->
      7     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
      8     <meta name="viewport" content="width=device-width, initial-scale=1" />
      9     <title>Ryan's Homepage</title>
     10 
     11     <%= csrf_meta_tags %>
     12     <%= csp_meta_tag %>
     13 
     14     <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
     15     <meta name="author" content="Ryan Jeffrey" />
     16     <script type="text/x-mathjax-config">
     17      MathJax.Hub.Config({
     18        displayAlign: "center",
     19        displayIndent: "0em",
     20 
     21        "HTML-CSS": { scale: 100,
     22                      linebreaks: { automatic: "false" },
     23                      webFont: "TeX"
     24        },
     25        SVG: {scale: 100,
     26              linebreaks: { automatic: "false" },
     27              font: "TeX"},
     28        NativeMML: {scale: 100},
     29        TeX: { equationNumbers: {autoNumber: "AMS"},
     30               MultLineWidth: "85%",
     31               TagSide: "right",
     32               TagIndent: ".8em"
     33        }
     34      });
     35     </script>
     36     <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML"></script>   <link rel="shortcut icon" type="image/x-icon" href="favicon32x32.ico">
     37   </head>
     38   <body>
     39     <nav>
     40       <ul>
     41         <li>
     42           <a href="/">
     43             <%= image_tag '/res/user-home.webp', alt: 'Homepage' %>
     44             <h4>Home</h4>
     45           </a>
     46         </li>
     47 
     48         <li>
     49           <a href="/posts/">
     50             <h4>📝Blog</h4>
     51           </a>
     52         </li>
     53 
     54         <li>
     55           <a href="/files/">
     56             <%= image_tag '/res/ktorrent.webp', alt: 'Files' %>
     57             <h4>Files</h4>
     58           </a>
     59         </li>
     60         
     61         <li>
     62           <a href="https://git.ryanmj.xyz">
     63             <%= image_tag '/res/folder-git.webp', alt: 'git' %>
     64             <h4>Git</h4>
     65           </a>
     66         </li>
     67 
     68         <li>
     69           <a href="mailto:ryan@ryanmj.xyz">
     70             <h4>📧Email</h4>
     71           </a>
     72         </li>
     73 
     74         <li>
     75           <a href="/blerbs">
     76             <h4>👽Blerbs</h4>
     77           </a>
     78         </li>
     79 
     80         <li>
     81           <a href="/links">
     82             <h4>🔗Links</h4>
     83           </a>
     84         </li>
     85       </ul>
     86     </nav>
     87     <%= render ApplicationController::random_comment %>
     88     <main>
     89       <%= yield %>
     90     </main>
     91     <footer>
     92       <a href="https://www.gnu.org/software/emacs/">
     93         <%= image_tag '/res/stickies/emacs.webp', alt: 'POWERED BY EMACS' %>
     94       </a>
     95       <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">
     96         <%= image_tag '/res/stickies/gplv3.webp', alt: 'GPLv3'  %>
     97       </a>
     98       <a href="https://www.sxemacs.org/">
     99         <%= image_tag '/res/stickies/sxe.webp', alt: 'POWERED BY SXEMACS' %>
    100       </a>
    101       <a href="https://www.xemacs.org/">
    102         <%= image_tag  '/res/stickies/xe.webp', alt: 'POWERED BY XEMACS' %>
    103       </a>
    104 
    105       <a href='https://ipv6-test.com/validate.php?url=referer'>
    106         <%= image_tag '/res/stickies/button-ipv6-big.webp', alt:'ipv6 ready', title: 'ipv6 ready' %>
    107       </a>
    108       
    109       <a href="https://jigsaw.w3.org/css-validator/check/referer">
    110         <%= image_tag '/res/stickies/vcss.gif', alt: 'Valid CSS!' %>
    111       </a>
    112 
    113       <a href="https://www.gimp.org/">
    114         <%= image_tag '/res/stickies/gimp.webp', alt: 'Valid CSS!' %>
    115       </a>
    116 
    117       <%= image_tag '/res/stickies/chrmevil.webp', alt: 'Chrome is evil!' %>
    118       <p><i>This website is dedicated to mankind.</i></p>
    119     </footer>
    120   </body>
    121 </html>