From c5d3a98c639caed1f0454ce64dbc838f6d773fb7 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 12 May 2018 18:08:15 +0800 Subject: Move Docs to Pug templates --- docs/src/_ads.pug | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/src/_ads.pug (limited to 'docs/src/_ads.pug') diff --git a/docs/src/_ads.pug b/docs/src/_ads.pug new file mode 100644 index 0000000..c7e1c91 --- /dev/null +++ b/docs/src/_ads.pug @@ -0,0 +1,17 @@ +block ad-adsense + .docs-ad + .hide-md + script(async='', src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js') + // GitHub-lg + ins.adsbygoogle(style='display:inline-block;width:728px;height:90px', data-ad-client='ca-pub-2225124559530218', data-ad-slot='9894180784') + script. + (adsbygoogle = window.adsbygoogle || []).push({}); + .show-md + // GitHub-sm + ins.adsbygoogle(style='display:inline-block;width:300px;height:250px', data-ad-client='ca-pub-2225124559530218', data-ad-slot='9278881734') + script. + (adsbygoogle = window.adsbygoogle || []).push({}); + +block ad-carbons + .docs-ad.docs-ad-sidebar + script#_carbonads_js(async='', type='text/javascript', src='//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=picturepan2githubio') \ No newline at end of file -- cgit v1.3.1-23-gd82d