Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis Philibert <login@regisphilibert.com>2022-02-11 22:54:39 +0300
committerRegis Philibert <login@regisphilibert.com>2022-02-11 22:54:39 +0300
commitd4e5a698a829e63273252418dd2a5cccdeb04aa2 (patch)
treeb1c85ff7ae5441fe93629a33fe6bf01fcfbd8c94
parentca04e6b56765ca5fb3fac18e3441492bc64d98f6 (diff)
Update exampleSite
-rw-r--r--exampleSite/config.toml6
-rw-r--r--exampleSite/content/en/_index.md4
-rw-r--r--exampleSite/content/en/contact.md2
-rw-r--r--exampleSite/content/fr/_index.md8
-rw-r--r--exampleSite/content/fr/contact.md5
-rw-r--r--layouts/partials/page-header.html2
6 files changed, 15 insertions, 12 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 @@ enableRobotsTXT = true
[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 @@ enableRobotsTXT = true
# 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"
+cascade:
+ featured_image: '/images/gohugo-default-sample-hero-image.jpg'
---
-Bienvenu sur mon blog!
-
-Vous pouvez lire mes idées de publication plus bas.
+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 @@ menu: main
---
+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 }}