text stringlengths 0 1.17k |
|---|
[2222.28 --> 2229.56] an example is if we were to rewrite if jekyll 2.0 were up on getup pages um i would take the all the |
[2229.56 --> 2236.76] docs pages that we have for jekyll at the moment in site docs and i would move them into a collection |
[2236.76 --> 2241.80] called docs they would probably exist the same way that they do right now but they would exist within |
[2241.80 --> 2249.32] this site.docs collection this would allow me to iterate over them if if there were maybe two pages |
[2249.32 --> 2254.68] that i wanted to have on the same output page so two or two documents that i want to have this on the |
[2254.68 --> 2261.00] same page or if i wanted to list all the pages in like a site map um then i don't have to say okay |
[2261.00 --> 2269.88] site.pages like four four page and site.pages in liquid um and i explicitly remove all of the css pages |
[2269.88 --> 2276.76] or then you know index.html pages that aren't docs i have this one subset of the site in this underscore |
[2276.76 --> 2284.52] docs folder that i can i can iterate over that i can output that i can etc um as its own entity |
[2284.52 --> 2290.52] so i guess you can think of collections as a subset of the content of a of a site in a way |
[2290.52 --> 2295.88] and this is just one of the many changes and also i guess it's probably smart to drop a caveat in there |
[2295.88 --> 2302.38] that uh the collections is kind of unstable it's in it's it's out there but it's not finalized it may |
[2302.38 --> 2308.72] change right right um and the other thing that we that we did or the major major feature was yaml |
[2308.72 --> 2313.54] front matter defaults so if you kept writing that you wanted the layout to be article or layout to be post |
[2313.54 --> 2319.92] um in all of your posts or all of your pages in a specific uh subdirectory now all that you have |
[2319.92 --> 2326.54] to do is add a few lines to your your configuration file and you have layout post set for all of the |
[2326.54 --> 2331.46] posts or pages that you specify um right now yaml front matter defaults don't work with collections |
[2331.46 --> 2338.30] which is a bummer um but we're we're working on getting it for the 2.1 release which should happen soon |
[2338.30 --> 2347.26] so i'm trying to think of where we can go where we can go next i know i got a couple of things on my |
[2347.26 --> 2350.10] my list that i want to mention but um |
[2350.10 --> 2358.76] i guess maybe i don't exactly struggle to to really i mean i guess maybe to some degree i do |
[2358.76 --> 2363.44] but you know what's the sweet spot for jekyll you mentioned earlier with cornell working there and how |
[2363.44 --> 2368.16] you had this list of requirements and jekyll was perfect but that was way back you know several |
[2368.16 --> 2374.32] years ago at least it seems to be um you know what is the sweet spot for jekyll i know we talked a |
[2374.32 --> 2378.40] little bit about documentation but for those who are listening out there that aren't using jekyll |
[2378.40 --> 2385.42] what would make them want to use it why should they use jekyll like it's not a cms it's not a blog |
[2385.42 --> 2392.92] it's evolved right right i would say for two for two reasons i always stick with jekyll the first |
[2392.92 --> 2399.94] reason is that i can use git i can use my lovely version control system um to version my content |
[2399.94 --> 2405.74] not just the theme or whatever that i have um but i can version my content which is amazing i can submit |
[2405.74 --> 2411.88] a pull request for my content um and that's that's hugely powerful um the second reason i'd say is |
[2411.88 --> 2417.70] because it's a static site generator and this is true of any static site generator um the sweet spot |
[2417.70 --> 2424.16] is really in page load time um there have been a couple people who run um jekyll sites on their own |
[2424.16 --> 2432.56] servers maybe like a t1 small or something um on on aws and they never their server never goes down |
[2432.56 --> 2438.20] whereas if you have wordpress you run into problems with memory or you run into problems with the database |
[2438.20 --> 2442.90] load being too high and so your database just cancels connections um or you can't connect to |
[2442.90 --> 2448.18] it when the when someone loads your site so by stripping all of this out and just having an html |
[2448.18 --> 2453.68] file that nginx or apache says oh here's your static file here like here's the content that you need |
[2453.68 --> 2462.62] amazing um it it reduces any problems you would have with scalability to a ridiculous degree so i know |
[2462.62 --> 2469.44] i'm kind of uh hopping on one of those things you mentioned there because the changelog is actually |
[2469.44 --> 2475.66] a wordpress site and we're on digital ocean we have a pretty beefy server at digital ocean so we like |
[2475.66 --> 2480.88] it i mean it's it's great but for a bit there we had issues with our site toppling over and getting |
[2480.88 --> 2487.00] database connect connection issues because basically mysql would uh you know bubble up to the point where |
[2487.00 --> 2490.72] it would take all the memory and then apache couldn't run anymore so it couldn't connect to mysql |
[2490.72 --> 2498.28] or something to that degree it was just a mess and essentially we kind of did uh essentially what |
[2498.28 --> 2503.42] i would probably consider a reversal right we kind of did what would eventually just become cached files |
[2503.42 --> 2509.76] right but you know we used uh wp cache to to cache all of our files which essentially is exactly what |
[2509.76 --> 2514.66] jekyll helps you produce in the first place which is a static site essentially take this dynamic site |
[2514.66 --> 2521.88] and make it static based on cache times and you know um time stamps and stuff like that so it's |
[2521.88 --> 2527.90] that's the one that i can actually really kick myself in the butt for but at the same time i love a lot of |
[2527.90 --> 2533.26] what wordpress gives but you know i never really um moved over to jekyll because of like multi-author |
[2533.26 --> 2537.66] support and stuff like that what do you say to people when they talk about multi-authoring and just |
[2537.66 --> 2546.60] i guess publishing tools that make the job a little easier so one thing that i've i followed intensely |
[2546.60 --> 2551.24] and actually that i think ben originally told me about was prose and i'm sure you've heard of this |
[2551.24 --> 2557.94] but prose is sort of the the silver bullet um or is intended to be at least the silver bullet |
[2557.94 --> 2564.56] um publisher for jekyll sites online i've seen this yeah you you connect to your your github account |
[2564.56 --> 2571.22] you go to a um repository that you have a site and you make edits and you commit them and it's |
[2571.22 --> 2577.92] great um unfortunately sort of development on prose has slowed down significantly as it's not being used |
[2577.92 --> 2585.92] as much by the development seed team um these these amazing guys down in um down in dc were the ones who |
[2585.92 --> 2589.92] originally created it i think they were the ones who originally created the landing page for health |
[2589.92 --> 2597.04] healthcare.gov using jekyll um and so they've created what they of replacement basically for this |
[2597.04 --> 2602.24] for the authoring tools that that wordpress gives you so one of the things that i've always loved about |
[2602.24 --> 2607.98] wordpress is that it's super simple to go in and make a change and then you know you click you hit save |
[2607.98 --> 2614.72] it puts it in the database and you're done um what prose aims to do is is emulate that process but for |
[2614.72 --> 2620.02] jekyll sites using version control um so when you instead of hitting save you hit commit um instead |
[2620.02 --> 2627.04] of of you know going to a specific instead of going to your site slash wp-admin you go to |
[2627.04 --> 2635.00] prose.io slash you know your your site uh repo slash the path and then you edit it commit it you're done |
[2635.00 --> 2641.56] you said it's is it uh slowing down on development right now is that what you said at the moment it's |
[2641.56 --> 2645.74] it's not really it's under active development but it's it's a little bit slow at the moment |
[2645.74 --> 2650.48] um and that's just because it's there's no immediate pressure um if there's anyone who's |
[2650.48 --> 2657.42] really interested in in um you know having it continue can you continue to uh to be developed |
[2657.42 --> 2663.06] um and to to see it grow i'm sure that the development seed guys would be interested in hearing |
[2663.06 --> 2667.76] from you um it's all in javascript and it all runs on github pages with the exception of |
[2667.76 --> 2674.54] something called gatekeeper which is the um heroku app that does all of the oauth with github |
[2674.54 --> 2680.54] we'll have to either get them on the show or or uh find a way to i guess put some light on that i |
[2680.54 --> 2684.94] mean that's i'm glad you mentioned that because it's it's under development but maybe they're just |
[2684.94 --> 2689.60] are they just not feeling like oh it's really needed because it's not being used by a lot of |
[2689.60 --> 2695.00] people is that the is that the concern now it's being used by by a pretty good chunk of people but |
[2695.00 --> 2700.00] it's it's because it doesn't they they originally developed it so that they could write healthcare.gov |
[2700.00 --> 2706.16] right in a way you know the majority of healthcare.gov the content based uh piece of healthcare.gov |
[2706.16 --> 2709.46] the things that don't need to be dynamic basically the marketplace for example would have to be dynamic |
[2709.46 --> 2715.04] but um you know just you know faqs and that sort of thing don't have to be dynamic so they originally |
[2715.04 --> 2722.56] wrote it so that anyone um could could have this wonderful interface for changing files um and so |
[2722.56 --> 2727.28] people aren't using it as much and the development is slow because they aren't using it anymore |
[2727.28 --> 2733.98] yeah i feel like i almost feel like there's i know you're in school and you've got a busy life |
[2733.98 --> 2738.92] and maybe this isn't you know the only thing you wanted to do in your development career but i kind of |
[2738.92 --> 2744.02] feel like maybe you might inherit uh not so much another project but at least kind of bring that into |
[2744.02 --> 2749.76] the fold so to speak because it's so closely aligned with um you know this publishing way for |
[2749.76 --> 2754.06] jekyll that makes it a little easier because one of the concerns that i think we tend to have is |
[2754.06 --> 2759.22] it's okay for us as developers to like you know use git and push via the command line we're very |
[2759.22 --> 2763.28] comfortable with those kinds of things but it's when we start to invite our business analysts and |
[2763.28 --> 2767.98] other people that are not always so fluent with it who may just want to go in make the change like |
[2767.98 --> 2773.88] you said and click save they want that experience they don't want to you know have a certain ruby |
[2773.88 --> 2778.64] installed or you know do i use rvm should i use how do i version my you know how should i use my ruby |
[2778.64 --> 2782.74] and then you start to bring all these questions into somebody like forget it uh can we just use |
[2782.74 --> 2787.66] wordpress uh wordpress works or you know that might be an example of the conversation you might have so |
[2787.66 --> 2792.64] i feel like there's an opportunity here maybe to to bring that into the fold and make it part of your |
[2792.64 --> 2800.02] your uh your work with jekyll and github pages absolutely um and i you know we need a couple a couple |
[2800.02 --> 2805.38] more things for example previews um for a pull request i've always wanted for github pages to build |
[2805.38 --> 2812.90] pull requests if you can build a pull request then you can see the resulting site um on github servers |
[2812.90 --> 2818.08] immediately you don't have to wait um or you don't have to clone it down and deal with ruby installation |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.