diff options
-rw-r--r-- | content/docs/about-me/_index.md | 2 | ||||
-rw-r--r-- | layouts/shortcodes/age.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/content/docs/about-me/_index.md b/content/docs/about-me/_index.md index fe2c202..d0c2bd3 100644 --- a/content/docs/about-me/_index.md +++ b/content/docs/about-me/_index.md @@ -5,7 +5,7 @@ description: Information about the author of this website ## Who am I? -Hello, and thanks for asking! My name is Julien Dessaux, and I am a 34 years old guy working in IT. Adyxax is the nickname I use on IRC, github, etc. +Hello, and thanks for asking! My name is Julien Dessaux, and I am a {{< age >}} years old guy working in IT. Adyxax is the nickname I use on IRC, github, etc. ## Online presence diff --git a/layouts/shortcodes/age.html b/layouts/shortcodes/age.html new file mode 100644 index 0000000..fcf6d13 --- /dev/null +++ b/layouts/shortcodes/age.html @@ -0,0 +1 @@ +{{ div (sub now.Unix 493473600 ) 31556926 }} |