Add first post and add rss feed
This commit is contained in:
parent
87af96915a
commit
1fa1c6b355
14 changed files with 120 additions and 60 deletions
|
@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
draft: true
|
draft: true
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
title: ""
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
description: ""
|
description: ""
|
||||||
slug: ""
|
slug: ""
|
||||||
tags: []
|
tags: []
|
||||||
|
|
16
config.toml
16
config.toml
|
@ -111,15 +111,15 @@ disqusShortname = "yourdiscussshortname"
|
||||||
#weight = 1
|
#weight = 1
|
||||||
#url = "/en/about/"
|
#url = "/en/about/"
|
||||||
|
|
||||||
[[languages.en.menu.main]]
|
|
||||||
name = "Blog"
|
|
||||||
weight = 2
|
|
||||||
url = "/posts/"
|
|
||||||
|
|
||||||
# [[languages.en.menu.main]]
|
# [[languages.en.menu.main]]
|
||||||
# name = "Projects"
|
# name = "Blog"
|
||||||
# weight = 3
|
# weight = 2
|
||||||
# url = "/projects/"
|
# url = "/posts/"
|
||||||
|
|
||||||
|
[[languages.en.menu.main]]
|
||||||
|
name = "Projects"
|
||||||
|
weight = 3
|
||||||
|
url = "/projects/"
|
||||||
|
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
name = "Contact"
|
name = "Contact"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
---
|
||||||
title = "About"
|
title: "About"
|
||||||
slug = "about"
|
slug: "about"
|
||||||
+++
|
---
|
||||||
|
|
||||||
Construct...
|
Construct...
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
---
|
||||||
title = "À propos de moi"
|
title: "À propos de moi"
|
||||||
slug = "about"
|
slug: "about"
|
||||||
+++
|
---
|
||||||
|
|
||||||
# Personnel
|
# Personnel
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
---
|
||||||
title = "Contact me"
|
title: "Contact me"
|
||||||
slug = "contact"
|
slug: "contact"
|
||||||
+++
|
---
|
||||||
|
|
||||||
To contact me, send me an e-mail.
|
To contact me, send me an e-mail.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
---
|
||||||
title = "Me contacter"
|
title: "Me contacter"
|
||||||
slug = "contact"
|
slug: "contact"
|
||||||
+++
|
---
|
||||||
|
|
||||||
Je suis disponible par e-mail pour toutes questions.
|
Je suis disponible par e-mail pour toutes questions.
|
||||||
|
|
||||||
|
|
14
content/posts/001-premierPost.md
Normal file
14
content/posts/001-premierPost.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
draft: false
|
||||||
|
date: 2019-09-21T10:33:53+02:00
|
||||||
|
title: "Premier article"
|
||||||
|
description: ""
|
||||||
|
slug: ""
|
||||||
|
tags: []
|
||||||
|
categories: []
|
||||||
|
externalLink: ""
|
||||||
|
series: []
|
||||||
|
---
|
||||||
|
|
||||||
|
# Ouverture du blog
|
||||||
|
Voici le premier article sur ce blog, en espérant qu'il y en aura d'autres.
|
|
@ -1,11 +0,0 @@
|
||||||
+++
|
|
||||||
draft = false
|
|
||||||
date = 2019-09-18T17:13:38+02:00
|
|
||||||
title = "test posts"
|
|
||||||
description = "test"
|
|
||||||
slug = ""
|
|
||||||
tags = []
|
|
||||||
categories = []
|
|
||||||
externalLink = ""
|
|
||||||
series = []
|
|
||||||
+++
|
|
|
@ -5,7 +5,7 @@ description = "The post demonstrates features of the coder theme."
|
||||||
images = ["/images/N90.jpg"]
|
images = ["/images/N90.jpg"]
|
||||||
math = "true"
|
math = "true"
|
||||||
series = ["Theme", "Hugo"]
|
series = ["Theme", "Hugo"]
|
||||||
draft = false
|
draft = true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Style Demo
|
## Style Demo
|
||||||
|
|
25
content/projects.en.md
Normal file
25
content/projects.en.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
title: "Projets"
|
||||||
|
slug: "projects"
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# Popularizing computer science
|
||||||
|
My project is to set up computer science popularizing workshops.
|
||||||
|
By _computer science_ I mean a basic understanding of the tools
|
||||||
|
(hardware and software)
|
||||||
|
used every day as well as the various security and privacy issues.
|
||||||
|
The aim is to have sessions in small groups and of short duration
|
||||||
|
(between 1 h and 3 h) in order to be able to make them accessible
|
||||||
|
to as many people as possible, regardless of the starting baggage.
|
||||||
|
|
||||||
|
# Service company
|
||||||
|
In order to be able to issue invoices and pay salaries for services,
|
||||||
|
I participated in the creation of a limited liability company
|
||||||
|
([Ognon](https://ognon.ch)).
|
||||||
|
Now our objective is to achieve sustainable operation both
|
||||||
|
humanly and financially.
|
||||||
|
|
||||||
|
# Permaculture garden and off-grid housing
|
||||||
|
I would like to acquire land to test a way of life outside the network
|
||||||
|
(water and electricity) and set up permaculture production.
|
26
content/projects.fr.md
Normal file
26
content/projects.fr.md
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
title: "Projets"
|
||||||
|
slug: "projects"
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# Vulgarisation informatique
|
||||||
|
J'ai pour projet de monter des ateliers de vulgarisations à l'informatique.
|
||||||
|
Par _informatique_ j'entends une compréhension de base des outils
|
||||||
|
(matériels et logiciels) utilisés tous les jours ainsi que des diverses
|
||||||
|
problématiques de sécurité et de respect de la vie privée.
|
||||||
|
Le but est de faire des séances en petit groupe et de courte durée
|
||||||
|
(entre 1 h et 3 h) afin de pouvoir les rendre accessibles au plus
|
||||||
|
de monde possible, et quel que soit le bagage de départ.
|
||||||
|
|
||||||
|
# Entreprise de service
|
||||||
|
Dans le but de pouvoir émettre des factures et pouvoir payer des salaires
|
||||||
|
pour des prestations de services, j'ai participé à la création d'une
|
||||||
|
Sàrl ([Ognon](https://ognon.ch)).
|
||||||
|
Maintenant nous avons pour objectif d'atteindre un fonctionnement durable
|
||||||
|
autant humainement que financièrement.
|
||||||
|
|
||||||
|
# Jardin en permaculture et habitation hors-réseau
|
||||||
|
J'aimerais acquérir un terrain pour y tester un mode de vie
|
||||||
|
en dehors du réseau (eau et électricité) et y mettre en place
|
||||||
|
une production en permaculture.
|
|
@ -1,19 +0,0 @@
|
||||||
+++
|
|
||||||
title = "Projets"
|
|
||||||
slug = "projects"
|
|
||||||
draft = false
|
|
||||||
+++
|
|
||||||
|
|
||||||
# Vulgarisation informatique
|
|
||||||
J'ai pour projet de monter des ateliers de vulgarisations à l'informatique.
|
|
||||||
Par _informatique_ j'entends une compréhension de base des outils
|
|
||||||
(matériels et logiciels) utilisés tous les jours ainsi que des diverses
|
|
||||||
problématiques de sécurité et de respect de la vie privée.
|
|
||||||
Le but serait de faire des séances en petit groupe et de courte durée
|
|
||||||
(entre 1h et 3h) afin de pouvoir les rendre accessibles au plus
|
|
||||||
de monde possible, et quelque soit le bagage de départ.
|
|
||||||
|
|
||||||
# Jardin en permaculture et habitation hors-réseau
|
|
||||||
J'aimerais acquérir un terrain pour y tester un mode de vie
|
|
||||||
en dehors du réseau (eau et électricité) et y mettre en place
|
|
||||||
une production en permaculture.
|
|
26
layouts/_default/rss.xml
Normal file
26
layouts/_default/rss.xml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
|
<link>{{ .Permalink }}</link>
|
||||||
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
|
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
|
{{ end }}
|
||||||
|
{{ range .Site.RegularPages }}
|
||||||
|
<item>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<link>{{ .Permalink }}</link>
|
||||||
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
|
<guid>{{ .Permalink }}</guid>
|
||||||
|
<description>{{ .Content | html }}</description>
|
||||||
|
</item>
|
||||||
|
{{ end }}
|
||||||
|
</channel>
|
||||||
|
</rss>
|
Loading…
Reference in a new issue