diff options
author | Olivier Fredon <the2ne@gmail.com> | 2016-10-08 17:04:04 +0300 |
---|---|---|
committer | Olivier Fredon <the2ne@gmail.com> | 2016-10-08 17:04:04 +0300 |
commit | fba61d91846175bf67391e5462f0ea55aac39c5d (patch) | |
tree | 42e912de22b331dd880fc25fbe0bfe476f28cd80 /layouts | |
parent | 7b305daf85883094c262cb00128b951310022738 (diff) |
fix naming conventions
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 6 | ||||
-rw-r--r-- | layouts/partials/head_includes.html | 4 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 | ||||
-rw-r--r-- | layouts/partials/meta.html | 2 | ||||
-rw-r--r-- | layouts/partials/meta_opengraph.html | 6 | ||||
-rw-r--r-- | layouts/partials/meta_twittercard.html | 8 | ||||
-rw-r--r-- | layouts/partials/social.html | 6 |
8 files changed, 19 insertions, 19 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8701739..56dcb24 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@ <footer class="legal" role="contentinfo"> - <p>{{ .Site.params.author }} {{ .Date.Format "2006" }} 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 }} {{ .Date.Format "2006" }} 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/head.html b/layouts/partials/head.html index 15e6ba4..402049d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,14 +1,14 @@ <!doctype html> -<html class="no-js" lang="{{ with .Site.languageCode }}{{ . }}{{ else }}fr{{ end }}" prefix="og: http://ogp.me/ns#"> +<html class="no-js" lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}fr{{ end }}" prefix="og: http://ogp.me/ns#"> <head> <meta charset="utf-8"> - <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} | {{ .Site.title }}{{ end }}</title> + <title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title> {{ partial "meta.html" . }} {{ partial "meta_opengraph.html" . }} {{ partial "meta_twittercard.html" . }} - <base href="{{ .Site.baseUrl }}"> + <base href="{{ .Site.BaseUrl }}"> <link rel="canonical" href="{{ .Permalink }}"> {{ if .RSSlink }}<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }} diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index e98fc63..3636050 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -8,6 +8,6 @@ <link rel="icon" type="image/png" href="/img/favicon-16x16.png" sizes="16x16"> <link rel="manifest" href="/manifest.json"> <link rel="mask-icon" href="/img/safari-pinned-tab.svg" color="#636363"> -<meta name="apple-mobile-web-app-title" content="{{ .Site.title }}"> -<meta name="application-name" content="{{ .Site.title }}"> +<meta name="apple-mobile-web-app-title" content="{{ .Site.Title }}"> +<meta name="application-name" content="{{ .Site.Title }}"> <meta name="theme-color" content="#333333">
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 244e306..87f4a71 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,9 +7,9 @@ <h2 class="headlines__baseline" itemprop="jobTitle" lang="en">UI Designer & <wbr>Front-End Developer</h2> </header> -<link itemprop="url" href="{{ .Site.baseUrl }}"> +<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.params.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 ed4366a..6ea8b4f 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.author }}"> +<meta name="author" content="{{ .Site.Params.author }}"> <meta name="description" content="{{ with .Description }}{{ . }}{{ end }}" /> diff --git a/layouts/partials/meta_opengraph.html b/layouts/partials/meta_opengraph.html index a2b8a71..dcc3b43 100644 --- a/layouts/partials/meta_opengraph.html +++ b/layouts/partials/meta_opengraph.html @@ -1,13 +1,13 @@ <!-- Opengraph --> -<meta property="og:locale" content="{{ .Site.languageCode }}"> +<meta property="og:locale" content="{{ .Site.LanguageCode }}"> <meta property="og:title" content="{{ .Title }}" /> <meta property="og:description" content="{{ .Description }}" /> -<meta property="og:site_name" content="{{ .Site.title }}" /> +<meta property="og:site_name" content="{{ .Site.Title }}" /> <meta property="og:url" content="{{ .Permalink }}" /> {{ if eq .Url "/" }} <meta property="og:type" content="website" /> -<meta property="og:image" content="{{ .Site.baseUrl }}/media/facebook-og.jpg" /> +<meta property="og:image" content="{{ .Site.BaseUrl }}/media/facebook-og.jpg" /> <meta property="og:image:type" content="image/jpeg" /> {{ end }} diff --git a/layouts/partials/meta_twittercard.html b/layouts/partials/meta_twittercard.html index 21aff73..1e5d926 100644 --- a/layouts/partials/meta_twittercard.html +++ b/layouts/partials/meta_twittercard.html @@ -3,7 +3,7 @@ <meta name="twitter:title" content="{{ .Title }}" /> <meta name="twitter:description" content="{{ .Description }}" /> <meta name="twitter:url" content="{{ .Permalink }}" /> -<meta name="twitter:image:src" content="{{ .Site.baseUrl }}/media/twitter-card.jpg"> -<meta name="twitter:domain" content="{{ .Site.baseUrl }}"> -<meta name="twitter:site" content="@{{ .Site.params.twitter }}" /> -<meta name="twitter:creator" content="@{{ .Site.params.twitter }}" />
\ No newline at end of file +<meta name="twitter:image:src" content="{{ .Site.BaseUrl }}/media/twitter-card.jpg"> +<meta name="twitter:domain" content="{{ .Site.BaseUrl }}"> +<meta name="twitter:site" content="@{{ .Site.Params.twitter }}" /> +<meta name="twitter:creator" content="@{{ .Site.Params.twitter }}" />
\ No newline at end of file diff --git a/layouts/partials/social.html b/layouts/partials/social.html index c8373e0..39bc270 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,7 +1,7 @@ <aside> <ul class="social-networks" lang="en"> <li class="twitter"> - <a href="https://twitter.com/{{ .Site.params.twitter }}" title="Follow me"> + <a href="https://twitter.com/{{ .Site.Params.twitter }}" title="Follow me"> <span class="visua11y-hidden">Twitter</span> <svg id="twitter" class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" aria-labelledby="title" role="img" width="24" height="24"> <title>Twitter</title> @@ -10,7 +10,7 @@ </a> </li> <li class="github"> - <a href="https://github.com/{{ .Site.params.github }}" title="Fork me"> + <a href="https://github.com/{{ .Site.Params.github }}" title="Fork me"> <span class="visua11y-hidden">GitHub</span> <svg id="github" class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" aria-labelledby="title" role="img" width="24" height="24"> <title>GitHub</title> @@ -19,7 +19,7 @@ </a> </li> <li class="linkedin"> - <a href="https://fr.linkedin.com/in/{{ .Site.params.linkedin }}" title="About me"> + <a href="https://fr.linkedin.com/in/{{ .Site.Params.linkedin }}" title="About me"> <span class="visua11y-hidden">LinkedIn</span> <svg id="linkedin" class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" aria-labelledby="title" role="img" width="24" height="24"> <title>LinkedIn</title> |