From fd1895ccb43c06ef32cd6d67966fde820bb2b5d8 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Wed, 30 Jan 2019 19:02:57 +0100 Subject: [PATCH] fix gitlab pages --- .gitlab-ci.yml | 4 ++-- layouts/_default/baseof.html | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bcce534..c7a826a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,10 @@ variables: pages: script: - - hugo -s exampleSite + - hugo -s exampleSite -d ../public -b "/themen-hugo-35c3-reveal/" artifacts: paths: - - exampleSite/public + - public only: - master diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6930733..0936b86 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,6 +1,6 @@ -{{- $reveal_cdn := $.Param "reveal_hugo.reveal_cdn" | default "/reveal-js" -}} -{{- $highlight_cdn := $.Param "reveal_hugo.highlight_cdn" | default "/highlight-js/src/styles" -}} +{{- $reveal_cdn := $.Param "reveal_hugo.reveal_cdn" | default "reveal-js" -}} +{{- $highlight_cdn := $.Param "reveal_hugo.highlight_cdn" | default "highlight-js/src/styles" -}} @@ -10,24 +10,24 @@ - + {{- $theme := $.Param "reveal_hugo.theme" | default "black" -}} {{- $custom_theme := $.Param "reveal_hugo.custom_theme" -}} {{- if $custom_theme -}} {{ else -}} - + {{- end -}} {{- $highlight_theme := $.Param "reveal_hugo.highlight_theme" | default "default" -}} - +