<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{{ page.title }}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, max-scale=1">

    <!-- 3rd party CSS -->
    <link rel="stylesheet" href="/css/normalize.css">
    <!-- Fix IE -->
    <!--[if lt IE 9]>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
    <![endif]-->

    <!-- syntax highlighting CSS -->
    <link rel="stylesheet" href="/css/syntax.css">
    <link rel="stylesheet" href="/css/syntax_dark.css" media="(prefers-color-scheme: dark)">

    <!-- Custom CSS -->
    <link rel="stylesheet" href="/css/main.css">
    <link rel="stylesheet" href="/css/main_dark.css" media="(prefers-color-scheme: dark)">

    <!-- RSS Feed -->
    <link href="/feed.xml" rel="alternate" type="application/atom+xml">

    <!-- Web Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italics,300,300italics,200" rel="stylesheet" type="text/css">

    <!-- Icon Fonts -->
    <link rel="stylesheet" href="/css/ionicons.min.css">

    <!-- Favicon -->
    <link rel="shortcut icon" href="/favicon.png">

    <!-- Scripts -->
    <script src="/js/AnimationFrame.min.js"></script>
    <script async src="/js/magic.js"></script>

    <!-- Cloudflare Web Analytics -->
    <script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "54df1dc81a2d4cb7920b456212bbd437"}'></script>
    <!-- End Cloudflare Web Analytics -->

    <script type="module" src="https://unpkg.com/dark-mode-toggle"></script>

    {% seo %}
  </head>
  <body>
    <canvas id="magic"></canvas>
    <div class="container">
      {{ content }}
    </div>
    <div class="theme-toggle">
      <dark-mode-toggle
        id="dark-mode-toggle-1"
        appearance="toggle"
        light="Dark"
        dark="Light"
        permanent
      ></dark-mode-toggle>
    </div>
  </body>
</html>