mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Update variables names to camelCase format for consistency (#473)
This commit is contained in:
committed by
GitHub
parent
0ff1b0fb4c
commit
c5fbd48e91
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user