template.eml.html 2.09 KB
Newer Older
zapashcanon's avatar
zapashcanon committed
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
let render_unsafe ~title ~content =
  <!DOCTYPE html>
  <html lang="en">
    <head>
      <title><%s title %> | OCamlPro</title>
      <link rel="icon" type="image/svg+xml" href="assets/img/logo_ocp_icon.svg">
      <link href="assets/css/bootstrap.min.css" rel="stylesheet"/>
      <link href="assets/css/style.css" rel="stylesheet">
    </head>
    <body>
      <header>
          <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
              <div class="container-fluid">
                <a class="navbar-brand" href="https://www.ocamlpro.com"><img src="assets/img/logo_ocamlpro.png" alt="OCamlPro" height="42" /></a>
                  <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
                      <span class="navbar-toggler-icon"></span>
                  </button>
                  <div class="collapse navbar-collapse" id="navbarCollapse">
                      <ul class="navbar-nav me-auto mb-2 mb-md-0">
                          <li class="nav-item">
                              <a class="nav-link" href="/">Home</a>
                          </li>
                      </ul>
                  </div>
              </div>
          </nav>
      </header>
      <br />
      <br />
      <br />
      <br />
      <main>
        <div class="container">
          <%s! content %>
        </div>
        <hr class="featurette-divider">
        <footer class="container">
          <p>&copy; 2011–2021 OCamlPro &middot;
            <a href="https://twitter.com/ocamlpro">Twitter</a> &middot;
            <a href="https://www.linkedin.com/company/2152404/">LinkedIn</a> &middot;
            <a href="mailto:contact@ocamlpro.com">Email</a> &middot;
            <a href="tel:+33184800481">Phone</a> &middot;
            <a href="https://www.openstreetmap.org/node/2996094140">21 rue de Châtillon, 75014 Paris, France</a> &middot;
          </p>
        </footer>
      </main>
      <script src="assets/js/bootstrap.bundle.min.js"></script>
    </body>
  </html>