Live data from Hacker News

Show HN: Bearclaw – tiny static site generator with RSS

github.com

11–20 of 25 posts

Re: Show HN: Bearclaw – tiny static site generator with RSS

#13

I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I spent a few hours playing around with a bunch of different options, Hexo seemed to come the closest to something I could fire up and just drop my existing markdown in (though it did blow up on a youtube embedded player I had in one post). Bearclaw does look super simple to get going, but seemed to be missi…

https://github.com/piranha/gostatic & https://github.com/getzola/zola are two other single binary alternatives.

Re: Show HN: Bearclaw – tiny static site generator with RSS

#15

I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I spent a few hours playing around with a bunch of different options, Hexo seemed to come the closest to something I could fire up and just drop my existing markdown in (though it did blow up on a youtube embedded player I had in one post). Bearclaw does look super simple to get going, but seemed to be missi…

> I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it.

I know you weren't asking for solutions but I'm surprised to hear this. That should not only be trivial but is something that ships by default when you init your site. For example this should be enough on your list page:

    
      {{ range .Pages }}
        
          {{ .Title }}
        
      {{ end }}
    

Re: Show HN: Bearclaw – tiny static site generator with RSS

#17
post #16

I'm definitely going to have a look at this. I was just comparing hugo, soupalt, jekyll and zola for a tiny geocities-ish blog site, and will add that to the list. I do feel rather old when I see 3 megabytes described as tiny, though ;)

You should add Astro to the list, there's no JS sent to the browser at all until you specifically add JS.

Re: Show HN: Bearclaw – tiny static site generator with RSS

#18
post #15

I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I spent a few hours playing around with a bunch of different options, Hexo seemed to come the closest to something I could fire up and just drop my existing markdown in (though it did blow up on a youtube embedded player I had in one post). Bearclaw does look super simple to get going, but seemed to be missi…

> I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I know you weren't asking for solutions but I'm surprised to hear this. That should not only be trivial but is something that ships by default when you init your site. For example this should be enough on your list page: {{ range .Pages }} {{ .Title }} {{ end }}

I took it to mean not a list of post _titles_, but a full output of posts on a single page (a la DaringFireball).

I tried to do the same not that long ago (was just starting to toy around with Hugo) and could not find an easy solution to it.

Re: Show HN: Bearclaw – tiny static site generator with RSS

#19
post #15

Earlier quoted context omitted.

> I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I know you weren't asking for solutions but I'm surprised to hear this. That should not only be trivial but is something that ships by default when you init your site. For example this should be enough on your list page: {{ range .Pages }} {{ .Title }} {{ end }}

I took it to mean not a list of post _titles_, but a full output of posts on a single page (a la DaringFireball). I tried to do the same not that long ago (was just starting to toy around with Hugo) and could not find an easy solution to it.

Wouldn't that be similar to the parent comment, but outputting `.Content` in the range loop?

Re: Show HN: Bearclaw – tiny static site generator with RSS

#20
post #15

I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I spent a few hours playing around with a bunch of different options, Hexo seemed to come the closest to something I could fire up and just drop my existing markdown in (though it did blow up on a youtube embedded player I had in one post). Bearclaw does look super simple to get going, but seemed to be missi…

> I got really frustrated with Hugo yesterday when I couldn't add a page with just a list of all my posts on it. I know you weren't asking for solutions but I'm surprised to hear this. That should not only be trivial but is something that ships by default when you init your site. For example this should be enough on your list page: {{ range .Pages }} {{ .Title }} {{ end }}

Thank you for the suggestion. When I was searching for solutions, I got a lot of snippets like yours, but I couldn't for the life of me figure out how to turn a snippet like that into a page on the site. The best I ever got was a markdown page that was a copy of the "about.md" page, but I couldn't get that to show anything but static content.

I created this 3-4 years ago, hacked on it some to get it where it is, which I tried not to be too crazy. But maybe I just munged it up somehow. Maybe I just need to start over again with the latest Hugo and get brained up. Hugo has nice documentation, but it fairly quickly goes from "put a few markdown pages here and run hugo" to "read the rest of the book". Which is probably just the nature of the beast.

Post reply on HN