diff options
author | Olivier Fredon <the2ne@gmail.com> | 2016-10-08 13:43:25 +0300 |
---|---|---|
committer | Olivier Fredon <the2ne@gmail.com> | 2016-10-08 13:43:25 +0300 |
commit | 3586574482023bc8577c1949df6ef966924d2ede (patch) | |
tree | 042482565533732a335af7534fcf9cfedafbe70e | |
parent | b87a787d24134a5f47953b65928a9ab91949f5f6 (diff) |
fix param author
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | layouts/partials/meta.html | 2 |
4 files changed, 6 insertions, 6 deletions
@@ -34,7 +34,7 @@ For more information read the official [setup guide](//gohugo.io/overview/instal ## Configuration You can define some social network bullshit like: -- [params] **name** *str* : the author's website name; +- [params] **author** *str* : the author's website name; - [params] **pseudo** *str* : the author's online pseudonym; - [params] **twitter** *str* : Twitter account; - [params] **github** *str* : GitHub account; @@ -42,8 +42,8 @@ You can define some social network bullshit like: _./config.toml example:_ ```toml -[author] - name = "Olivier Fredon" +[params] + author = "Olivier Fredon" pseudo = "the2ne" twitter = "the2ne" github = "the2ne" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6dd94f2..9b37670 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@ <footer class="legal" role="contentinfo"> - <p>Olivier Fredon {{ .Page.Now.Year }} Merci à <a href="http://gohugo.io" title="Générateur de site static en Go">Hugo</a> <a href="//github>com/the2ne/hugo-frais" title="Theme entièrement créé de mes dix doigts">Frais</a>. <em>Les cookies ça fait grossir, alors on s'en passe très bien.</em></p> + <p>{{ .Site.Params.author }} {{ .Page.Now.Year }} Merci à <a href="http://gohugo.io" title="Générateur de site static en Go">Hugo</a> <a href="//github>com/the2ne/hugo-frais" title="Theme entièrement créé de mes dix doigts">Frais</a>. <em>Les cookies ça fait grossir, alors on s'en passe très bien.</em></p> </footer> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2ec71e1..d92b4fd 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,6 +8,6 @@ <link itemprop="url" href="{{ .Site.BaseURL }}"> <link itemprop="email" href="mailto:hello@olivierfredon.com"> <link itemprop="worksFor" href="http://www.jechange.fr"> -<meta itemprop="additionalName" content="{{ .Site.Author.pseudo }}"> +<meta itemprop="additionalName" content="{{ .Site.Params.pseudo }}"> <meta itemprop="gender" content="male"> <meta itemprop="nationality" content="France">
\ No newline at end of file diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 3012557..9c71908 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -1,4 +1,4 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<meta name="author" content="{{ .Site.Params.name }}"> +<meta name="author" content="{{ .Site.Params.author }}"> <meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}" /> |