Browse Source

fixed tags in draft not found error (#753)

index-subcmd
lsm Vincent Prouillet 5 years ago
parent
commit
d0167647a8
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      components/library/src/taxonomies/mod.rs

+ 0
- 5
components/library/src/taxonomies/mod.rs View File

@@ -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…
Cancel
Save