diff options
author | Baptiste Jacquemet <baptiste.jacquemet@gmail.com> | 2020-06-05 17:39:30 +0300 |
---|---|---|
committer | Baptiste Jacquemet <baptiste.jacquemet@gmail.com> | 2020-06-05 17:39:30 +0300 |
commit | bfdce3a655455f679184459d5a7d8502a9022210 (patch) | |
tree | ea68585737e871fc498a328336ed650a1a4024ab | |
parent | 567a884118de108d2b05d4f2331924594a675331 (diff) |
add latestPublishHeader to config
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | exampleSite/content/post/config-file.md | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store
\ No newline at end of file diff --git a/exampleSite/content/post/config-file.md b/exampleSite/content/post/config-file.md index 765d3cf..84defb7 100644 --- a/exampleSite/content/post/config-file.md +++ b/exampleSite/content/post/config-file.md @@ -27,6 +27,9 @@ pygmentsCodeFences=true main = "Hi, I'm Edna :wave:" sub = "I'm a Web Developer and Entrepreneur" +[params.main] + latestPublishHeader = "My Latest Project" + [taxonomies] design = "designs" tech = "techs" @@ -191,4 +194,12 @@ In this last section, the email expects your email address and the text is what [params.contact] email = "" text= "" +``` + +## Latest Publication +You can define the name of the latest publication header on the home page with the param `latestPublishHeader`. + +```TOML +[params.main] + latestPublishHeader = "My Latest Project" ```
\ No newline at end of file |