mirror of
https://github.com/welpo/tabi.git
synced 2026-02-15 23:57:19 +01:00
Priority preload headshot
This commit is contained in:
parent
37b11b7605
commit
f4f4d66ab6
1 changed files with 6 additions and 0 deletions
|
|
@ -6,6 +6,12 @@
|
||||||
{# Site title #}
|
{# Site title #}
|
||||||
<title>{%- include "partials/title.html" -%}</title>
|
<title>{%- include "partials/title.html" -%}</title>
|
||||||
|
|
||||||
|
{# Headshot Preload #}
|
||||||
|
{% if section.extra.header %}
|
||||||
|
{%- set image_path = get_url(path=section.extra.header.img, trailing_slash=false) | safe -%}
|
||||||
|
<link rel="preload" as="image" href="{{ image_path }}">
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
{# Favicon #}
|
{# Favicon #}
|
||||||
{% if config.extra.favicon %}
|
{% if config.extra.favicon %}
|
||||||
<link rel="icon" type="image/png" href="{{ get_url(path=config.extra.favicon) }}"/>
|
<link rel="icon" type="image/png" href="{{ get_url(path=config.extra.favicon) }}"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue