Update variables names to camelCase format for consistency (#473)

This commit is contained in:
Clément Pannetier
2020-11-04 18:28:31 +01:00
committed by GitHub
parent 0ff1b0fb4c
commit c5fbd48e91
15 changed files with 48 additions and 48 deletions

View File

@@ -309,7 +309,7 @@ Edit the file to add the theme, add a title for the site, and specify that all o
```
$ vi config.toml
theme = "zafta"
baseurl = ""
baseURL = ""
languageCode = "en-us"
title = "zafta - totally refreshing"
MetaDataFormat = "toml"

View File

@@ -241,7 +241,7 @@ instead of depending on the context.
{{ $title := .Site.Title }}
{{ range .Params.tags }}
<li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
<li> <a href="{{ $baseURL }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
{{ end }}
Notice how once we have entered the loop the value of {{ . }} has changed. We

View File

@@ -12,7 +12,7 @@ categories = [
"golang",
]
series = ["Getting Started", "Hugo"]
featured_image = "https://imgs.xkcd.com/comics/angular_momentum.jpg"
featuredImage = "https://imgs.xkcd.com/comics/angular_momentum.jpg"
+++
## Step 1. Install Hugo