Remove custom Twig extensions
Go back to calculating the talk count inline and using a macro to get the number of years experience.
This commit is contained in:
parent
c4ac4a8d3f
commit
94a4190be6
14 changed files with 1659 additions and 1871 deletions
3
source/_layouts/_macros.html.twig
Normal file
3
source/_layouts/_macros.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% macro yearsOfExperience() %}
|
||||
{{ today|date('Y') - 2007 }}
|
||||
{% endmacro %}
|
Loading…
Add table
Add a link
Reference in a new issue