Skip to content

Commit 23e18e5

Browse files
authored
Merge pull request #1705 from guahsu/pr-move-analytics-to-head
將analytics放到<head>中使google webmasters可驗證。
2 parents 4095f65 + 2b9e716 commit 23e18e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

layout/_layout.swig

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
<head>
1010
{% include '_partials/head.swig' %}
1111
<title>{% block title %}{% endblock %}</title>
12+
{% include '_third-party/analytics/index.swig' %}
1213
</head>
1314

1415
<body itemscope itemtype="http://schema.org/WebPage" lang="{{ page.lang || page.language || config.language }}">
1516

16-
{% include '_third-party/analytics/index.swig' %}
17-
1817
{% set container_class = "container " %}
1918
{% if theme.sidebar.position %}
2019
{% set container_class = container_class + 'sidebar-position-' + theme.sidebar.position %}

0 commit comments

Comments
 (0)