summaryrefslogtreecommitdiff
path: root/wiki/features/homepage.md
blob: db4cb37c825aa3c8912745fe6f83be56f1ebba94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: "Homepage"
date: "2024-10-14"
summary: "Homepage parameters"
description: "Homepage parameters"
toc: false
readTime: false
autonumber: true
math: false
showTags: false
---

The homepage offers minimal customization options, you can specify an intro, and a collection to display.

## Intro Section

By setting those two parameters in your `hugo.toml` config you can control the text to display after the header on the homepage. Note that the body is interpreted as markdown.

```toml
[params]
homeIntroTitle = 'Hi!'

homeIntroContent = """
I am an Italian Software Engineer with a strong foundation in computer science and a passion for solving complex problems. 
I am interested in a range of topics, including algorithms, distributed systems, databases, and information retrieval.
"""
```

Note that you can omit one of the two if you want.

## Display a Collection

You can decide to include a collection in your homepage:

```toml
[params]
homeCollectionTitle = 'Posts'
homeCollection = 'posts'
```

The above example includes the `/posts` collection. Note that you can omit the title if you prefer.