AceCentre / SpeechBubble

Working code for v2 of the speechbubble.org.uk site. See acecentre.org.uk for more details
4 stars 3 forks source link

Creation of static pages #10

Closed willwade closed 9 years ago

willwade commented 9 years ago

Doing this currently in Markdown files.. @lgarvey - I'm not sure what you were thinking of for stuff like additional pages - just flat html?? I guess we could use flask-flatpages.. and put in a route that detects any pages not met by another route?? Or is there a better way for this??

lgarvey commented 9 years ago

Hey Will,

Yes, exactly that - flask-flatpages will do fine. So happy for you to build ancillary pages in markdown/html whatever and we'll get flask-flatpages in place.

Cheers, Lyndon

On Tue, Jan 6, 2015 at 1:56 PM, will wade notifications@github.com wrote:

Doing this currently in Markdown files.. @lgarvey https://github.com/lgarvey - I'm not sure what you were thinking of for stuff like additional pages - just flat html?? I guess we could use flask-flatpages https://pythonhosted.org/Flask-FlatPages/.. and put in a route that detects any pages not met by another route?? Or is there a better way for this??

— Reply to this email directly or view it on GitHub https://github.com/ACECentre/SpeechBubble/issues/10.

willwade commented 9 years ago

Cool - for now the files are at.. https://www.dropbox.com/sh/oejgv8p9ka9f457/AABn5WL01cu5pYlY4NlUWwSba?dl=0 not a lot in them just yet

Files have now been put in git. NB: Feel free to change folder title and location of course.

Need extensions:

FLATPAGES_MARKDOWN_EXTENSIONS = ['SmartyPants','nl2br','tables', 'footnotes']