diff --git a/layouts/shortcodes/my_todolist.html b/layouts/shortcodes/my_todolist.html index 6954ac1..783b6db 100644 --- a/layouts/shortcodes/my_todolist.html +++ b/layouts/shortcodes/my_todolist.html @@ -2,7 +2,7 @@ {{ if (or hugo.IsServer .Site.Params.listTodo) }} {{ .Scratch.Set "todos" slice }} {{ range .Site.RegularPages }} - {{ if .HasShortcode "todo" }} + {{ if .HasShortcode "my_todo" }} {{ $.Scratch.Add "todos" . }} {{ end }} {{ end }}