add Ads to docs

This commit is contained in:
Mahmoud Zalt 2017-11-08 04:55:58 +02:00
parent 4e486280f4
commit beecbe758b
4 changed files with 74 additions and 24 deletions

View File

@ -5,6 +5,8 @@ services:
env: env:
matrix: matrix:
- HUGO_VERSION=0.20.2
- PHP_VERSION=56 BUILD_SERVICE="applications blackfire minio percona nginx caddy apache2 mysql mariadb phpmyadmin postgres postgres-postgis pgadmin neo4j mongo redis" - PHP_VERSION=56 BUILD_SERVICE="applications blackfire minio percona nginx caddy apache2 mysql mariadb phpmyadmin postgres postgres-postgis pgadmin neo4j mongo redis"
- PHP_VERSION=70 BUILD_SERVICE="applications blackfire minio percona nginx caddy apache2 mysql mariadb phpmyadmin postgres postgres-postgis pgadmin neo4j mongo redis" - PHP_VERSION=70 BUILD_SERVICE="applications blackfire minio percona nginx caddy apache2 mysql mariadb phpmyadmin postgres postgres-postgis pgadmin neo4j mongo redis"
- PHP_VERSION=71 BUILD_SERVICE="applications blackfire minio percona nginx caddy apache2 mysql mariadb phpmyadmin postgres postgres-postgis pgadmin neo4j mongo redis" - PHP_VERSION=71 BUILD_SERVICE="applications blackfire minio percona nginx caddy apache2 mysql mariadb phpmyadmin postgres postgres-postgis pgadmin neo4j mongo redis"
@ -37,8 +39,6 @@ env:
- PHP_VERSION=70 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer" - PHP_VERSION=70 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer"
- PHP_VERSION=71 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer" - PHP_VERSION=71 BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq adminer elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 balancer"
- HUGO_VERSION=0.20.2
# Installing a newer Docker version # Installing a newer Docker version
before_install: before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

View File

@ -24,6 +24,20 @@
<article class="article"> <article class="article">
<div class="wrapper"> <div class="wrapper">
<!-- ------------------------------------------------------------------------- -->
<!-- Google Ads -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Laradock Horizontal -->
<ins class="adsbygoogle"
style="display:inline-block;width:890px;height:100px"
data-ad-client="ca-pub-9826129398689742"
data-ad-slot="2340256024"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- ------------------------------------------------------------------------- -->
<h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1> <h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>
{{ .Content }} {{ .Content }}

View File

@ -24,6 +24,20 @@
<article class="article"> <article class="article">
<div class="wrapper"> <div class="wrapper">
<!-- ------------------------------------------------------------------------- -->
<!-- Google Ads -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Laradock Horizontal -->
<ins class="adsbygoogle"
style="display:inline-block;width:890px;height:100px"
data-ad-client="ca-pub-9826129398689742"
data-ad-slot="2340256024"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- ------------------------------------------------------------------------- -->
{{ range where .Site.Pages "Type" "index" }} {{ range where .Site.Pages "Type" "index" }}
<h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1> <h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>

View File

@ -42,18 +42,39 @@
</ul> </ul>
{{ end }} {{ end }}
{{ if isset .Site.Params "author" }}
<br>
<br>
<div>
<!-- ------------------------------------------------------------------------- -->
<!-- Google Ads -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Laradock Vertical -->
<ins class="adsbygoogle"
style="display:inline-block;width:237px;height:600px"
data-ad-client="ca-pub-9826129398689742"
data-ad-slot="9891442983"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- ------------------------------------------------------------------------- -->
</div>
<br>
<br>
<!--{{ if isset .Site.Params "author" }}-->
<!--<hr>--> <!--<hr>-->
<!--<span class="section">The author</span>--> <!--<span class="section">The author</span>-->
<!---->
<ul> <!--<ul>-->
{{ with .Site.Social.twitter }} <!--{{ with .Site.Social.twitter }}-->
<li> <!--<li>-->
<a href="https://twitter.com/{{ . }}" target="_blank" title="@{{ . }} on Twitter"> <!--<a href="https://twitter.com/{{ . }}" target="_blank" title="@{{ . }} on Twitter">-->
@{{ . }} on Twitter <!--@{{ . }} on Twitter-->
</a> <!--</a>-->
</li> <!--</li>-->
{{ end }} <!--{{ end }}-->
<!--{{ with .Site.Social.github }}--> <!--{{ with .Site.Social.github }}-->
<!--<li>--> <!--<li>-->
@ -63,16 +84,17 @@
<!--</li>--> <!--</li>-->
<!--{{ end }}--> <!--{{ end }}-->
{{ with .Site.Social.email }} <!--{{ with .Site.Social.email }}-->
<li> <!--<li>-->
<a href="mailto:{{ . }}" title="Email of {{ . }}"> <!--<a href="mailto:{{ . }}" title="Email of {{ . }}">-->
Contact via email <!--Contact via email-->
</a> <!--</a>-->
</li> <!--</li>-->
{{ end }} <!--{{ end }}-->
</ul> <!--</ul>-->
{{ end }} <!--{{ end }}-->
</div> </div>
</div> </div>
</div> </div>
</nav> </nav>