From 0fb743dcb9d5e2c463c85addc1deffeee73b8c65 Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Sun, 24 Mar 2019 21:01:46 +0100 Subject: [PATCH] Create sections and improve menu appearance --- content/_index.ca.md | 9 +++++++ content/_index.en.md | 7 ++++++ content/_index.es.md | 7 ++++++ content/_index.md | 24 ------------------- content/projectes.md | 9 +++++++ content/serveis.md | 10 ++++++++ themes/marcriera/layouts/partials/header.html | 15 +++--------- themes/marcriera/static/css/theme.css | 13 +++++----- 8 files changed, 52 insertions(+), 42 deletions(-) create mode 100644 content/_index.ca.md create mode 100644 content/_index.en.md create mode 100644 content/_index.es.md delete mode 100644 content/_index.md create mode 100644 content/projectes.md create mode 100644 content/serveis.md diff --git a/content/_index.ca.md b/content/_index.ca.md new file mode 100644 index 0000000..c92ef34 --- /dev/null +++ b/content/_index.ca.md @@ -0,0 +1,9 @@ +--- +menu: + main: + name: "Inici" + weight: 1 + url: "/" +--- + +Hola, em dic Marc i sóc traductor professional. diff --git a/content/_index.en.md b/content/_index.en.md new file mode 100644 index 0000000..30b92bf --- /dev/null +++ b/content/_index.en.md @@ -0,0 +1,7 @@ +--- +menu: + main: + name: "Start" + weight: 1 + url: "/" +--- diff --git a/content/_index.es.md b/content/_index.es.md new file mode 100644 index 0000000..ac8a6aa --- /dev/null +++ b/content/_index.es.md @@ -0,0 +1,7 @@ +--- +menu: + main: + name: "Inicio" + weight: 1 + url: "/" +--- diff --git a/content/_index.md b/content/_index.md deleted file mode 100644 index 1b7dd4a..0000000 --- a/content/_index.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -menu: - main: - name: "Inici" - weight: 1 - url: "/" ---- -
- -**Contact:** - -E-mail: contacte@mrtraduccions.cat - -Phone: (+34) 652 492 008 - -  - - - -Twitter: @marcrierai - -LinkedIn: Marc Riera Irigoyen - -
diff --git a/content/projectes.md b/content/projectes.md new file mode 100644 index 0000000..2459a67 --- /dev/null +++ b/content/projectes.md @@ -0,0 +1,9 @@ +--- +title: "Projectes" +menu: + main: + name: "Projectes" + weight: 5 + url: "/projectes/" +--- + diff --git a/content/serveis.md b/content/serveis.md new file mode 100644 index 0000000..282af51 --- /dev/null +++ b/content/serveis.md @@ -0,0 +1,10 @@ +--- +title: "Serveis" +menu: + main: + name: "Serveis" + weight: 2 + url: "/serveis/" +--- + +Sóc traductor diff --git a/themes/marcriera/layouts/partials/header.html b/themes/marcriera/layouts/partials/header.html index 54339a1..cd198be 100644 --- a/themes/marcriera/layouts/partials/header.html +++ b/themes/marcriera/layouts/partials/header.html @@ -7,27 +7,20 @@ {{ .Hugo.Generator }} -
-
- {{ if isset .Site.Params "logoimage" }} {{ end }} - - -
{{ .Site.Params.Description }}
- - + +
{{ .Site.Params.Description }}
-
{{ if .IsTranslated }} {{ end }}
- {{ partial "menu.html" . }} - {{ if isset .Params "image"}}