Sha256: aa2451171888a316967a6793312a6ef1fc573a5969dcabc741704b344f83be32

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link
    rel="preload"
    href="/assets/theme-assets/theme-fonts/Excalifont-Regular.woff2"
    as="font"
    type="font/ttf"
    crossorigin
  >
  <link
    rel="preload"
    href="/assets/theme-assets/theme-fonts/comic shanns.otf"
    as="font"
    type="font/otf"
    crossorigin
  >
  {%- seo -%}
  <link
    rel="stylesheet"
    href="
      {{ "/assets/main.css" | relative_url
      }}
    "
  >
  <script>
    const colors = {
      'dark-pink': '#f0b3e7',
      'dark-green': '#b1d18a',
      'dark-yellow': '#dbc66e',
      'dark-blue': '#aac7ff',
      'dark-cyan': '#81d5cd',
    };
    const root = document.querySelector('html');
    const theme = window.localStorage.getItem('theme');
    if (theme === null) {
      window.localStorage.setItem('theme', 'dark-pink');
      root.className = 'dark-pink';
      root.style.setProperty('--current-color', colors['dark-pink']);
    } else {
      root.className = theme;
      root.style.setProperty('--current-color', colors[theme]);
    }
  </script>
  <script src="/assets/theme-assets/js/theme.js" defer></script>
  {%- feed_meta -%}
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
    {%- include google-analytics.html -%}
  {%- endif -%}
</head>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-doodle-4.5.0 _includes/head.html