diff --git a/_config.yml b/_config.yml index 423a4966..df692334 100644 --- a/_config.yml +++ b/_config.yml @@ -84,4 +84,5 @@ algolia: page_gen: - data: gorefs template: goref - name: id + dir: GO_REF + name_expr: "record['id'].sub('GO_REF:', '')" diff --git a/_includes/goref_toc_list_item.html b/_includes/goref_toc_list_item.html index 8f16bf16..4ac86e7f 100644 --- a/_includes/goref_toc_list_item.html +++ b/_includes/goref_toc_list_item.html @@ -1,5 +1,9 @@