Added a hugo markdown shortcode to automatically calculate my age
This commit is contained in:
parent
80c6fffa71
commit
e960153727
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
1
layouts/shortcodes/age.html
Normal file
1
layouts/shortcodes/age.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ div (sub now.Unix 493473600 ) 31556926 }}
|
Loading…
Add table
Reference in a new issue