diff --git a/dist/index.html b/dist/index.html
index 6d7307a..82afaa5 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -646,7 +646,7 @@
diff --git a/dist/presentations/index.html b/dist/presentations/index.html
index 71edcbb..089346d 100644
--- a/dist/presentations/index.html
+++ b/dist/presentations/index.html
@@ -135,7 +135,7 @@
diff --git a/dist/projects/index.html b/dist/projects/index.html
index 44e07d5..1826025 100644
--- a/dist/projects/index.html
+++ b/dist/projects/index.html
@@ -199,7 +199,7 @@
diff --git a/dist/publications/index.html b/dist/publications/index.html
index 770c91e..eb243db 100644
--- a/dist/publications/index.html
+++ b/dist/publications/index.html
@@ -487,7 +487,7 @@
diff --git a/generate.py b/generate.py
index 7cc5100..fd4d5f9 100644
--- a/generate.py
+++ b/generate.py
@@ -1,5 +1,6 @@
import os
import yaml
+from datetime import datetime
from jinja2 import Environment, FileSystemLoader
@@ -8,6 +9,7 @@ if __name__ == '__main__':
profile_data = yaml.safe_load(file)
env = Environment(loader=FileSystemLoader('templates'))
+ current_year = datetime.now().year
os.makedirs('dist', exist_ok=True)
os.makedirs('dist/publications', exist_ok=True)
@@ -16,7 +18,7 @@ if __name__ == '__main__':
def render_template(template_name, output_path, **kwargs):
template = env.get_template(template_name)
- html = template.render(**kwargs)
+ html = template.render(year=current_year, **kwargs)
with open(output_path, 'w') as file:
file.write(html)
diff --git a/templates/base.html b/templates/base.html
index 87e6d4d..26eb2ca 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -70,7 +70,7 @@