Sha256: 9105ea9f04049136162e765b41a6e3f831a4e610ca466d4841f6985a19d99ccc
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
<meta charset="utf-8"> {% seo %} {% feed_meta %} {% if jekyll.environment == 'production' and site.google_analytics %} {% include google-analytics.html %} {% endif %} {% if page.math %} {% include mathjax.html %} {% endif %} <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}"> <link rel="stylesheet" href="{{ '/assets/css/skin.css' | relative_url }}"> <!-- Begin selecting skin --> {% unless site.skin %} <script> const hour = (new Date()).getHours(); let filename = ""; if (hour >= 5 && hour < 7) { filename = "{{ '/assets/css/skin-sunrise.css' | relative_url }}"; } else if (hour >= 7 && hour < 17) { filename = "{{ '/assets/css/skin-daylight.css' | relative_url }}"; } else if (hour >= 17 && hour < 19) { filename = "{{ '/assets/css/skin-sunset.css' | relative_url }}"; } else { filename = "{{ '/assets/css/skin-midnight.css' | relative_url }}"; } const elem = document.createElement("link"); elem.setAttribute("rel", "stylesheet"); elem.setAttribute("type", "text/css"); elem.setAttribute("href", filename); document.getElementsByTagName("head")[0].appendChild(elem); </script> {% endunless %} <!-- End selecting skin --> <script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script> {% include custom-head.html %}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hamilton-0.1.0 | _includes/head.html |