osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Web framework for static pages


I was hoping to avoid testing a lot of different systems, spending time
there.

So that's why I'm asking here.

I don't need a guide to create a website, maybe a refresher on some topics.

Ideally I'd want a static site generator that makes it easy and quick to
create a website which is pretty, accessible, works across browsers and
standards compliant and doesn't freeze the browser on a low-end phone.

And where it is easy to override using for example plain or template HTML,
or extend programmatic features using some plugins or just subclassing.

Do you know of a XML DTD for HTML5 by the way?

-Morten

Blogging at http://blogologue.com
Tweeting at https://twitter.com/blogologue
On Instagram https://instagram.com/morphexx

tir. 13. aug. 2019, 11.39 skrev DL Neil <PythonList at danceswithmice.info>:

> On 13/08/19 10:01 AM, Morten W. Petersen wrote:
> > On 12.08.2019 18:13, Brian Oney wrote:
> >> On August 12, 2019 9:14:55 AM GMT+02:00, morphex <morphex at gmail.com>
> >> wrote:
> >>> Hi.
> >>> What frameworks are there for generating static web pages in Python?
> >> I have used:
> >> https://github.com/Frozen-Flask/Frozen-Flask
> >> It's pretty simple. Develop with flask and then "freeze" it.
> >>
> >> I am looking forward to further answers.
> >
> > OK, so now I know Flask can freeze applications. With Zope and Plone, I
> > have a lot of what I need in terms of web application development.
> >
> > What I guess I'm looking for, is something that will help create a
> > static website, in a simple and efficient manner.  Without being bloated.
>
> Which have you examined and rejected/like?
>
>
> > I don't have a lot of hair on my head, but I would be pulling it out
> > because of some of the websites I see today, their heavy-handed use of
> > different Javascript frameworks etc.
>
> True!
>
>
> > How would I go about creating a simple website with a front page, an
> > about page, a product page and a contact page?  Without any server-side
> > handling of data, so it could be entirely served by for example Apache.
>
> There are a thousand and one web-sites and training courses which
> discuss these topics!
>
>
> > And with it having well-formed XHTML, proper CSS, little Javascript,
> > scaling to different screen and web browsers (wow, it's been so long I
> > forgot it was called responsive design) and so on, being a nice little
> > package.
>
> Don't even think about XHTML. HTML5!
>
> Yes, "responsive".
>
>
> As said, there's plenty 'out there'. Today's InBox included reference to
>   <<<pelican
> Static site generator that supports Markdown and reST syntax. Powered by
> Python.>>>
> https://github.com/getpelican
>
> It seems they make good use of a number of Python features, which will
> presumably reduce learning-time for Pythonista!
> --
> Regards =dn
> --
> https://mail.python.org/mailman/listinfo/python-list
>