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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
# For more information look at "README.md".
# GLOBAL SITE SETTINGS
# Parameters used by HUGO to configure the site's global settings.
preserveTaxonomyNames = "true"
baseurl = "https://example.org/"
languageCode = "en-us"
title = "HUGO MyPortfolio Theme"
theme = "hugo-myportfolio-theme"
[params]
# GENERAL SITE PARAMETERS
# Parameters used by the site at the global level.
# File(s) containing overriden CSS variables (can have more than 1) (OPTIONAL)
custom_css = [ "custom.css" ]
# ----------
# SITE METADATA
# Parameters used to configure metadata in the HTML "head" section.
[params.meta]
# To provide some metadata for search engines (OPTIONAL)
author = "<AUTHOR>"
description = "<DESCRIPTION>"
# The path must be relative to the static folder (MANDATORY)
favicon = "favicon.ico"
# ----------
# HOMEPAGE
# Define the sections and the order in which they appear (MANDATORY)
[params.homepage]
sections = [ "home", "about", "services", "skills", "projects", "contact" ]
# ----------
# NAVIGATION MENU
# Define the navigation bar entries and the order in which they appear (OPTIONAL)
[params.navigation]
# Brand (OPTIONAL - but required if want HOME button)
brand = "YOUR BRAND"
# NAVIGATION MENU ENTRIES (OPTIONAL)
# Add an entry for each section to add in the navigation menu.
# Syntax:
# key = "<VALUE>"
# => Where
# - "key" is in:
# - about
# - services
# - skills
# - projects (! - SPECIAL CASE: DIFFERENT MANAGEMENT THAN OTHER SECTIONS!)
# - contact
#
# - "<VALUE>" is the string to display as menu item.
# If no entry is specified => No navigation menu is created.
# (even if "params.navigation.links" is defined, but empty)
# => Can define a dummy variable in "links" to force the creation of the menu (e.g.: dummy = 1).
# To change order, need to change code in navigation menu creation.
# Special case: "projects".
# projects = [ { section = "<SECTION_DIRECTORY>", label = "<VALUE>" }, ... ]
# ! - Values for "sections" in "projects" must be the same as used in "projects.params".
# (& must correspond to the section directories)
[params.navigation.links]
about = "ABOUT"
services = "SERVICES"
skills = "SKILLS"
projects = [
{ section = "pro", label = "PROFESSIONAL" },
{ section = "perso", label = "PERSONAL" }
]
contact = "CONTACT"
# ----------
# PROJECTS section
[params.projects]
# Values in "categories" must be the same as in navigation menu "projects".
# (& must correspond to the section directories)
categories = [ "pro", "perso" ]
# Post orders:
# - list of posts:
# - default: date.
# - common to all, defined globally here.
# - can be overriden at page level (in "_index.md").
# - list of brothers:
# - default: from parent (if no parent => title).
# - list: parent.sections_order
# - single: parent.posts_order
# - list of sections:
# - default: title.
# - common to all, efined globally here.
# - can be overriden at page level
# - list: in "_index.md"
# - single: in "index.md" (or "post.md" if post is not a bundle)
# Required as default values.
sections_order = "title"
sections_order_reverse = false
posts_order = "date"
posts_order_reverse = true
# Format of the "period" field.
date_format = "Jan-2006"
# Number of columns in projects grid (OPTIONAL)
#nb_columns = "3"
#nb_columns_small = "2"
# ----------
# PAGE 404
[params.page404]
text = "OOPS, PAGE NOT FOUND!"
background_image = "404.jpg"
button_text = "BACK HOME"
|