Removed page still appear after build

14 views
Skip to first unread message

Matteo Parsani

unread,
Jan 31, 2015, 9:43:28 PM1/31/15
to nikola-...@googlegroups.com
Hello,
I am testing the "pages" in Nikola. 

I have created an index.rst file with the command new_page and I have built my website. Everything worked well. Then, I removed the page index.rst and I have rebuilt my website again. However, the page index.rst and index.html still appear in the output directory and when I hope the website at   http://localhost:8000/
the front page is still index.html.

Could you please help me?

Thanks!

Chris Warrick

unread,
Feb 1, 2015, 4:28:12 AM2/1/15
to Nikola—Discuss
Nikola does not delete files you removed from the input. You need to
do it yourself:

$ nikola check -f --clean-files

You can also use

$ nikola orphans

to get a list of files in a plain text format.

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16
Reply all
Reply to author
Forward
0 new messages