perun

Discuss perun static site generator
sooheon 2017-02-02T05:19:13.000202Z

Hey how can I use the SMARTYPANTS plugin for pegdown from within perun? I tried (p/markdown :options “—smartypants”) but it seems to have no effect.

bhagany 2017-02-02T06:03:38.000203Z

Hi @sooheon - you can do it like this (p/markdown :options {:extensions {:smartypants true}})

sooheon 2017-02-02T06:03:50.000204Z

Thank you!

bhagany 2017-02-02T06:04:26.000205Z

np! You can see how the keys map to the extensions in this file: https://github.com/hashobject/perun/blob/master/src/io/perun/markdown.clj

sooheon 2017-02-02T06:05:02.000207Z

Thanks, I tried just searching for “smart” with github, didn’t get good results, I should’ve grepped in the actual repo.

bhagany 2017-02-02T06:05:54.000208Z

we have some work to do on the documentation as well, no worries

2017-02-02T17:11:36.000209Z

@bhagany Yes, our site is open source! I couldn't sent it to you yesterday, because of the Gitlab downtime. The site is http://200ok.ch and the repo is https://gitlab.com/200ok/200ok.gitlab.io

bhagany 2017-02-02T17:12:13.000211Z

excellent, I'll take a look!

2017-02-02T17:15:35.000212Z

Thanks a lot! We've been putting some effort into building a good template for a blogging site so far. Right now we're working hard on other projects, but we have the idea to release at some point in time a nice "perun starter template" with seo, tags and so forth. Because perun really struck us as the best ssg out there, however there's a lot of stuff that needs to be done by hand right now compared to others where there's a bigger eco-system. But I'm convinced (or have the good hope^^) this will change over time, because Perun really is awesome! Thank you very much for putting so much time and effort into it!

👍 1
2017-02-02T17:18:01.000213Z

@podviaznikov If you'd be open to it, you could record your talk yourself. I'm a lecturer at a Swiss university and am currently building a DIY lecture capture system in my spare time (in CLJ and CLJS, of course^^). You're free to use it if you want to: https://collecture.io

👍 1
podviaznikov 2017-02-03T22:52:12.000250Z

munen: Collecture looks really nice. Checked out your site and app on the app store

2017-02-04T10:19:53.000256Z

Thanks for the kind feedback. We have been working on that in our spare time to improve the state on how to give a lecture. We’ve been doing a successful private beta for the last semester and are now officially live since a couple of weeks. Feel free to use it any time - also for meetings or giving talks. There’s no ads or strings attached. The money will eventually come from universities that want to install Collecture on premise.

2017-02-04T10:20:54.000258Z

This is the first project where the full stack is in Clojure. Before I have only augmented existing code bases with either a CLJS front-end or written Back-End CLJ services. This time it’s Clojure all the way and it’s been a great choice.

bhagany 2017-02-02T17:18:21.000215Z

It's been a lot of fun! I'm interested to see what kinds of things you build on top of Perun, I'll definitely be following this project. I think it's likely that some of the ideas you have would be good candidates for inclusion in Perun itself. @podviaznikov is the final word on that though, so don't take that as a guarantee 🙂

bhagany 2017-02-02T17:19:09.000217Z

@munen On my first readthrough of your build.boot, I don't think there will be any breaking changes on the latest snapshot of Perun, but I'm going to run it myself when I have more time to make sure

bhagany 2017-02-02T17:19:40.000218Z

The only thing I'd change is that permalink and canonical-url are no longer necessary - resolution of those keys are automatic now.

2017-02-02T17:20:04.000219Z

Yes, I've been thinking the same, actually. When we are on a current version again and I have some time to continue working on the http://200ok.ch page, I might ask in this channel whether some pull requests would be welcome.

2017-02-02T17:21:21.000220Z

Next to the blog, we plan to build a template for solid landing pages. Since we're a software consultancy and also have some OSS projects, it would be nice to be able show show those easily on the page as well. I can only imagine that others would like to do the same^^

bhagany 2017-02-02T17:22:24.000221Z

Ah nice, that does sound useful

bhagany 2017-02-02T17:22:51.000222Z

Also, since you mentioned tags, there is now a tags task in Perun

2017-02-02T17:24:23.000223Z

Sweet! Building "categories" was quite easy in Perun, for "tags" I had the hope that it would just appear at some point. So big thanks to you guys!(;

bhagany 2017-02-02T17:24:48.000224Z

Glad to hear it will be useful 🙂

2017-02-02T17:30:35.000225Z

Since we're talking and I got you distracted. I actually do have a contribution*cough* that I would suggest to the maintainers of the Perun project. I would consider shutting down http://perun.io for as long as nobody has time (which I understand!) to build a beautiful landing page. Your Github repo actually looks professional, there's lots of commits, traction and just enough documentation. However, I first saw http://perun.io and was willing to strike Perun from the list of SSGs that we were evaluating. Only my business partner made me reconsider, because he actually read through your code and said that you're kinda building the same thing that he built (once upon a time) in Ruby and that your architecture is really sane. I do recognize this is really harsh feedback, because I do understand that somebody worked on http://perun.io and I do not want to be unfriendly. However, I want to give fair feedback and my impression is that http://perun.io right now might put off more people than it attracts. If you guys have a landing page, it should be in some sense "better" than the Github repo which already is very good - so it's tough to beat anyway^^

bhagany 2017-02-02T17:33:29.000226Z

Nah, that's good feedback. iirc I think @martinklepsch was working on a new site for Perun, and I have slowly been turning my attention to writing better documentation that could end up there as well.

bhagany 2017-02-02T17:33:56.000227Z

And for what it's worth, I agree that it should be more of a priority. And I have a bit of time 🙂

2017-02-02T17:34:04.000228Z

Well, forget it, then. If you are currently working on it, then it's a perfectly valid WIP page(;

👍 1
2017-02-02T18:56:06.000229Z

@bhagany Wow, opening an PR for upgrades on our site is incredibly nice of you! I'll definitively go over this MR in detail soon and merge it. Today I’m kinda stuck in correcting lectures of the university where I teach - hard deadline writing and adding numbers; exactly what I normally would like to use a computer for^^ Thank you very much - if we meet in person at some point, you're definitively on for a coffee or lunch!(; Are you by any chance going to Clojured in Berlin this month?

bhagany 2017-02-02T18:57:35.000230Z

I'm in no rush, take your time with the merge request 🙂

bhagany 2017-02-02T18:58:07.000231Z

I won't be at Clojured, unfortunately. Someday...

2017-02-02T19:00:04.000232Z

I’ll remember^^

2017-02-02T19:00:11.000233Z

Thanks again!

👍 1
podviaznikov 2017-02-02T23:01:51.000234Z

munen: I completely agree with your feedback on http://perun.io. It makes total sense. I really tried to do it but never finished, so agree that it’s better to remove the link for now. 👍