Commit a5283aad authored by Nouri-Alnahawi's avatar Nouri-Alnahawi
Browse files

create anchor for script in ci

parent 9c2cb303
...@@ -4,7 +4,8 @@ image: registry.gitlab.com/pages/hugo/hugo_extended ...@@ -4,7 +4,8 @@ image: registry.gitlab.com/pages/hugo/hugo_extended
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
test:
.job_templae: &script
before_script: before_script:
- apk add --update npm nodejs - apk add --update npm nodejs
- npm update - npm update
...@@ -15,15 +16,11 @@ test: ...@@ -15,15 +16,11 @@ test:
except: except:
- master - master
test:
<<: *script
pages: pages:
before_script: <<: *script
- apk add --update npm
- npm install -D --save autoprefixer
- npm install -D --save postcss-cli
script:
- hugo --minify --gc
artifacts: artifacts:
paths: paths:
- public - public
only:
- master
baseURL = "/" baseURL = "/"
relativeURLs = "True" relativeURLs = true
languageCode = "en-us" languageCode = "en-us"
title = "Cryptographic Migration & Agility" title = "Cryptographic Migration & Agility"
enableRobotsTXT = true
theme = ["docsy"] theme = ["docsy"]
# Language settings # Language settings
contentDir = "content" contentDir = "content"
layoutdir = "layouts"
publishdir = "public"
defaultContentLanguage = "en" defaultContentLanguage = "en"
[Author] [Author]
...@@ -17,14 +17,14 @@ defaultContentLanguage = "en" ...@@ -17,14 +17,14 @@ defaultContentLanguage = "en"
# Highlighting config # Highlighting config
pygmentsCodeFences = true pygmentsCodeFences = true
pygmentsUseClasses = true pygmentsUseClasses = false
# Use the new Chroma Go highlighter in Hugo. # Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic = true pygmentsUseClassic = false
#pygmentsOptions = "linenos=table" #pygmentsOptions = "linenos=table"
# See https://help.farbox.com/pygments.html # See https://help.farbox.com/pygments.html
pygmentsStyle = "tango" pygmentsStyle = "tango"
disableKinds = ["taxonomy", "taxonomyTerm", "term", "RSS", "robotsTXT"] disableKinds = ["taxonomy", "term"]
# Configure how URLs look like per section. # Configure how URLs look like per section.
[permalinks] [permalinks]
......
Supports Markdown
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