mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
update the docs on how to view generated blog
This commit is contained in:
parent
4a6bf81b2e
commit
e5d4e90b8f
1 changed files with 14 additions and 0 deletions
|
|
@ -180,3 +180,17 @@ If you want to publish an article as a draft, for friends to review it for
|
||||||
instance, you can add a ``status: draft`` to its metadata, it will then be
|
instance, you can add a ``status: draft`` to its metadata, it will then be
|
||||||
available under the ``drafts`` folder, and not be listed under the index page nor
|
available under the ``drafts`` folder, and not be listed under the index page nor
|
||||||
any category page.
|
any category page.
|
||||||
|
|
||||||
|
Viewing the generated files
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
The files generated by pelican are static files, so you don't actually need
|
||||||
|
something special to see what's hapenning with the generated files.
|
||||||
|
|
||||||
|
You can either run your browser on the files on your disk::
|
||||||
|
|
||||||
|
$ firefox output/index.html
|
||||||
|
|
||||||
|
Or run a simple web server using python::
|
||||||
|
|
||||||
|
cd output && python -m SimpleHTTPServer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue