소스 검색

analytics and adsense

pull/1/head
Ivan 6 년 전
부모
커밋
f6c67bc79a
2개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      pelican/publishconf.py
  2. +10
    -0
      pelican/theme/templates/base.html

+ 1
- 1
pelican/publishconf.py 파일 보기

@@ -22,6 +22,6 @@ DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing

#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""
GOOGLE_ANALYTICS = "UA-3773114-1"

OUTPUT_PATH = '..'

+ 10
- 0
pelican/theme/templates/base.html 파일 보기

@@ -124,6 +124,16 @@
{% endfor %}
</ul>
{% endif %}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ogs -->
<ins class="adsbygoogle"
style="display:inline-block;width:120px;height:240px"
data-ad-client="ca-pub-4473792248813084"
data-ad-slot="4132845695"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside> <!-- End Sidebar -->


불러오는 중...
취소
저장