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

github.com/bjacquemet/personal-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jacquemet <baptiste.jacquemet@gmail.com>2020-06-05 17:39:30 +0300
committerBaptiste Jacquemet <baptiste.jacquemet@gmail.com>2020-06-05 17:39:30 +0300
commitbfdce3a655455f679184459d5a7d8502a9022210 (patch)
treeea68585737e871fc498a328336ed650a1a4024ab
parent567a884118de108d2b05d4f2331924594a675331 (diff)
add latestPublishHeader to config
-rw-r--r--.gitignore1
-rw-r--r--exampleSite/content/post/config-file.md11
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