Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
beecbe75
Commit
beecbe75
authored
Nov 08, 2017
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Ads to docs
parent
4e486280
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
24 deletions
+74
-24
.travis.yml
.travis.yml
+3
-3
single.html
...ON/themes/hugo-material-docs/layouts/_default/single.html
+16
-2
index.html
DOCUMENTATION/themes/hugo-material-docs/layouts/index.html
+14
-0
drawer.html
...ON/themes/hugo-material-docs/layouts/partials/drawer.html
+41
-19
No files found.
.travis.yml
View file @
beecbe75
...
...
@@ -4,7 +4,9 @@ services:
-
docker
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=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"
...
...
@@ -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=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
before_install
:
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
...
...
DOCUMENTATION/themes/hugo-material-docs/layouts/_default/single.html
View file @
beecbe75
...
...
@@ -20,11 +20,25 @@
<main
class=
"main"
>
<div
class=
"drawer"
>
{{ partial "drawer" . }}
</div>
</div>
<article
class=
"article"
>
<div
class=
"wrapper"
>
<h1>
{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}
</h1>
<!-- ------------------------------------------------------------------------- -->
<!-- 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>
{{ .Content }}
...
...
DOCUMENTATION/themes/hugo-material-docs/layouts/index.html
View file @
beecbe75
...
...
@@ -24,6 +24,20 @@
<article
class=
"article"
>
<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" }}
<h1>
{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}
</h1>
...
...
DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html
View file @
beecbe75
...
...
@@ -42,18 +42,39 @@
</ul>
{{ 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>-->
<!--<span class="section">The author</span>-->
<
ul
>
{{ with .Site.Social.twitter }}
<
li
>
<
a
href=
"https://twitter.com/{{ . }}"
target=
"_blank"
title=
"@{{ . }} on Twitter"
>
@{{ . }} on Twitter
<
/a
>
<
/li
>
{{ end }}
<!---->
<
!--<ul>--
>
<!--{{ with .Site.Social.twitter }}-->
<
!--<li>--
>
<
!--<a href="https://twitter.com/{{ . }}" target="_blank" title="@{{ . }} on Twitter">--
>
<!--@{{ . }} on Twitter-->
<
!--</a>--
>
<
!--</li>--
>
<!--{{ end }}-->
<!--{{ with .Site.Social.github }}-->
<!--<li>-->
...
...
@@ -63,16 +84,17 @@
<!--</li>-->
<!--{{ end }}-->
{{ with .Site.Social.email }}
<
li
>
<
a
href=
"mailto:{{ . }}"
title=
"Email of {{ . }}"
>
Contact via email
<
/a
>
<
/li
>
{{ end }}
<
/ul
>
{{ end }}
<!--{{ with .Site.Social.email }}-->
<
!--<li>--
>
<
!--<a href="mailto:{{ . }}" title="Email of {{ . }}">--
>
<!--Contact via email-->
<
!--</a>--
>
<
!--</li>--
>
<!--{{ end }}-->
<
!--</ul>--
>
<!--{{ end }}-->
</div>
</div>
</div>
</nav>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment