fixed tags in draft not found error (#753)
This commit is contained in:
parent
ad6b713759
commit
d0167647a8
|
@ -193,11 +193,6 @@ pub fn find_taxonomies(config: &Config, library: &Library) -> Result<Vec<Taxonom
|
|||
let mut all_taxonomies = HashMap::new();
|
||||
|
||||
for (key, page) in library.pages() {
|
||||
// Draft are not part of taxonomies
|
||||
if page.is_draft() {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (name, val) in &page.meta.taxonomies {
|
||||
if taxonomies_def.contains_key(name) {
|
||||
if taxonomies_def[name].lang != page.lang {
|
||||
|
|
Loading…
Reference in a new issue