From beecbe758be95dae68c8b8c5a32b8a1a17312836 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Wed, 8 Nov 2017 04:55:58 +0200 Subject: [PATCH] add Ads to docs --- .travis.yml | 6 +- .../layouts/_default/single.html | 18 +++++- .../hugo-material-docs/layouts/index.html | 14 +++++ .../layouts/partials/drawer.html | 60 +++++++++++++------ 4 files changed, 74 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 887b61ac..7af8a7d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 - diff --git a/DOCUMENTATION/themes/hugo-material-docs/layouts/_default/single.html b/DOCUMENTATION/themes/hugo-material-docs/layouts/_default/single.html index 8ed8bfd6..af662ad5 100644 --- a/DOCUMENTATION/themes/hugo-material-docs/layouts/_default/single.html +++ b/DOCUMENTATION/themes/hugo-material-docs/layouts/_default/single.html @@ -20,11 +20,25 @@
{{ partial "drawer" . }} -
+
-

{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}

+ + + + + + + + + +

{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}

{{ .Content }} diff --git a/DOCUMENTATION/themes/hugo-material-docs/layouts/index.html b/DOCUMENTATION/themes/hugo-material-docs/layouts/index.html index 703e7e8c..f76e458e 100644 --- a/DOCUMENTATION/themes/hugo-material-docs/layouts/index.html +++ b/DOCUMENTATION/themes/hugo-material-docs/layouts/index.html @@ -24,6 +24,20 @@
+ + + + + + + + + {{ range where .Site.Pages "Type" "index" }}

{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}

diff --git a/DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html b/DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html index cf03d552..052b48a2 100644 --- a/DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html +++ b/DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html @@ -42,18 +42,39 @@ {{ end }} - {{ if isset .Site.Params "author" }} + +
+
+
+ + + + + + + +
+
+
+ + + - - - {{ end }} + + + + + + + + +
+