diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c index 851c06d..dee591a 100644 --- a/src/render.c +++ b/src/render.c @@ -132,7 +132,7 @@ render_make_index(struct render *r, const char *path) if (r->dry_run) goto done; roscha_hmap_set(r->env->vars, "years", r->years); - roscha_hmap_set(r->env->vars, "albums", r->years); + roscha_hmap_set(r->env->vars, "albums", r->albums); ok = render(r->env, "index.html", path); roscha_hmap_unset(r->env->vars, "years"); roscha_hmap_unset(r->env->vars, "albums"); |
