diff options
author | Pierre <pierre.plantie@gmail.com> | 2018-07-13 13:09:25 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-07-13 13:09:25 +0300 |
commit | ffc507b588220017b2d789d03dc35f2afc150142 (patch) | |
tree | a496e3f5589151d6e4bcee39ed0a75fbf241dd08 | |
parent | 12f980a257f81554bc2d82fbcb2367acbbb4b145 (diff) |
Add french support for example site (#49)4.2.0
* add french support for example site
* add french support on prod config
* Bump version and comment out french in config
-rw-r--r-- | exampleSite/config-prod.toml | 3 | ||||
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | exampleSite/data/fr/contactinfo.yaml | 9 | ||||
-rw-r--r-- | exampleSite/data/fr/intro.yaml | 7 | ||||
-rw-r--r-- | exampleSite/data/fr/post.yaml | 1 | ||||
-rw-r--r-- | exampleSite/data/fr/social.yaml | 9 | ||||
-rw-r--r-- | package-lock.json | 2 | ||||
-rw-r--r-- | package.json | 2 |
8 files changed, 34 insertions, 2 deletions
diff --git a/exampleSite/config-prod.toml b/exampleSite/config-prod.toml index f774848..4b8a308 100644 --- a/exampleSite/config-prod.toml +++ b/exampleSite/config-prod.toml @@ -21,3 +21,6 @@ disqusShortname = "hugo-massively" [languages.es] languageName = "Español" title = "Massively - Versión Español" +#[languages.fr] +# languageName = "Français" +# title = "Massively - Version Française" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2ee3ef4..a06d960 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,3 +21,6 @@ disqusShortname = "hugo-massively" [languages.es] languageName = "Español" title = "Massively - Versión Español" +#[languages.fr] +# languageName = "Français" +# title = "Massively - Version Française" diff --git a/exampleSite/data/fr/contactinfo.yaml b/exampleSite/data/fr/contactinfo.yaml new file mode 100644 index 0000000..9a492d9 --- /dev/null +++ b/exampleSite/data/fr/contactinfo.yaml @@ -0,0 +1,9 @@ +contactformaction: 'post-action' + +address: +- line: '1234 Somewhere Road #87257' +- line: 'Nashville, TN 00000-0000' + +phone: '(800) 000-0000' + +email: 'someone@untitled.tld'
\ No newline at end of file diff --git a/exampleSite/data/fr/intro.yaml b/exampleSite/data/fr/intro.yaml new file mode 100644 index 0000000..12369ce --- /dev/null +++ b/exampleSite/data/fr/intro.yaml @@ -0,0 +1,7 @@ +title: +- line: 'Ceci est' +- line: 'Massively' + +description: +- line: 'Un modèle de site gratuit, complètement responsive HTML5 + CSS3 designé par @ajlkn pour HTML5 UP' +- line: 'et publié gratuitement sous la licence Creative Commons.'
\ No newline at end of file diff --git a/exampleSite/data/fr/post.yaml b/exampleSite/data/fr/post.yaml new file mode 100644 index 0000000..4ab1448 --- /dev/null +++ b/exampleSite/data/fr/post.yaml @@ -0,0 +1 @@ +linktext: 'Histoire Complète' diff --git a/exampleSite/data/fr/social.yaml b/exampleSite/data/fr/social.yaml new file mode 100644 index 0000000..7d0bd7f --- /dev/null +++ b/exampleSite/data/fr/social.yaml @@ -0,0 +1,9 @@ +twitter: "https://twitter.com/" +facebook: "https://facebook.com" +instagram: "https://instagram.com" +linkedin: "https://www.linkedin.com" +github: "https://github.com/" +youtube: "https://youtube.com/" +googleplus: "https://plus.google.com/" +lastfm: "https://last.fm/" +flickr: "https://flickr.com/"
\ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7cd258d..1cf5b38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { "name": "hugo-theme-massively", - "version": "4.1.0", + "version": "4.2.0", "lockfileVersion": 1 } diff --git a/package.json b/package.json index 99cc7cb..5fd8c43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-massively", - "version": "4.1.0", + "version": "4.2.0", "description": "HTML5 UP theme Massively for Hugo", "main": "index.js", "scripts": { |