mirror of
https://github.com/getzola/zola
synced 2024-12-12 21:32:29 +00:00
fixed tags in draft not found error (#753)
This commit is contained in:
parent
ad6b713759
commit
d0167647a8
1 changed files with 0 additions and 5 deletions
|
@ -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