robb,
@robb@social.lol avatar

📊 Added a blog stats page to my site with fancy little per-year GitHub-style graphs to show when I posted https://rknight.me/blog/stats/

robb,
@robb@social.lol avatar

Follow up to this, I made my post graph into an plugin.

Blog post: Eleventy Post Graph Plugin https://rknight.me/eleventy-post-graph-plugin/

Docs: https://postgraph.rknight.me

tylersticka,
@tylersticka@social.lol avatar

@robb How fun!

cory,
@cory@social.lol avatar
robb,
@robb@social.lol avatar

@cory I saw this and though "I wonder what happened in March 2020....oh”

cory,
@cory@social.lol avatar

@robb oh wow, I didn’t even notice that but well wow that makes sense 🫣

pimoore,

deleted_by_author

  • Loading...
  • robb,
    @robb@social.lol avatar
    zachleat,
    @zachleat@zachleat.com avatar

    @robb it’s beautiful

    robb,
    @robb@social.lol avatar

    @zachleat 🙏

    rob,
    @rob@hyem.tech avatar

    @robb well now I need to find an excuse to use this!

    robb,
    @robb@social.lol avatar

    @rob do it!

    robb, (edited )
    @robb@social.lol avatar

    Fixed an issue with the plugin where it would render weirdly if used on a markdown page. Version 1.02 fixes this https://www.npmjs.com/package/@rknightuk/eleventy-plugin-post-graph

    simoncox,
    @simoncox@seocommunity.social avatar

    @robb Ah - thats explains something! i might give it another go. It's great but reminds me I don't write enough!

    robb,
    @robb@social.lol avatar

    @simoncox Yeah the issue is Eleventy will insert paragraphs in any line breaks in my plugin code, which messes up the layout.

    Hopefully should all be working in that scenario now.

    robb,
    @robb@social.lol avatar

    Added a limit option to v1.0.4 so you can show only X number of years https://postgraph.rknight.me

    caleb,

    @robb I haven’t shipped it yet but you inspired me to build this for my Rails site. It was fun!

    robb,
    @robb@social.lol avatar

    @caleb Amazing, can't wait to see it!

    caleb,

    @robb Here it is! Please excuse that I 100% stole your intro paragraphs. https://calebhearth.com/statistics

    robb,
    @robb@social.lol avatar

    @caleb I love it!

    rich,

    @robb this is awesome. I had to fork and amend just a smidge, to make the years and months optionally hyperlinked. Waaaay better than my previous /archives page! Thanks!

    may,
    @may@social.lol avatar

    @robb this is great idea I would like to have something like this for Hugo . 👍

    jamesdoc,

    @robb Thank you for the prompt for this one. I've had a tinkering day today, and explored implementing this myself– I didn't go via post-stats plugin in the end, instead a couple of filters seems to do the job.

    I wonder if this will encourage me to write more?

    robb,
    @robb@social.lol avatar

    @jamesdoc 🙌

    jason,
    @jason@social.lol avatar

    @robb Oh! I want this!

    maique,
    @maique@social.lol avatar

    @robb This is seriously cool!

    keenan,
    @keenan@social.lol avatar

    @robb THIS IS WHAT I AM TALKING ABOUT

    WEBSITES ARE SO FUCKING COOL

    robb,
    @robb@social.lol avatar

    @keenan What a nice day you're having today

    keenan,
    @keenan@social.lol avatar

    @robb I think this is the most British you've ever been at me

    robb,
    @robb@social.lol avatar

    @keenan do a little listicle of all the nice websites you found so I can look at them all

    keenan,
    @keenan@social.lol avatar

    @robb It's like you are inside my head.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines