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

@@ -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