37 lines
1.4 KiB
HTML
37 lines
1.4 KiB
HTML
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{% seo %}
|
|
|
|
<!-- CSS -->
|
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
|
|
|
<!-- scripts -->
|
|
<script src="{{ "/assets/js/jquery.min.js" | relative_url }}"></script>
|
|
<script src="{{ "/assets/js/sidenotes.js" | relative_url }}"></script>
|
|
{% if page.include_stl_viewer_js -%}
|
|
<script src="{{ "/assets/js/stlv/three.min.js" | relative_url }}"></script>
|
|
<script src="{{ "/assets/js/stlv/WebGL.js" | relative_url }}"></script>
|
|
<script src="{{ "/assets/js/stlv/STLLoader.js" | relative_url }}"></script>
|
|
<script src="{{ "/assets/js/stlv/OrbitControls.js" | relative_url }}"></script>
|
|
<script src="{{ "/assets/js/stlviewer-datatag.js" | relative_url }}"></script>
|
|
{% endif -%}
|
|
|
|
<!-- Favicon -->
|
|
{% for file in site.static_files -%}
|
|
{% if file.path contains '/assets/favicon-' -%}
|
|
{% assign parts = file.basename | split: '-' %} <link rel="icon" type="image/png" sizes="{{ parts[1] }}" href="{{ file.path | relative_url }}">
|
|
{% endif -%}
|
|
{% endfor %}
|
|
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
|
|
<!-- RSS -->
|
|
{% feed_meta %}
|
|
|
|
<!-- Google Analytics-->
|
|
{% if site.google_analytics and jekyll.environment == 'production' %}
|
|
{% include analytics.html %}
|
|
{% endif %}
|
|
</head>
|