Update warning message to use weight

This commit is contained in:
Vincent Prouillet 2018-07-31 15:39:10 +02:00
parent 9e3c66186b
commit a83518a29b

View file

@ -44,7 +44,7 @@ pub fn warn_about_ignored_pages(site: &Site) {
if !ignored_pages.is_empty() { if !ignored_pages.is_empty() {
warn(&format!( warn(&format!(
"{} page(s) ignored (missing date or order in a sorted section):", "{} page(s) ignored (missing date or weight in a sorted section):",
ignored_pages.len() ignored_pages.len()
)); ));
for path in ignored_pages { for path in ignored_pages {