Commit 6f31ed76 authored by Valvin's avatar Valvin
Browse files

activation du multi-langue

parent 1b2c5e0d
Pipeline #28071 running with stages
in 22 seconds
# Site settings
baseurl = "https://valvin.frama.io/blog-valvin"
themesDir = "./themes"
languageCode = "fr-FR"
languageCode = "fr"
defaultContentLanguage= "fr"
title = "Le Blog de Valvin"
theme = "cactus"
# Enter your tracking code to enable Google Analytics
googleAnalytics = ""
# Disable comments by leaving disqusShortname empty
disqusShortname = ""
defaultContentLanguageInSubdir = true
[params]
name = "Valvin"
name = "Le Blog de Valvin"
description = "beaucoup de Libre et de respect de la vie privée"
bio = "AdminSys - Developper ou bien un truc du genre"
# Enter optionally your twitter account
......@@ -26,17 +28,17 @@ disqusShortname = ""
# translate or customize each string of the theme.
# Navigation links
home = ""
subscribe = ""
home = "Accueil"
subscribe = "Flux RSS"
# Pagination links
olderPosts = ""
newerPosts = ""
readMore = ""
copyright = ""
olderPosts = "Post plus anciens"
newerPosts = "Post plus récents"
readMore = "Lire plus"
copyright = "Le contenu est disponible sous la licence CC-BY-SA"
# Sharing options and author information in posts
aboutAuthor = "I'm an blogger."
tweet = ""
share = ""
aboutAuthor = "Aime le Libre et le respect de la vie privée"
tweet = "Tweeter"
share = "Partager"
# 404 page
title404 = ""
subtitle404 = ""
......@@ -45,9 +47,32 @@ disqusShortname = ""
iconFont = "mono-social"
# The social icons can be styled differently if you use mono as font - circle, rounded, or empty
socialIconStyle = "circle"
[Languages]
[Languages.en]
title = "Valvin's blog"
weight = 2
name = "Valvin's blog"
description = "lot of Free project and privacy respect"
bio = "AdminSys - Developper or something like that"
home = "Home"
subscribe = "RSS feed"
# Pagination links
olderPosts = "Older posts"
newerPosts = "Newer posts"
readMore = "Read more"
copyright = "This content is release under CC-BY-SA licence"
# Sharing options and author information in posts
aboutAuthor = "Like FOSS and privacy"
tweet = "Tweet"
share = "Share"
# 404 page
title404 = ""
subtitle404 = ""
[Languages.fr]
title = "Le blog de Valvin"
weight = 1
# Add additional social link entries underneath
[social]
twitter = "https://www.twitter.com/_valvin"
github = "https://www.github.com/vavlin1"
dribble = "https://www.dribbble.com/"
---
title: "First post with Hugo"
date: 2017-11-05T13:04:01+01:00
draft: false
---
# My first post with Hugo
Hugo is static website generator like Jekyll or many others. Once the client installed and some simple commands it is easy to publish his site.
## Installation
To install Hugo on Ubuntu it is possible to it by differents means :
* User Ubuntu repository : the version is very old and it is not compatible with the i've chosen (Cactus) but i think it is the same for other themes.
```
sudo apt install hugo
```
Here we get a 0.16 version :(
* via la nouvelle méthode de containérisation de package **snap** :
```
sudo snap install hugo
```
ici on a la version 0.32 mais lorsqu'on lance le client on a le message suivant :
```
snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks
```
Ce message semble être un bug connu, lié à la version 16.04 d'Ubuntu : voir [ici](https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1673247)
Pour ma première tentative avec Snap, cela aurait été un échec. Il parait que Flatpak c'est mieux mais je n'ai pas d'avis sur le sujet.
* à la main :
C'est la méthode qui a fonctionné pour moi. Je suis allé sur le Github de Hugo est j'ai télécharge le .deb et je l'ai installé avec `dpkg`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment