Templates for homepage and markdown posts.
Signed-off-by: HE, Tao <sighingnow@gmail.com>
This commit is contained in:
34
_includes/head.html
Normal file
34
_includes/head.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
|
||||
{%- if page.title -%}
|
||||
<title>{{ page.title | escape }} · {{ site.title | escape }}</title>
|
||||
{%- else -%}
|
||||
<title>{{ site.title | escape }}</title>
|
||||
{%- endif -%}
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="description" content="{{site.description}}">
|
||||
|
||||
{%- if site.gitbook_version -%}
|
||||
<meta name="generator" content="Jekyll (using style of GitBook {{ site.gitbook_version | escape }})">
|
||||
{%- else -%}
|
||||
<meta name="generator" content="Jekyll (using style of GitBook)">
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.author -%}
|
||||
<meta name="author" content="{{ site.author | escape }}">
|
||||
{%- endif -%}
|
||||
|
||||
<link rel="stylesheet" href="{{site.url}}/gitbook/style.css">
|
||||
<link rel="stylesheet" href="{{site.url}}/gitbook/gitbook-plugin-fontsettings/website.css">
|
||||
<!-- <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css"> -->
|
||||
|
||||
<link rel="stylesheet" href="{{site.url}}/gitbook/rouge-highlight-colorful.css">
|
||||
|
||||
<meta name="HandheldFriendly" content="true"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{site.url}}/gitbook/images/apple-touch-icon-precomposed-152.png">
|
||||
<link rel="shortcut icon" href="{{site.url}}/gitbook/images/favicon.ico" type="image/x-icon">
|
Reference in New Issue
Block a user