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
@@ -1,16 +1,16 @@
|
||||
baseurl = "http://www.example.com"
|
||||
baseURL = "http://www.example.com"
|
||||
title = "johndoe"
|
||||
|
||||
theme = "hugo-coder"
|
||||
|
||||
languagecode = "en"
|
||||
defaultcontentlanguage = "en"
|
||||
languageCode = "en"
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
paginate = 20
|
||||
|
||||
pygmentsstyle = "b2"
|
||||
pygmentscodefences = true
|
||||
pygmentscodefencesguesssyntax = true
|
||||
pygmentsStyle = "b2"
|
||||
pygmentsCodeFences = true
|
||||
pygmentsCodeFencesGuessSyntax = true
|
||||
|
||||
disqusShortname = "yourdiscussshortname"
|
||||
|
||||
@@ -19,11 +19,11 @@ disqusShortname = "yourdiscussshortname"
|
||||
description = "John Doe's personal website"
|
||||
keywords = "blog,developer,personal"
|
||||
info = "Full Stack DevOps and Magician"
|
||||
avatarurl = "images/avatar.jpg"
|
||||
avatarURL = "images/avatar.jpg"
|
||||
#gravatar = "john.doe@example.com"
|
||||
footercontent = "Enter a text here."
|
||||
footerContent = "Enter a text here."
|
||||
|
||||
dateformat = "January 2, 2006"
|
||||
dateFormat = "January 2, 2006"
|
||||
|
||||
hideFooter = false
|
||||
hideCredits = false
|
||||
@@ -40,10 +40,10 @@ disqusShortname = "yourdiscussshortname"
|
||||
# "auto" (use preference set by browser)
|
||||
# "dark" (dark background, light foreground)
|
||||
# "light" (light background, dark foreground) (default)
|
||||
colorscheme = "auto"
|
||||
colorScheme = "auto"
|
||||
|
||||
# Hide the toggle button, along with the associated vertical divider
|
||||
hidecolorschemetoggle = false
|
||||
hideColorSchemeToggle = false
|
||||
|
||||
# Series see also post count
|
||||
maxSeeAlsoItems = 5
|
||||
@@ -118,7 +118,7 @@ disqusShortname = "yourdiscussshortname"
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
languagename = "English"
|
||||
languageName = "English"
|
||||
|
||||
[languages.en.menu]
|
||||
|
||||
@@ -144,7 +144,7 @@ disqusShortname = "yourdiscussshortname"
|
||||
|
||||
|
||||
[languages.pt-br]
|
||||
languagename = "Português"
|
||||
languageName = "Português"
|
||||
title = "João Ninguém"
|
||||
|
||||
[languages.pt-br.params]
|
||||
@@ -152,7 +152,7 @@ disqusShortname = "yourdiscussshortname"
|
||||
info = "Full Stack DevOps e Mágico"
|
||||
description = "Sítio pessoal de João Ninguém"
|
||||
keywords = "blog,desenvolvedor,pessoal"
|
||||
footercontent = "Coloque algum texto aqui."
|
||||
footerContent = "Coloque algum texto aqui."
|
||||
|
||||
[languages.pt-br.menu]
|
||||
|
||||
|
||||
@@ -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