Live data from Hacker News

Static Website Generators

netlify.com

121–130 of 241 posts

Re: Static Website Generators

#121
Also, do you know any SSG which allow me to have a really complete home page like http://demo.tagdiv.com/newspaper/ , where I can clearly display separated category with last articles by category, and with a thumbnail automatically attached to the post ?

Sort of a "magazine theme" or a "newspaper theme" for a SSG.

Re: Static Website Generators

#122

Also, do you know any SSG which allow me to have a really complete home page like http://demo.tagdiv.com/newspaper/ , where I can clearly display separated category with last articles by category, and with a thumbnail automatically attached to the post ? Sort of a "magazine theme" or a "newspaper theme" for a SSG.

I'm not sure exactly what you mean, mainly because I think all the SSGs can do it. I tried Lektor recently, and I don't see why you shouldn't be able to do exactly this. It's not even hard (unless I'm missing something).

EDIT: Maybe what I'm missing is that other SSGs are very opinionated, while Lektor is not.

Re: Static Website Generators

#123
post #104
post #93

The main problem for me is that the absolute majority of them target blogs and if you try to adapt them for a more complicated website you gonna dive very deep inside the code or continue constant search. Now I look at hugo as it seems to be a more general-purpose tool that allows to play with structure and content types.

You should try Lektor ( https://www.getlektor.com/ ). It has a flexible data structure with little assumption about the final product.

I used lektor for http://portfolio.stavros.io/ and it was very easy to make what I wanted. I kind of assumed Jekyll and everything else would be like that too, are they not?

Re: Static Website Generators

#124
post #25

Sort of related and shameless plug but I'm building a "comments as a service" application that isn't disqus. My first target market is static sites. Check it out here: http://www.remarkbox.com

Also sort of a related, shameless plug-- I've been working on Formingo ( https://www.formingo.co ), a form processing service for static sites so you can receive your form submissions directly to your email without the need for server side code or your own backend. I've actually had a couple people ask me about comment systems that were an alternative to (and more simple than) Disqus, so it's cool to see someone work…

Your API is exactly what I would expect to see from such a service. Your pricing is also exactly what I would expect to see, so props.

I only need a POST endpoint that will accept a few parameters and redirect back to my success page, and I will definitely keep your service in mind for that.

Although, how do you keep everyone from sending spam from you?

Re: Static Website Generators

#125

I have been eyeing Lektor[1] for a little while, it seems to have good documentation, and an interesting, opinionated dev behind it. 1: https://www.getlektor.com/

The problem with Lektor is that it looks semi-abandoned, even though it's pretty young. Last I looked, the repo has a bunch of PRs that have gone unreplied-to for months.

Re: Static Website Generators

#126

Is there some way to use a static site generator with a flat file database utilising standard CRUD functionality? To me, using a static site generator and handing off database to another service like firebase or other sas, although works really well and has many benefits is still an external dependency I would rather live without. It also somewhat defeats the point of using a statit site gen for my use case anyway. T…

I used Lektor and that's what it does, and, AFAIK, it's also what all other SSGs do (Jekyll/Hugo/Pelican/etc).

Re: Static Website Generators

#127

What are people using for hosting? I've thought about using github pages, but css ended up being severely limited.

GitLab Pages https://pages.gitlab.io/ it also supports private repos and nearly every static site generator through gitlab ci

I'd like to second Gitlab Pages, I'm using it with Lektor for http://portfolio.stavros.io/ and it's been fantastic so far.

Re: Static Website Generators

#128

The main question for me is comments. I don't want to use something like Disqus, and to require something like Discourse would cancel the whole point of having a static site generator that I can host on Github Pages or Gitlab pages. Ideally, what I would like to do is to have an hackernews post automatically generated for each post, and to redirect people to the HN post if they want to comment, but I am not sure that…

That would be absolutely awful. Imagine if every site did that. Would this be a site you would want to visit?

Maybe what you want to do is have a link that sends you to the HN submission page with the fields pre-populated. That wouldn't be so bad.

Re: Static Website Generators

#129

The main question for me is comments. I don't want to use something like Disqus, and to require something like Discourse would cancel the whole point of having a static site generator that I can host on Github Pages or Gitlab pages. Ideally, what I would like to do is to have an hackernews post automatically generated for each post, and to redirect people to the HN post if they want to comment, but I am not sure that…

There are ways to implement that kind of thing in a relatively straightforward manner. It does, however, require some kind of non-static element in the site if you want comments embedded in the site or page.

Most SSGs have some kind of plugin system (both Pelican and Lektor certainly do) that would allow you do something like what you want with the HN integration you're considering.

Alternatively, you could use something like Isso (https://github.com/posativ/isso), Kaiju (https://github.com/spf13/kaiju), or Hashover (https://github.com/jacobwb/hashover). I don't use any of these, so I can't really tell you how good they are, but they're options, and far from the only options.

Re: Static Website Generators

#130

The main question for me is comments. I don't want to use something like Disqus, and to require something like Discourse would cancel the whole point of having a static site generator that I can host on Github Pages or Gitlab pages. Ideally, what I would like to do is to have an hackernews post automatically generated for each post, and to redirect people to the HN post if they want to comment, but I am not sure that…

That would be absolutely awful. Imagine if every site did that. Would this be a site you would want to visit? Maybe what you want to do is have a link that sends you to the HN submission page with the fields pre-populated. That wouldn't be so bad.

And then, when your site sees a HN post for the article, have it replace the submission link by a link to the discussion.
Post reply on HN