From d4e5a698a829e63273252418dd2a5cccdeb04aa2 Mon Sep 17 00:00:00 2001
From: Regis Philibert <login@regisphilibert.com>
Date: Fri, 11 Feb 2022 19:54:39 +0000
Subject: [PATCH] Update exampleSite

---
 layouts/partials/page-header.html |    2 +-
 exampleSite/config.toml           |    6 +++---
 exampleSite/content/fr/contact.md |    5 +++--
 exampleSite/content/en/contact.md |    2 +-
 exampleSite/content/en/_index.md  |    4 +++-
 exampleSite/content/fr/_index.md  |   10 +++++-----
 6 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 684f524..8a091aa 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -13,11 +13,11 @@
 
 [languages]
   [languages.en]
-    title = "My blog"
+    title = "Ananke"
     weight = 1
     contentDir = "content/en"
   [languages.fr]
-    title = "Mon blogue"
+    title = "Ananke Fr"
     weight = 2
     contentDir = "content/fr"
 
@@ -35,7 +35,7 @@
   # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
   background_color_class = "bg-black"
   featured_image = "/images/gohugo-default-sample-hero-image.jpg"
-  recent_posts_number = 2
+  recent_posts_number = 3
 
 [[params.ananke_socials]]
 name = "twitter"
diff --git a/exampleSite/content/en/_index.md b/exampleSite/content/en/_index.md
index 73c1cda..896258b 100644
--- a/exampleSite/content/en/_index.md
+++ b/exampleSite/content/en/_index.md
@@ -1,6 +1,8 @@
 ---
 title: "Ananke: a Hugo Theme"
-featured_image: '/images/gohugo-default-sample-hero-image.jpg'
+
 description: "The last theme you'll ever need. Maybe."
+cascade:
+  featured_image: '/images/gohugo-default-sample-hero-image.jpg'
 ---
 Welcome to my blog with some of my work in progress. I've been working on this book idea. You can read some of the chapters below.
diff --git a/exampleSite/content/en/contact.md b/exampleSite/content/en/contact.md
index 07ae1f5..bc5cd25 100644
--- a/exampleSite/content/en/contact.md
+++ b/exampleSite/content/en/contact.md
@@ -1,6 +1,6 @@
 ---
 title: Contact
-featured_image: "images/notebook.jpg"
+featured_image: ''
 omit_header_text: true
 description: We'd love to hear from you
 type: page
diff --git a/exampleSite/content/fr/_index.md b/exampleSite/content/fr/_index.md
index 7ac9ae9..03e4c57 100644
--- a/exampleSite/content/fr/_index.md
+++ b/exampleSite/content/fr/_index.md
@@ -1,8 +1,8 @@
 ---
 title: "Ananke: Un thème pour Hugo"
-featured_image: '/images/gohugo-default-sample-hero-image.jpg'
-description: "Le dernier thème dont vous aurez besoin. Peut-être"
----
-Bienvenu sur mon blog!
 
-Vous pouvez lire mes idées de publication plus bas.
+description: "Le dernier thème dont vous aurez besoin. Peut-être"
+cascade:
+  featured_image: '/images/gohugo-default-sample-hero-image.jpg'
+---
+Bienvenu sur mon blog à propos de mon travail du moment. Je travail sur une idée de livre. Vous pouvez lire quelques chapitres plus bas.
diff --git a/exampleSite/content/fr/contact.md b/exampleSite/content/fr/contact.md
index 75eb5d2..bff9bd0 100644
--- a/exampleSite/content/fr/contact.md
+++ b/exampleSite/content/fr/contact.md
@@ -1,6 +1,6 @@
 ---
 title: Contact
-featured_image: "images/notebook.jpg"
+featured_image: ''
 omit_header_text: true
 description: Laissez-nous un message!
 type: page
@@ -8,7 +8,8 @@
 
 ---
 
+Ceci est la page de contact en Français.
 
-This is the French contact page. This is an example of a custom shortcode that you can put right into your content. You will need to add a form action to the the shortcode to make it work. Check out [Formspree](https://formspree.io/) for a simple, free form service.
+This is an example of a custom shortcode that you can put right into your content. You will need to add a form action to the the shortcode to make it work. Check out [Formspree](https://formspree.io/) for a simple, free form service.
 
 {{< form-contact action="https://example.com"  >}}
diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html
index 9f2ebd5..9e46054 100644
--- a/layouts/partials/page-header.html
+++ b/layouts/partials/page-header.html
@@ -3,7 +3,7 @@
   {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
   {{ $featured_image := (trim $featured_image "/") | absURL }}
   <header class="cover bg-top" style="background-image: url('{{ $featured_image }}');">
-    <div class="pb3-m pb6-l bg-black-60">
+    <div class="bg-black-60">
       {{ partial "site-navigation.html" . }}
       <div class="tc-l pv6 ph3 ph4-ns">
         {{ if not .Params.omit_header_text }}

--
Gitblit v1.10.0