Live data from Hacker News

Ivy: a minimalist static site generator in Python

github.com

31–40 of 58 posts

Re: Ivy: a minimalist static site generator in Python

#32

Ivy looks great. That said, every time I see a new SSG in Python, I get all excited about it for a minute. Then I remember this bit of advice: "Just use Jekyll". > Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details. > ... > If, like me, you secretly believe that everything is better if it’s written in Pytho…

It can be difficult to extend/modify the SSG in case you don't know the language. So I would still recommend picking one based on the language you're most at home with.

Re: Ivy: a minimalist static site generator in Python

#33

Ivy looks great. That said, every time I see a new SSG in Python, I get all excited about it for a minute. Then I remember this bit of advice: "Just use Jekyll". > Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details. > ... > If, like me, you secretly believe that everything is better if it’s written in Pytho…

I think Hugo is popular enough these days for that argument to apply to it. It's far easier to get up and running, too.

Thanks, I'll take another look at it.

Re: Ivy: a minimalist static site generator in Python

#34

Ivy looks great. That said, every time I see a new SSG in Python, I get all excited about it for a minute. Then I remember this bit of advice: "Just use Jekyll". > Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details. > ... > If, like me, you secretly believe that everything is better if it’s written in Pytho…

OK - Serious questions for things I've done in Pelican:

1. Can I get Jekyll to use Org files without writing any Ruby code?

2. Can I get Jekyll to handle math using MathJax without writing any Ruby code?

3. Can I get a "next article for a given tag" in Jekyll without writing any Ruby code? (What I essentially need: A post usually has "next" and "previous" article links. I want a "next" and "previous" article for every tag the post is tagged with).

Not at home so I can't see what other custom code/plugins I use, but this is a good list to begin with.

Re: Ivy: a minimalist static site generator in Python

#35
post #17

Poor name choice: https://ant.apache.org/ivy/ https://github.com/robpike/ivy

Apache Ivy has been effectively a dead project for years; I'm fine with letting someone else have a turn using the name.

https://github.com/apache/ant-ivy/commits/master doesn't look very dead to me.

Re: Ivy: a minimalist static site generator in Python

#36
post #19

Earlier quoted context omitted.

They put the interview in a table? Ewww. :(

Tables are good for tabular data. I'd argue that it's potentially arguable that this may actually be tabular data. Either way, now that you mentioned it, I don't know whether my knee-jerk reaction would have been that it's good or bad, or if I'd even notice it at all, heh.

It's pretty hard to argue a chat transcript as tabular data.

    
      Sam
      Knock, Knock.
      Eric
      Who's there?
      Sam
      Justin.
      Eric
      Justin who?
      Sam
      Justin time for dinner!
    
http://html5doctor.com/a-little-more-conversation-with-dialo...

Re: Ivy: a minimalist static site generator in Python

#37

Ivy looks great. That said, every time I see a new SSG in Python, I get all excited about it for a minute. Then I remember this bit of advice: "Just use Jekyll". > Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details. > ... > If, like me, you secretly believe that everything is better if it’s written in Pytho…

It's a little funny that the major caveat written in the linked post is the unqualified terribleness of Jekyll's template engine if the benefit of Jekyll is that you only need to work with templates and not Ruby code

Re: Ivy: a minimalist static site generator in Python

#38
post #34

Ivy looks great. That said, every time I see a new SSG in Python, I get all excited about it for a minute. Then I remember this bit of advice: "Just use Jekyll". > Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details. > ... > If, like me, you secretly believe that everything is better if it’s written in Pytho…

OK - Serious questions for things I've done in Pelican: 1. Can I get Jekyll to use Org files without writing any Ruby code? 2. Can I get Jekyll to handle math using MathJax without writing any Ruby code? 3. Can I get a "next article for a given tag" in Jekyll without writing any Ruby code? (What I essentially need: A post usually has "next" and "previous" article links. I want a "next" and "previous" article for ever…

I'm a very novice user, so I don't know the answer to your (1) or (3). I'm fairly certain that I've done (2) though. IIRC the main trick was switching to the Kramdown parser, as recommended here: https://jekyllrb.com/docs/extras/

See also this StackOverflow question: https://stackoverflow.com/questions/10987992/using-mathjax-w...

Re: Ivy: a minimalist static site generator in Python

#39
post #26

Try Hugo if you do not care about the language it's written in. It has a pretty vibrant community. https://gohugo.io/

We use Hugo for our site's blog and we really appreciate the speed of compilation and the overall simplicity [1]. That said, it can be frustrating that it's not really possible to add or modify markdown extensions. If you want to do something as simple as adding some custom classes to tables and rows then you're pretty much out of luck. The closest that you can get is to switch out the renderer for mmark and use inline attributes, but that's still extremely limited. We often end up writing HTML in the templates when I would much rather be able to extend the renderer. I understand that this is a trade-off and that there are benefits to each side, but I wish that I understood the limitations better before deciding to go with Hugo.

On the other hand, python-markdown is an extremely well-designed library and it's an absolute joy to hack on and extend. Once upon a time, I used it to throw together an API documentation renderer for Mono class library documentation on a now dead product [2]. Overall, I enjoyed that a lot more than my experience with Hugo and I will probably use something python based for my next static site.

[1] - https://intoli.com/blog/

[2] - http://gaming.intoli.com/docs/api/

Re: Ivy: a minimalist static site generator in Python

#40
post #34

Ivy looks great. That said, every time I see a new SSG in Python, I get all excited about it for a minute. Then I remember this bit of advice: "Just use Jekyll". > Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details. > ... > If, like me, you secretly believe that everything is better if it’s written in Pytho…

OK - Serious questions for things I've done in Pelican: 1. Can I get Jekyll to use Org files without writing any Ruby code? 2. Can I get Jekyll to handle math using MathJax without writing any Ruby code? 3. Can I get a "next article for a given tag" in Jekyll without writing any Ruby code? (What I essentially need: A post usually has "next" and "previous" article links. I want a "next" and "previous" article for ever…

I believe you can do 3, but it would take a non trivial amount of work to do so.
Post reply on HN