mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-05 11:16:41 -07:00
New refreshed blog for 2024 using Zola
This commit is contained in:
parent
a23dd16b89
commit
46c2405d9e
125 changed files with 1356 additions and 1337 deletions
34
templates/partials/custom_header.html
Normal file
34
templates/partials/custom_header.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
{% if config.extra.favicon180 %}
|
||||
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="{{ get_url(path=config.extra.favicon180) }}"/>
|
||||
{% endif %}
|
||||
{% if config.extra.favicon32 %}
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ get_url(path=config.extra.favicon32) }}"/>
|
||||
{% endif %}
|
||||
{% if config.extra.favicon16 %}
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ get_url(path=config.extra.favicon16) }}"/>
|
||||
{% endif %}
|
||||
{%- if config.author %}
|
||||
<meta name="author" content="{{ config.author }}" />
|
||||
{%- endif %}
|
||||
<meta name="copyright" content="{{ config.author }}" />
|
||||
{%- if page.extra.keywords and config.extra.keywords %}
|
||||
<meta name="keywords" content="{{ page.extra.keywords }}, {{ config.extra.keywords }}" />
|
||||
{%- elif page.extra.keywords %}
|
||||
<meta name="keywords" content="{{ page.extra.keywords }}" />
|
||||
{%- elif config.extra.keywords %}
|
||||
<meta name="keywords" content="{{ config.extra.keywords }}" />
|
||||
{%- endif %}
|
||||
{%- if config.extra.google %}
|
||||
<meta name="google-site-verification" content="{{ config.extra.google | safe }}" />
|
||||
{%- endif %}
|
||||
|
||||
{%- if config.extra.bing %}
|
||||
<meta name="msvalidate.01" content="{{ config.extra.bing | safe}}" />
|
||||
{%- endif %}
|
||||
<meta property="twitter:title" content="{{ page.title | default(value=config.title) | safe }}" />
|
||||
{%- if config.extra.twitter_meta %}
|
||||
<meta name="twitter:site" content="@{{ config.extra.twitter_meta }}" />
|
||||
<meta name="twitter:creator" content="@{{ config.extra.twitter_meta }}" />
|
||||
{%- endif %}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue