Merge commit '5e078383a787e8b5ec3ba73f05ea4130840afbe2'

This commit is contained in:
Bjørn Erik Pedersen
2019-02-01 09:01:04 +01:00
79 changed files with 6251 additions and 391 deletions

View File

@@ -125,8 +125,8 @@ cours-versailles/index.html
exercices/index.html
exercices/index.xml
exercices/barycentre-et-carres-des-distances/index.html
post/
post/index.html
posts/
posts/index.html
sujets/index.html
sujets/index.xml
sujets/2016-09_supelec-jp/index.html

View File

@@ -120,7 +120,7 @@ aero apikey
### Step 3: Edit and Commit Code
```
hugo new post/good-to-great.md
hugo new posts/good-to-great.md
hugo server --buildDrafts -t liquorice #Check that all looks good
# commit and push code to master branch

View File

@@ -37,7 +37,7 @@ cd your-hugo-site
In the root directory of your Hugo site, create a `.gitlab-ci.yml` file. The `.gitlab-ci.yml` configures the GitLab CI on how to build your page. Simply add the content below.
{{< code file="gitlab-ci.yml" >}}
{{< code file=".gitlab-ci.yml" >}}
image: monachus/hugo
variables:

View File

@@ -67,14 +67,14 @@ For production:
```
[context.production.environment]
HUGO_VERSION = "0.36"
HUGO_VERSION = "0.53"
```
For testing:
```
[context.deploy-preview.environment]
HUGO_VERSION = "0.36"
HUGO_VERSION = "0.53"
```
The Netlify configuration file can be a little hard to understand and get right for the different environment, and you may get some inspiration and tips from this site's `netlify.toml`: