edryd.org

some of my neat stuff
git clone git://edryd.org/edryd.org
Log | Files | Refs | LICENSE

baseof.html (3799B)


      1 <!DOCTYPE html>
      2 <html>
      3   <head>
      4     <meta charset="utf-8">
      5     <meta http-equiv="X-UA-Compatible" content="IE=edge">
      6     <meta name="viewport" content="width=device-width, initial-scale=1">
      7     <meta name="robots" content="all,follow">
      8     <title>{{ if not (eq .Title .Site.Title) }}{{ .Title }} - {{ end }}edryd</title>
      9     <meta name="description" content="Ed van Bruggen's personal website">
     10     <link rel="stylesheet" href="{{ "css/bootstrap.min.css" | relURL}}">
     11     <link rel="stylesheet" href="{{ "css/fontawesome.min.css" | relURL }}">
     12     <!-- TODO make fonts local -->
     13     <link rel="preconnect" href="https://fonts.gstatic.com">
     14     <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=EB+Garamond&family=Raleway:wght@800&display=swap">
     15     <link rel="stylesheet" href="{{ "css/lightbox.min.css" | relURL }}">
     16     <link rel="stylesheet" href="{{ "css/justifiedGallery.min.css" | relURL }}">
     17     <link rel="stylesheet" href="{{ "css/theme.css" | relURL }}">
     18     <link rel="stylesheet" href="{{ "css/custom.css" | relURL }}">
     19     <link rel="shortcut icon" href="{{ "img/favicon.png" | relURL }}">
     20   </head>
     21   <body>
     22 
     23     <header class="header">
     24       <nav class="navbar fixed-top navbar-expand-lg">
     25         <div class="container">
     26           <!-- TODO improve name nav look -->
     27           <a href="{{ "index.html" | relURL }}" class="navbar-brand link-scroll italic-off">edryd</a>
     28           <button type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler navbar-toggler-right"><i class="fa fa-bars"></i></button>
     29           <div id="navbarSupportedContent" class="collapse navbar-collapse">
     30             <ul class="navbar-nav ml-auto">
     31               <li class="nav-item"><a href="{{ "index.html#about" | relURL }}" class="nav-link">about</a></li>
     32               <li class="nav-item"><a href="{{ "photos" | relURL }}" class="nav-link">photos</a></li>
     33               <li class="nav-item"><a href="{{ "posts" | relURL }}" class="nav-link">posts</a></li>
     34               <li class="nav-item"><a href="{{ "projects" | relURL }}" class="nav-link">projects</a></li>
     35               <li class="nav-item"><a href="{{ "index.html#contact" | relURL }}" class="nav-link">contact</a></li>
     36               <li class="nav-item"><a href="https://git.edryd.org" class="nav-link">code</a></li>
     37             </ul>
     38           </div>
     39         </div>
     40       </nav>
     41     </header>
     42 
     43     {{- block "main" . }}{{- end }}
     44 
     45     <footer class="section-dark pt-7 slant-t-up">
     46       <div class="container">
     47         <div class="row copyright">
     48           <div class="col-md-6">
     49             <p class="mb-md-0 text-center text-md-left">
     50               <a href="https://git.edryd.org/edryd.org/file/LICENSE.html">
     51                 {{ .Site.Copyright }}
     52               </a>
     53             </p>
     54           </div>
     55           <div class="col-md-6">
     56             <p class="links mb-md-0 text-center text-inc text-md-right">
     57               {{ partial "links.html" }}
     58             </p>
     59           </div>
     60         </div>
     61       </div>
     62     </footer>
     63 
     64     <script src="{{ "js/jquery.min.js" | relURL }}"></script>
     65     <script src="{{ "js/bootstrap.bundle.min.js" | relURL }}"></script>
     66     <script src="{{ "js/lightbox.min.js" | relURL }}"></script>
     67     <script src="{{ "js/jquery.justifiedGallery.min.js" | relURL }}"></script>
     68     <script>
     69       lightbox.option({
     70               'resizeDuration': 250
     71             });
     72       $(".photos").justifiedGallery({
     73               rowHeight: 350,
     74               margins: 3,
     75               {{ if or (eq .Title .Site.Title) (eq .Title "photos") }}
     76                 lastRow: 'hide',
     77               {{ end }}
     78               captions: false
     79             })
     80     </script>
     81   </body>
     82 </html>