Latest Perspectives Poetry Programming Critters Gallery Merch Cloud Bookshelf About
  • *inner monologue* CSS variables are new to me … I wonder what browser support looks like for these variables … (*checks caniuse.com*) … well color me f$&king shocked.

    9:30 AM, Nov 20, 2021
  • Blows my mind that to this day the Internet Explorer team at Microsoft still insists on their browser being the suck. How many decades has it been now since that upstart rascal from Netscape founded Mozilla and started giving superior browsers away for free?

    9:02 AM, Nov 20, 2021
  • .@[email protected] Playing with the framework that brought Sass to my attention ages ago this morning. Created a plugin that builds the framework from its source scss files. Something to play around with, perhaps: plugin-bootstrap. Imma play around with incorporating it into my theme directly. Tons of functions and capabilities provided by the Sass and Javascript files.

    8:41 AM, Nov 20, 2021
  • You're killing me with this @manton

    5:42 PM, Nov 19, 2021
  • Enjoy this screenshot while I try to figure out why the f$&k the bottom 'more' HTML comments get through while the top f$&king comments are getting ganked.

    6:19 PM, Nov 16, 2021
  • Turns out a Hugo shortcode that injects `

    ` is more useful than simply including it directly.

    6:07 PM, Nov 16, 2021
  • .@pimoore The other advantage of utilizing Sass would be that theme and plugin creators could make it super easy to custom the appearance of their offerings via proper utilization of Sass variables. I've lumped all of my theme's style sh$te into one big file at the moment as I whittle away at it until it is properly Sassified (since debugging can be a bit of a b$tch … the most I get out of @manton at the moment is the number of errors that happened to be logged) and you might get a sense of how Sass variables and partials can be leveraged by having a look at it (and this is without even touching the functions, mixins, interpolation, etc.):

    Read More

    5:05 PM, Nov 16, 2021
  • Updated the category cloud README for the latest version: moondeer.blog/2021/10/2...

    2:28 PM, Nov 15, 2021
  • plugin-category-cloud got sh$t tons cooler today. The README still needs updating, however.

    5:11 PM, Nov 14, 2021
  • For the Micro.blog-heads, once I'm done pushing the boundaries of what a plugin can do, I'll start taking requests. You can see what all I'm playing around with here

    5:18 PM, Nov 13, 2021
  • Updated the lightbox plugin's README with the whole dynamically generated Javascript spiel: moondeer.blog/2021/10/3...

    1:09 PM, Nov 13, 2021
  • .@mantion … So, parameterizing the plugin-lightbox options (via data files, see this post) totally worked. lightbox.js is now a template file that gets built along with the rest of the site. The walls of possibility for Micro.blog plugins just expanded outward by a sh$t ton.

    10:26 AM, Nov 13, 2021
  • Now I get to reduce the sh$te out of those stylesheets by introducing variables, partials, and mixins. woot.

    5:14 PM, Nov 12, 2021
  • Boom, @manton, and just like that … all my custom theme's stylesheets are now built from Sass files located in the theme's assets/sass directory.

    5:11 PM, Nov 12, 2021
  • And I've just figured out how to get Micro.blog's Hugo flavor to process Sass files.

    4:27 PM, Nov 12, 2021
  • plugin-structured-data (A README Experience)

    A plugin for Micro.blog that injects structured data for blog posts via a JSON-LD script tag. This is what search engines use to decorate their results. Confirmation that the structured data is accessible can be had by using Google’s rich results test. It's code lives here.

    Read More

    2:59 PM, Nov 12, 2021
  • Feeding Data to My Plugins

    A guide to navigating the non-obvious nature of the process for providing the data my plugins want … and that you want to give them.

    Read More

    10:02 AM, Nov 11, 2021
  • Today's random rabbit hole was finally cracking the creation of custom file formats under the Micro.blog flavor of the Hugo templating engine. Ended up updating plugin-favicon.

    6:09 PM, Nov 10, 2021
  • Updated this one: plugin-favicons

    12:28 PM, Nov 9, 2021
  • All that time fussing with aliases, turns out you can just straight up set the category page's URL in the front matter:

    ---
    title: "Perspectives"
    description: "Essays off the beaten path, mostly political in nature at the moment."
    url: /perspectives/
    menu:
      main:
        name: "Perspectives"
        title: "Perspectives"
        identifier: "perspectives"
        url: "/perspectives/"
        weight: 10
    ---
    
    *Essays off the beaten path.*
    
    6:22 PM, Nov 8, 2021
  • Recreated @manton's Conversation.js output. Not sure why yet.

    <div id="conversation-output"></div>
    <script type="text/javascript">
    
    fetch('https://micro.blog/conversation.js?url={{ .Permalink }}&format=jsonfeed')
      .then(response => response.json())
      .then(data => {
        loadResponse(data);
      });
      
      function loadResponse(response) {
        let output = document.getElementById("conversation-output");
        if (response.title == "Conversation") {      
          let posts = response.items.map(entry => loadEntry(entry));
          posts.forEach(post => output.appendChild(post));
        } else {
          output.remove();
        }
      }
      
      function loadEntry(entry) {
        let date = new Date(entry.date_published);
        let post = document.createElement("DIV");
        post.setAttribute("class", "microblog_post");
        post.innerHTML = `
      <div class="microblog_user">
        <img class="microblog_avatar" src="${entry.author.avatar}" width="20" height="20" style="max-width: 20px;" />
        <span class="microblog_fullname">${entry.author.name}</span>
      </div>
      <div class="microblog_text">${entry.content_html}</div>
      <div class="microblog_time">
        <a href="${entry.url}>${date.toDateString()}</a>
      </div>`;
       return post
      }
    
    </script>
    
    3:17 PM, Nov 8, 2021
  • plugin-favicons (A README Experience)

    Favicon A plugin for Micro.blog that injects favicon meta into the page <head>. Its code lives here.

    Read More

    7:00 PM, Nov 7, 2021
  • Extracted favicons into a plugin, but I'll wait until I've done the README to reveal since there are a few steps (copying and pasting mostly) that I'll need to walk y'all through.

    12:43 PM, Nov 7, 2021
  • If y'all Micro.blog-types ever get curious about all this plugin horsesh$t I've been posting about, feel free to drop on by moondeer.blog. The only reason I write any of them is to use them:

    11:08 AM, Nov 6, 2021
  • And now I've factored out my social media links into plugin-social-media-links. This might just be OCD.

    5:14 PM, Nov 5, 2021
Newer Posts714Older Posts
  • RSS
  • JSON Feed
  • Email
An IndieWeb Webring
© 2025 Moondeer Studios. All rights reserved.