Commit 32015fb2 authored by Nouri Alnahawi's avatar Nouri Alnahawi
Browse files

add google analytics property

parent 98e2bfd8
Pipeline #80682 passed with stages
in 2 minutes and 1 second
......@@ -6,6 +6,7 @@ variables:
MINDMAP_OUT_PATH: ./layouts/shortcodes/mindmap.html
MINDMAP_IN_PATH: ./mindmap_gen/
MINDMAP_SCRIPT_PATH: ./mindmap_gen/
HUGO_ENV: production
.job_templae: &script
......@@ -19,7 +20,7 @@ variables:
- python3 $MINDMAP_SCRIPT_PATH -d $(pwd)/content # Generate the mindmap md file
- npx markmap-cli -o $MINDMAP_OUT_PATH $MINDMAP_IN_PATH # Convert mindmap md file to html
- sed -i 's/100v/60v/g' $(pwd)/layouts/shortcodes/mindmap.html # Replaces the width and hight of mindmap with suitable values
- hugo --minify --gc
- hugo --minify --gc --environment production
<<: *script
......@@ -52,6 +52,10 @@ anchor = "smart"
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
# guessSyntax = "true"
# Google Analytics Settings
# Requires adding env to build: HUGO_ENV="production" hugo
id = "UA-202391736-1"
copyright = "Darmstadt University of Applied Sciences"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment