Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96dbc8b

Browse files
committed
Add jekyll adsense if code block under head in default html
1 parent6444fb4 commit96dbc8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎_layouts/default.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
<scriptsrc="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
2020

21+
{% if site.adsense == "enabled" %}
22+
<scriptdata-ad-client="{{ site.adsense-data-ad-client }}"asyncsrc="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
23+
{% endif %}
24+
2125
</head>
2226

2327
{% if jekyll.environment == 'production' %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp