Live data from Hacker News

Montag - python static site generator v0.01

github.com

11–20 of 20 posts

Re: Montag - python static site generator v0.01

#11

Earlier quoted context omitted.

Templer looks like something I could understand - I am not a programmer. Suppose I had a tree of html snippets built up over time, and I added a new snippet and then issued the templer command. Would the html files of unchanged snippets have been 'touched'? Would 'assets' be re-copied? I use lftp to selectively upload pages and their associated assets to a remote server. I'm attempting to find something better than t…

I'm pleased that it seems understandable. Templer has two modes of operation: 1. Files are processed/copied from beneath the input tree to the output tree. 2. Files are worked on "in-place". In the latter case only files that need to be rebuilt are ever touched/modified/updated. The same applies with the "input/ -> output/" mode of operation, but there is the caveat that I expect people run "make clean", or similar,…

"...if you just re-ran it every now and again only the things that had changed, or were missing, would be updated."

Exactly the behaviour I was hoping for. I've 'cloned' your repository and will proceed to play. Thanks for making this generally available.

Re: Montag - python static site generator v0.01

#12

Earlier quoted context omitted.

I'm pleased that it seems understandable. Templer has two modes of operation: 1. Files are processed/copied from beneath the input tree to the output tree. 2. Files are worked on "in-place". In the latter case only files that need to be rebuilt are ever touched/modified/updated. The same applies with the "input/ -> output/" mode of operation, but there is the caveat that I expect people run "make clean", or similar,…

" ...if you just re-ran it every now and again only the things that had changed, or were missing, would be updated. " Exactly the behaviour I was hoping for. I've 'cloned' your repository and will proceed to play. Thanks for making this generally available.

As per the other link there are a lot of these systems out there, each with different pros and cons. If you spot bugs or have suggestion please do drop me a mail/raise an issue.

Re: Montag - python static site generator v0.01

#16
post #6

Everybody and their uncle (including me) has written their own static site generator too, I don't understand why this is on HN?

Have to agree - especially as my static site generator is now clearly not going to do SEO, content marketing etc for me and I am heading back off to running a WSGI server

Re: Montag - python static site generator v0.01

#17
post #6

Everybody and their uncle (including me) has written their own static site generator too, I don't understand why this is on HN?

Have to agree - especially as my static site generator is now clearly not going to do SEO, content marketing etc for me and I am heading back off to running a WSGI server

Isn't OP's "static site generator" run on a WSGI server?

Re: Montag - python static site generator v0.01

#20

Earlier quoted context omitted.

Have to agree - especially as my static site generator is now clearly not going to do SEO, content marketing etc for me and I am heading back off to running a WSGI server

Isn't OP's "static site generator" run on a WSGI server?

Not sure - I meant a dynamic server.
Post reply on HN