<head>
<meta charset="utf-8"> <title>{% if page.layout =='post' or page.hideHomeActive or page.is404 %}{{ page.title }} - {% endif %}{{ site.title }}</title> <meta name="description" content="{{ site.description }}{% if page.categories %}{{ page.categories }}{% endif %}{% if page.summary %}{{ page.summary }}{% endif %}"> {% if page.tags %} <meta name="keywords" content="{{ page.tags | join: ', ' }}"> {% endif %} <!-- Open Graph --> <meta property="og:locale" content="{{ site.locale }}"> <meta property="og:type" content="article"> <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> <meta property="og:url" content="{{ site.url }}{{ page.url }}"> <meta property="og:site_name" content="{{ site.title }}"> {% if site.baidu_verify %} <meta name="baidu-site-verification" content="{{site.baidu_verify}}"/> {% endif %} {% if site.google_verify %} <meta name="google-site-verification" content="{{ site.google_verify }}"> {% endif %} {% if page.image.feature %} <meta property="og:image" content="{{ site.url }}/images/{{ page.image.feature }}"> {% else %} <meta property="og:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}"> {% endif %} {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} <link rel="canonical" href="{{ canonical }}"> <link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <!-- http://t.co/dKP3o1e --> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/> <link rel="stylesheet" href="{{ site.url }}/css/index.css"> <meta http-equiv="cleartype" content="on"> <link rel="shortcut icon" href="{{ site.url }}/favicon.ico"> {% if page.layout == "post" %} <script src="//gw.alipayobjects.com/os/rmsportal/PIYOQOcFoeIvZLKgqukk.js" async></script> {% endif %} {% if page.comments != false %} <script src="//gw.alipayobjects.com/os/rmsportal/hLaEIutAxSUpcpcRhdtd.js" async></script> {% endif %}
</head>