a new start
This commit is contained in:
30
_includes/head/links-static.html
Normal file
30
_includes/head/links-static.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{% if plugins contains 'jekyll-feed' %}{% include head/feed-tag.html %}{% endif %}
|
||||
|
||||
<link rel="icon" type="image/png" href="/assets/icons/favicon-96x96.png" sizes="96x96" />
|
||||
<link rel="icon" type="image/svg+xml" href="/assets/icons/favicon.svg" />
|
||||
<link rel="shortcut icon" href="/assets/icons/favicon.ico" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/assets/icons/site.webmanifest" />
|
||||
|
||||
{% if site.google_fonts %}
|
||||
{%- capture google_fonts_url %}{{ site.google_fonts_url | default:'https://fonts.googleapis.com' }}{%- endcapture -%}
|
||||
<link rel="dns-prefetch" href="{{ google_fonts_url }}" />
|
||||
{%- if google_fonts_url == 'https://fonts.googleapis.com' -%}
|
||||
<link rel="dns-prefetch" href="https://fonts.gstatic.com" />
|
||||
{%- endif -%}
|
||||
{% endif %}
|
||||
|
||||
{% if site.google_analytics %}
|
||||
<link rel="dns-prefetch" href="https://www.google-analytics.com" />
|
||||
{% endif %}
|
||||
|
||||
{% if site.kramdown.math_engine == 'katex' %}
|
||||
{% capture katex_url %}{{ 'assets/bower_components/katex/dist/katex.min.css' | relative_url }}{% endcapture %}
|
||||
<link rel="dns-prefetch" href="{{ katex_url }}" id="_katexPreload" />
|
||||
<noscript><link rel="stylesheet" href="{{ katex_url }}"></noscript>
|
||||
{% endif %}
|
||||
|
||||
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
||||
{% if disqus %}
|
||||
<link rel="dns-prefetch" href="https://{{ disqus }}.disqus.com" id="_hrefDisqus" />
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user