Sha256: 6a5142dd1ae48c94774c88b7fd271b24eeffb92873dd3d9ba13f004f29781e99
Contents?: true
Size: 1.44 KB
Versions: 2
Compression:
Stored size: 1.44 KB
Contents
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> {% 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hamilton-0.1.2 | _includes/head.html |
hamilton-0.1.1 | _includes/head.html |