Update to site
This commit is contained in:
parent
3345fa5897
commit
b0bdfe2fe9
244 changed files with 11618 additions and 12 deletions
7
source/_includes/site/footer.html
Normal file
7
source/_includes/site/footer.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
{% include custom/footer.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
33
source/_includes/site/head.html
Normal file
33
source/_includes/site/head.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
||||
{% if page.description %} {% capture fb_description %}{{ page.description }}{% endcapture %} {% else %} {% capture fb_description %}{{ content | raw_content }}{% endcapture %} {% endif %}
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
||||
<meta name="author" content="{{ site.author }}">
|
||||
{% capture description %}{% if page.description %}{{ page.description }}{% elsif site.description %}{{ site.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}
|
||||
<meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}">
|
||||
{% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %}
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
{% if site.social.facebook.app_id %}
|
||||
<meta property="fb:admins" content="{{ site.social.facebook.app_id }}">
|
||||
<meta property="og:title" content="{% if post.title %}{{ post.title }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
<meta property="og:url" content="{% if canonical %}{{ canonical }}{% else %}{{ site.url }}{% endif %}/">
|
||||
<meta property="og:type" content="{% if page.facebook.type %}{{ page.facebook.type }}{% else %}website{% endif %}">
|
||||
<meta property="og:description" content="{{ fb_description | strip_html | condense_spaces | truncate:200 }}">
|
||||
{% if site.social.facebook.user %}<meta property="og:author" content="https://facebook.com/{{ site.social.facebook.user }}">{% endif %}
|
||||
{% if page.facebook.image %}<meta property="og:image" content="{{ page.facebook.image }}">{% endif %}
|
||||
{% endif %}
|
||||
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="{{ root_url }}{{ site.subscribe_rss }}" rel="alternate" title="{{ site.title }}" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='{{ root_url }}/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='{{ root_url }}/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
7
source/_includes/site/header.html
Normal file
7
source/_includes/site/header.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
{% include custom/header.html %}
|
||||
|
||||
</div>
|
||||
</div>
|
14
source/_includes/site/hero_unit.html
Normal file
14
source/_includes/site/hero_unit.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<div class="hero" style="background-color: rgb(0, 178, 255); /* background-image: url('/images/cliffs_of_moher.jpg');*/">
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid flex">
|
||||
<div class="grid__item flex__item two-fifths palm-one-whole">
|
||||
<a href='{{ root_url }}/images/screenshots/screenshot-devices.png'>
|
||||
<img src="{{ root_url }}/images/hero_screenshot.png" alt="Home Assistant screenshot">
|
||||
</a>
|
||||
</div>
|
||||
<div class="grid__item flex__item three-fifths palm-one-whole">
|
||||
{% include custom/welcome.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
3
source/_includes/site/navigation.html
Normal file
3
source/_includes/site/navigation.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
{% include custom/navigation.html %}
|
7
source/_includes/site/sidebar.html
Normal file
7
source/_includes/site/sidebar.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<div class="grid">
|
||||
|
||||
{% include asides/social.html %}
|
||||
|
||||
{% include_array default_asides %}
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue