Update exampleSite

This commit is contained in:
Regis Philibert 2022-02-11 14:54:39 -05:00
parent ca04e6b567
commit d4e5a698a8
6 changed files with 16 additions and 13 deletions

View file

@ -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"

View file

@ -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.

View file

@ -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

View file

@ -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.

View file

@ -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" >}}

View file

@ -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 }}